Photo Sharing feature in Live Messenger: Kill it dead
With Wave 3 of Windows Live Messenger, Microsoft introduced a new feature – Photo Sharing. This feature, when an image file is dropped into an active conversation window, starts a sharing activity allowing you to share photos with family and friends. Fun right?
The feature sucks though, because…
- It’s not clear the person you’re chatting with can see the image.
- The sender already knows what the image looks like (i.e. why do I want to see again, enlarged on my screen?)
- The not-downloaded, downloading, and downloaded (gray, semi-gray, and colored respectfully) progress indicator is too subtle for Mom and Dad users.
- The feature engulfs the entire window, making image-related chat impossible.
With Paul Thurrott and I working on the Windows 7 Secrets book, sending images to each other is a common (yet nightmare) task. To mitigate the issue, we simply turned to Live Mesh (or the occasional zip file) for transfer. Fed up with this solution, I sat down late Friday evening and starting peeling back the layers of Messenger.

Using Bryant Zadegan (AeroXperience) as my guinea pig (thanks a lot!), I dragged images into the window, over and over, until I figured out where within Messenger image-detection code is executed (details below). With a simple one-byte change, my hellish nightmare was over. Whoo hoo!
For those interested in the technical details, check out the function at msnmsgr.exe+1FF651. It checks a passed in filename for an extension of .tiff, .tif, .png, .gif, .jpg, and .jpeg, and also makes a call to a function exported by uxcore.dll named ?IsValidImageFile@@YG_NPB_W@Z (which is simply the mangled form of bool __stdcall IsValidImageFile(wchar_t const *)).
… and for those interested in implementing this fix yourself, open msnmsgr.exe with a hex editor (like XVI32), go to offset 16392F, and replace the conditional jump byte 74 with unconditional jump byte EB. If the bytes differ, ensure you’re using the latest (at time of writing) build of Windows Live Messenger (14.0.8064.206).
I contacted the author of popular utility A-Patch and recommended inclusion into their application. I tried to ping the MessPatch folks but they don’t have an obvious way to contact them.
Happy chatting!
Update: It has been brought to my attention by reader ‘Cuppa’ that Messenger Plus! supports overriding this behavior too. It’s unclear if it supports files other than JPG (as documented) but if you’re a user -- give it a shot. I’m not a fan of installing software for a quick tweak.

hexahax’d it out. :) Much better.
Thanks Raf.
Good work, the Photo Sharing ‘feature’ might well be the worst thing about WLM9 (WLM14? WLM2009?).
Messenger Plus! Live has offered the ability to disable Photo Sharing as of version 4.81 (released about a month ago), but currently only through a registry key (set HKCU\Software\Patchou\Messenger Plus! Live\email@address.com\Preferences\OverrideImgTransfer to ‘1′ – see http://www.msgplus.net/help/registry/).
Personally, I’ve never had any issues with this new photo sharing feature. I find it much better than the older one. Because
1. Both participants can share photos at the same time and discuss about them.
2. It starts loading without the need to accept the transfer.
3. You don’t have to save the image just to see it.
Thanks a LOT.
I was waiting for something like this since using live 9.
Couldn’t agree more! The feature is very unreliable and blind (doesn’t give any hint of what’s happening to the receipient and the sender!) I tried changing the extension of a JPG to PJG but still the horrible behavior persists. So I had to ZIP it up and then tried to send but then again I can’t send ZIPs because they’re “potentially dangerous” so I had to rename it to PIZ. All for a tiny image. Next time, I’ll upload it to rapidshare. No next time I’ll use your method. You’re a genius, dude! Keep doing the corrections to Microsoft-ware. Similarly, can you hack-enable another irritation in Messenger 2009? You can’t adjust your audio/video/webcam settings while you’re in a call and you cannot initiate your contact’s webcam.
@WindowsBloatMessenger: For video, have you tried Skype? It’s so much better…
I personally like it to annoy the guy I am chatting with xD In other words: good “fix”!
Cheers Raf, Been Wanting To Get Rid of That Thing For Ages :P
@Rafael: I just tried copying a PNG file with the Messenger Plus! Live override enabled, and Photo Sharing made an unpleasant appearance. It looks like the MP!L fix is only for JPG files. I’ve now taken advantage of your method, thanks a lot.
It would be a great feature, if it worked…
Thanks for the great tip.
It’s great to know that it’s not just me that gets annoyed by this abysmal ‘feature’. I really don’t understand how any of the messenger guys thought this was a good idea.
Messenger/Microsoft guys PLEASE let there be an option to turn this thing off… It’s completely stopped me from sending images over messenger.
Tim
Hi,
I have any isses with this patch .
CRC error and my messenger version is the last one.
i tried to edit the exe but the offset 16392F does not exist .
does anyone have a idea??
thanks
@Fred, are you sure your editing the right file? “msnmsgr.exe”, in \Windows Live\Messenger\.
The offset 16392F is around 40-45% down in the file.
I run the patch and now I dont have photo sharing but I’m not able to drag and drop pictures
@Rob, yes it’s the right file but i’m running a french version of live messenger . maybe it’s a reason????
i jump of offset 163917 to offset 16394A.
Fred: Not sure what your problem is, 16392F does indeed lie in between those two numbers. I suggest you avoid trying to hex edit if you don’t understand what you are doing. Or at least make a backup of the file first.
@Fred, check the image linked to below, it shows you what you should change, and what to.
http://images.milestone-1.co.uk/d7e7282ff933a08d83e26c45f885818f.jpg
I’d like to point out if you have A-patch installed it will go to an error as it seems A-patch removes that line. What I did is first use the photo sharing patch, and then reinstalled A-patch and it seems to work. So that may be something you’d want to add. Hopefully this helps anyone having that issue. :)
You sir, are my savior.
I hate that “feature” SO much. That and the nonstandard window captions (but I fixed that one already ;-) and forced usage of ClearType.
[...] 微软在 Windows Live Messenger 2009 中新增了照片分享 PhotoShare 功能,一旦将图片拖放或者复制/粘贴至 Messenger 的聊天窗口,便会自动启动照片分享功能。该功能并不受 Rafael 的欢迎,当他在与 Paul Thurrott 撰写《Windows 7 Secrets》一书时,为了避免 Messenger 的照片分享功能,转而使用 Live Mesh(或者 Zip 打包)传输图片。 问题就在于照片分享功能是无法关闭的,尽管不得不承认这功能是挺有用,也可保存原图,但并不是所有人都喜欢,Rafael 还列出了该功能的四点糟糕之处。 [...]
AMAZING. Thank you SO much for helping me get rid of the most annoying feature on MSN at the moment.
@Cuppa (and Rafael): The feature in Messenger Plus! to override PhotoSharing works in a completely different way. The type of image (JPG or PNG or whatever) does not matter; it works with any type of image data! The difference is that Messenger Plus!, at least for now, will only override PhotoSharing if you _paste_ image data into the chat window, eg: from a screenshot in memory. In other words: it detects what is on the _clipboard_. It does not override PhotoSharing if you drop a file from your harddisk into the conversation, it only works when you _paste_ image data.
In regards to copy/pasting image data: this is/was actually a not well known feature in Windows Live Messenger since a very very long time; you could make a screenshot for example and paste it directly into a conversation by using CTRL+V. Messenger would automatically make a JPG file out of it and automatically send it. Most people however use a third party graphic editor to make the screenshot, save it to a file and then send that file; but that is really not needed.
;-)
DEPOIS DE TANTAS TENTATIVAS VOCES FORAM OS QUE NAIS ME RECEBERAM BEM E AGRADEÇO POR ISSO. ESPERO ME DIVERTIR MUITO COM OS SEUS EMOTIONS, ENFIM É SÓ.
Thanks Rob Jackson for the picture I was kinda lost in those numbers lol
I have the same problem with fred CDC Erorr. What can I do for this?
Edit: CRC Problem
[...] Rafael @ WithinWindows] Written by Rob Jackson in: Codings!, Windows [...]
For Swedish Windows Live Messenger, look at this picture:
http : // img15. imageshack . us/img15 /9567 /nophotosharingsvmsnmsgr . jpg
Awesome, glad to have that out of my msn.
Thanks!
I am running a Japanese version of the program and it still worked like a charm. The executable seems to be the same for several languages.
Thanks for the awesome tip and I seond the request to include this with Messpatch and A-Patch! :)
Thanks a lot – really helpful tip (and thanks for the heads up on xvi32 as well)
[...] Photo Sharing feature in Live Messenger: Kill it dead – Within Windows [...]
Genius! Thank you!
[...] 问题就在于 Windows Live Messenger 的照片分享功能是无法关闭的,尽管不得不承认这功能是挺有用的,也可保存原图,但并不是所有人都喜欢这样的方式,比如:Rafael 还列出了该功能的四点糟糕之处。 [...]
Not bad at all! Only works if both users have patched their .exe…
Suggestion: when this version talks to an older version, it reverts to the old way of sending images… There must be another switch in there somewhere. I wish I was smart enough to do it.
Nice work!
After a few monkey wrenches, the thing works. Words cannot describe how amazing this fix is. Thank you from the bottom of my heart.
It’s WORKING.. This is so nice, been looking for something like this for long. Photosharing is the worst thing they ever implemented.
Hmmz, I changed the 74 to EB at the correct location, but when I run the exe now I get an error: ‘C:\Program Files (x86)\Windows Live\Messneger\msnsgr.exe is not a valid Win32 application.’. All I did was open the exe in XVI32, go to that location, select the 74, type in EB, File -> Save, and that’s it. Anything I did wrong?
Make sure the location is correct. Make sure the version is correct. Failing that, redownload and reinstall MSN messenger and try again. Or backup next time. Someone’s comment had a useful screenshot that helped, I suggest you check it out.
I’m positive about the version and location.
I have no idea what the conditional to unconditional jump byte part means tho.
All I did was go to location 16392F and change the value 74 to EB.
Oh, and I did make a backup of course, I’m not that stupid :P
Ok, I just tried again and now it works, although I’m sure I did the exact same thing like the previous 3 times >_<
Anyways: Thanks for this fix, I was about to go mad cuz of the annoying sharing xD
my version of messenger doesn’t show such numbers ??
here is a link to what i see…
http://i298.photobucket.com/albums/mm262/chris_e100/screeny004.jpg
help ? :(
Ah.. forget it..
How embaressing.. i didn’t scroll down..
uh.. i cant’ seem to locate 16392F…
is there a way to “Find” this offset ?
Sorry to bother..
OK.
Fixed atlast – for some reason.. when maximised it showed different numbers.. i have no idea what i was doing.. so AGAIN .. sorry for the multiple messages.. but all is fixed !! CHEERS!
Great solution,
You were the first to have found how to disable this feature.
THanks
[...] source:http://www.withinwindows.com/2009/04/18/photo-sharing-feature-in-live-messenger-kill-it-dead/ [...]
I hate this feature too. Thanks for the discovery. But the other person has to do it too to this thing work?
I have lost drag and drop also… i have to copy the file and then paste it into the convo :(
Hi,
I hate this new feature – its even worse if you are a graphic designer and need to send proofs to clients. The jpg blurriness is horrible, and doesn’t scale. Plus lots of clients don’t even know how to use the new download feature. If you send to your client as a pdf at least now they don’t complain.
But thanks for the fix…
Robert
[...] by Dale on Jun.02, 2009, under General This has annoyed me since it was introduced so I was glad when I accidently stumbled on a fix today. This fix changes the image detection when you drag an image into messenger so that it thinks it’s a normal file and ignores photo sharing. It only takes a few seconds to do and if you hate the file sharing rubbish it’s well worth doing. See the tutorial here: http://www.withinwindows.com/2009/04/18/photo-sharing-feature-in-live-messenger-kill-it-dead/ [...]
If someone has trouble finding 16392F, find 16391F and change the value from 74 to EB. I just tried and it worked.
Thank you.
I think I understood. This hack is for when we send the file, not when we receive. But what about tmoney said? Is that true? Drag and drop is lost?
Hello,
When I try to run the patch I’ve got a CRC Error… I’m using WLM v. 14.0.8064.206 is it compatible ?
Thanks
Hummm ignore my last message, I managed to do the fix myself. Very easy to do ! Thx a lot !!
You posted this back in april and I didn’t even know and ive been wanting to do this lol I fail
Ok i cant get this to work.
I did exactly what i was supposed to do.
16392F is not there.
I got 16392A as the closest to F.
When i change the 74 to EB and click save, then i get an error saying:
Error Writing
msnmsgr.exe
Error 32: File sharing
Am i doing something wrong or what is going on?
I followed Rob Jacksons picture guide, and im at the exact same location as his picture with the 16392A.
April 18, 2009 at 5:31 pm
@Fred, check the image linked to below, it shows you what you should change, and what to.
http://images.milestone-1.co.uk/d7e7282ff933a08d83e26c45f885818f.jpg
I hope anyone can help me since i whould love to kill that photo sharing crap :)
Error Writing
msnmsgr.exe
Error 32: File sharing violation.
forgot to write violation :)
Unbelievable!!!! You deserve the nobel prize for this!!!
Thanks a million, amazing :-))))))))
Thanks a lot men! I truely HATE the new function! This helped a lot.
Hi there, I’ve been searching this for a long, long time!
As of today, with no apparent reason, somehow my msn got the old behaviour, and received 1 .jpg file without the Picture Sharing feature… however.. the dream just flew over when I tried to confirm sending/receiving another photo…
Since then, I’ve been looking in the web and found your site!! But I could not make it work… saved the file just fine, and even erased the Prefetched .exe file…
I’m using Windows Seven, and the WLM build 14.0.8064.206.
The offset I changed was 16392F, but it did not work, Picture Sharing is still there.
Hope someone can give a help on this subject.. As the new Photo Sharing is horrible, making so hard to see pictures with big resolution, and to review by just going back on the history.
Thanks!!
@lost4ever: You forgot to close msn before trying to edit the executable ;)
Oh, I figured out why it did not work… the patched .exe went to the Virtual Folders… so I had to copy it back to the right place…
Everything works great now!!
Thank You SO MUCH!!! =D
I even made a codefusion patch for that, anyone can use if they are having trouble hexediting!
http://rapidshare.com/files/247466117/WLM-PhotoSharingPatch.rar
Enjoy!! =D
Thank dude. it works nice now.
thnx alot dude, works great!
Hello, i have the same issue as some people up there.
Simply can not locate none of the 2 mentioned offsets which i could change for msn, any idea how can i help this?
Works Great!
Woah, thanks, this made my day :D
with the plus for msn, there is an addon so its as easy as pressing a switch to turn it off
http://www.msgpluslive.es/scripts/view/529-Photo-Sharing-Disabler/
somebody knows how to disable when someone send you a picture, because, this works if we (people who make the fix) send the picture, but when we are who recive it, the SharePhoto gets open again… if someone know how please…
If someone can make a file for changing this, I would be very thankful.
I dont know how to use a hex editor, and this problem is making me look to other features like yahoo messenger.. please help…
I have even written several responsmessages to msn to tell them I really hate this, but it does not seems to work anyways :P
At least we should have the choise to drag and drop send or share…
I would be very happy for any help removing this feature.. ( glock @ glock (.) no )
I have tryed the msn plus feature, and it didnt work..
I use version 2009 (build 14.0.8064.206)
[...] fim das contas, acabei caindo neste blog, que mostrava como editar o arquivo executável do WLM e assim, finalmente, desativar a [...]
[...] Credit goes to : http://www.withinwindows.com/2009/04/18/photo-sharing-feature-in-live-messenger-kill-it-dead/ [...]
I actually got too tired of this feature so I made a MSN bot that would automatically accept all files and upload them to internets via ftp. It was a pretty solution :D
Looks like Ahmed has included this switch in the latest version of A-Patch: http://apatch.org/ (just updated for the latest QFE build)
@killua the sender must fix his messenger client too to disable it both ways. :)
The fix mentioned here is incompatible with the new build (14.0.8089.726), but the A-patch works great! :)
Thanks!! :D
For version 14.0.8089.726 you want to go to offset 164118.
I have a computer with version 14.0.8064.206 so what I did was search for the nearby bytes, i.e. after byte 16392F there are bytes “21 FF 75 FC”. I searched for those in the latest exe and they were indeed after a byte 74 which I changed to EB and was able to get rid of that awful photo sharing.
I have just done this, what david has done
but in the german version the adress is 164108.
thanks for you :)
Davids method confirmed on latest rev. of WLM.
Thank god! ….origunal author….and David :)
WORKS!!! PERFECT !!
i used this picture http://images.milestone-1.co.uk/d7e7282ff933a08d83e26c45f885818f.jpg
thanks!
What about WLM 2009 version 14.0.8089.726, localized to Spanish? Above does not work…
Kudos!
Works flawlessly.
A-Patch has patched the photosharing, so you can select to disable it :D
[...] http://www.withinwindows.com/2009/04/18/photo-sharing-feature-in-live-messenger-kill-it-dead/ [...]
The new file offset for Build 14.0.8089.726 has changed to -> 0×164118
function where this naughty little check moved to 0×564C2A
the conditional jump can be found at 564C2A + EE
change it into a relative jump as described above and this wonderful patch will work again :)
i’ve also made a small post about it on my blog http://www.cerb3ruz.com
Credit’s to this original poster ofc, well done :)
guys i’m italian and i’m sorry for my bad english…
pls can u post the complete procedure to make this patch working on 14.0.8089.726? pls post it in simple and not technical language so that everybody can solve this problem!
many thanks guy!!!
hoping for a quick reply!
People getting shot in the back of the head over a piece of pound cake! ,
i have a question. there is a form to desactivate the foto-sharing when i recive a photo ??? like if i have the old vesion, cheating the others Messengers?
wheres my ICQ??????? Dammit msn
Have you analyzed the origin of this behaviour in the new version 14.0.8089.726 and found a byte to patch it?
It would be really appreciated.
Brazilian version … offset 164112 at 14.0.8089.726
thanks!
@Marcell (November 17, 2009 at 10:04 pm)
I found your description working independently from language, I’ll try that one with my English version.
My version was different, but apparently, the feature really is included in APatch – how could I miss that.
Thanks for your research!
u guys are fucking stupid… just fucking drag the file onto the contact’s name in the messenger’s contact list. this will override the ‘photo-sharing’.
u guys are so fucking retarded….. especially the one who came with up the idea of changing offsets, extensions, renaming etc..
-gingyan
It is a good mod , but drag the file onto the contact’s name in the messenger’s contact list works too
to “Private Spearz”….
ah.,. NO. the original poster does NOT deserve a Nobel prize for this. you telling someone who invented the “Pull-out method” to prevent getting pregnant deserves a nobel prize, vs. the inventor of birth pills. See the difference?
god.. you americans needs to think outside the box for a moment or two..
Not everyone keeps their contact list open, jackass.
Thank you very much! Finallyyyyy disabled it!
gingyan,
ppl like me are not retards simply because we want to fix something, not just overcoming it (im not saying yours is a bad solution).
btw, i wanted to fix pasting images from the clipboard into chat boxes, which cannot be overcome your way.
peet
works!!!
http://i153.photobucket.com/albums/s237/darkprop/hex164118.gif
thanks! David
For latest version, 14.0.8089.726, the offset is 1FF2AF in the exe, same byte to replace (74 to EB)
for the lazy people:
http://thepiratebay.org/torrent/5285353
I HATE this feature. It wasn’t clear to my contacts at first that I could not grab these or down load them after they had so called “stopped sharing” They simply thought they were done posting pictures. Meanwhile I am trying to download them as the contact intended I should to share elsewhere. Contact signed off, and went to Thailand. I cannot capture the pictures to “share” with the rest of our family as intended but, there was NO indication while chatting that this “sharing” function would operate differently than the other one did.
So now I am stuck with an open window of lovely photos I can’t save or share with anyone. It SUCKS. No where do you get a warning saying “If you use this function the photos are not actually saved.” I have been reading around the net on this issue and I’m not the only one to be affected by it.
God! I hate this stupid thing. It’s a waste of time for both participants. Just share them the usual way or send elsewhere as a zip file if you have a lot to share. grrrrrrrrrrrrrrrrrrrr! Caused a HUGE hassle for me. Now it will be weeks and weeks before I can actually gain access to these photos again. FIE on you MSN. FIE I say!!
Hello,
Reading through all these posts there are SEVERAL people who have asked for a dumbed down, non-technical explanation of how to do this. I am one of them. I don’t understand how to use a hex editor either or what all this technical jargon is about in finding the right file or whatever once you open wlm in the hex editor. I don’t know what an “offset” is, I don’t know what an “unconditional jump byte” or “conditional jump byte” are, and with all this talk of problems because of the different versions of messenger how am I to know that what I am supposed to change is the right thing to change for my version of messenger? This all very complicated, but it is something I really would like to apply to messenger. I hate the drag and drop file sharing and want to restore the old feature of drag and drop file TRANSFER.
PLEASE it would be very much appreciated if the ORIGINAL poster of this solution would post SIMPLE, non-technical and easy-to-follow instructions on how to apply this solution.
With respect, I hope this will finally be addressed soon, as mentioned above, it seems I am not the only one waiting for easy instructions to follow.
http://apatch.org/ – So much easier! (Thanks to the person whom mentioned it earlier!!!)
For those who doesn´t know how to edit the Executable you can follow these steps
It isn´t that complicated to begin with… by editing the executable with the hex editor that the author published
You have to check your build version of msn by going into Help -> About Windows Live Messenger.
If it is the same as the author (14.0.8064.206) or is it (14.0.8089.726) you can proceed without problem
Then you download XVi32 and execute it, open the file msnmsgr.exe located by default at “C:\Program Files\Windows Live\Messenger”
You´ll see 3 boxes, the one in the left and the center is the one to watch out for…
From now on, if your version of msn is (14.0.8089.726) you have to look for the value of 16392F
1FF2AF (or 1FF2A9) and locate 74 in one of the columns, select it go to menu -> Edit String, select Hex String and type in EB, then click ok like this…
http://img171.imageshack.us/img171/1676/donelr.jpg
Once done save it and enjoy
If your version of Msn is older like (14.0.8064.206) then you´ll find the correct offset at 16392F then changing 74 for EB