Winmail in Windows 7 (Poppa Bear)

Back in 2009 'Poppa Bear' posted a very useful guide on how to get Winmail to work in Windows 7.
It worked for both 32 and 64 bit versions.
It was a fairly straightforward and elegant process. I set it out below. I have recently reformatted an old PC and wanted to reinstal Winmail (yes I know - but it did and does have its uses). problem is I've botched it by pasting "msoe.dll" into the x86 Program files AND the ordinary Program files, - exactly what you're told NOT to do.
Of course it doesn't work. In fact winmail.exe has disappeared altogether.
Is there a way of retrieving this self imposed disaster?
Dear Poppa Bear (or anyone else who knows the answer), if you're reading this, please help. I promise I shan't do it again. I should have left it to another day.
I have a Windows 7 Home Premium SP1 disk but not Vista,.

How to enable Windows Mail app in Windows 7
By
Poppa Bear
Nov 6, 2009
Post New Reply
Watch Topic
Page 1 of 212Next >
Top of Form
1. Windows Mail is a program file of Windows 7 but is inoperable. This post shows how to:

1. Make the Win7 Windows Mail program operate by importing Vista Windows Mail program files to Win7.

2. Edit the registry so email .eml type files from Windows Mail can be read after being saved to the desktop or a storage folder.
Warning:This tutorial is quite old and:
o Several of the links have become obsolete, so it is necessary to become member of the forum to use the files attached to this post.
o Some Windows 7 updates either stop WinMail working or they won't install.
o Being a hybrid app it won't perform all the operations of WinMail in Vista.

Please note:
o This procedure should work even with another email client installed. However, in some environments Windows Live Mail has caused conflicts, and had to be uninstalled.
o If you're using a 64 bit version of Win7: It will be necessary to import the 64bit Vista Windows Mail file "msoe.dll". And it must be pasted into the Windows Mail folder in the normal 64bit Program Files. Do NOT paste it into the 32bit Program Files(x86).

Footnote 3 - at bottom of page: Shows a picture of the location of Program Files & Program Files(x86)
How to Import Windows Mail files from Vista to Win7:
1. Download and run: "WinMailEdit" from attachments.
Warning: It is critical to do this before carrying out step (3).
2. Remove WinMail.exe attributes to show the hidden file "WinMail" in the Windows Mail folder.
o Open: Start Menu ==> All Programs ==> Accessories ==> Run.
o Type in the following command, exactly as shown, in the Run box, or better still, copy/paste it, and then click "OK":

attrib -s -h "%ProgramFiles%\Windows Mail\WinMail.exe"
Note: In some environements this run command will not work, and it will be necessary to manually make hidden files visible. See "Footnote 1" below.
3. Open the "Windows Mail" folder in Program files, and take full control of the file "msoe.dll".
o Download and run "Add Take Ownership" from attachments. It includes a 2nd file, "Remove Take Ownership", if needed.
o In Windows Mail folder ==> Right click: "msoe.dll" file ==> In drop down menu click: Take Ownership.


4. Download and save the appropriate Vista Windows Mail "msoe.dll" file from the attachments:
32bit msoe.dll file
64bit msoe.dll file
o Paste this file into the Windows Mail Folder in Win7 Program files, replacing the existing Win7 "msoe.dll"

*Note: If it will not allow the paste, take full control of the Win7 "msoe.dll" manually as per "Footnote 2" below, and then paste.
o Right click: WinMail.exe ==> Send to desktop as a shortcut.

*Note: If email .eml files still cannot be opened on the desktop, it may be necessary to manually edit the registry as per "Footnote 3".


5. To enable Windows Calendar in Windows Mail.
o Import Windows Calendar as per the following post here.
o Download and run "WinCalEdit.reg" from the attachments below.
Footnotes.
1. Manually show hidden files and folders.
Open any folder ==> Top Task ==> Click: Tools ==> Folder Option ==> View.
- Dot: Show hidden folders, files and drives.
- Untick: Hide empty drives... Hide extensions... Hide protected operating systems ==> Apply ==> OK.
Note: After finishing the above procedure, restore View options to default.
2. Manually take full control of files.
o Right click the file "msoe.dll" ==> Properties ==> Security Tab ==> Advanced ==> Owner Tab ==> Edit ==> Highlight User Name ==> Apply ==> OK ==> OK
o Under "Security Tab" click: Edit ==> Under "Group or user names", the first entry is highlighted. Under "Permissions for System", tick: "Full Control" ==> Apply ==> Do the same for every entry ==> OK ==> Close.

Note: If the option to edit the entries under "Group or user names" is grayed out, take the following steps:
o Under "Security" tab click: "Advanced" ==> "Change Permissions" ==> Untick: "Include inheritable permissions from this objects parents" ==> Click: "Add" in the pop-up window ==> Apply ==> OK. Then return to the security tab and edit to grant full control as shown above.


3. Manually edit the following registry key if it is installed.
o Start Menu ==> All Programs ==> Accessories ==> Run ==> Type: regedit ==> OK
o Go to: HKEY_CURRENT_USER ==> Software ==> Classes ==> eml_auto_file ==> shell ==> open ==> command
o Double click: Default in right pane ==> Value Data ==> Completely replace by copying and pasting the following:

"C:\Program Files\Windows Mail\winmail.exe" /eml:%1

4. Picture showing location of Program Files & Program Files(x86).
General Notes
o In some environments the regedit file "Add Take Ownership" may cause some programs to stop running properly. In this case, after finishing the above steps, run the regedit file: "Take Ownership Remove.reg".
o To set Windows Mail as default: If it is needed to do this, go to: Start ==> All Programs ==> Default Programs. Then highlight Windows Mail & set as default. If there is no option to do this, click here to download the regedit file "Windows Mail Reg" which may fix the problem; or refer to the following post here.
o To associate .eml email files with Windows Mail: If it is needed to do this, go to: Start ==> All Programs ==> Default Programs ==> Associate a file type or or protocol with a program. Then Highlight the .eml entry and go to the top right and click: Change Program/Search/Select: Windows Mail.
 
Solved.
Delete both Windows Mail folders on problem PC (after disabling TrustedInstaller); copy Windows Mail folders from both Program and Program(x86) locations on another Windows 7 machine on which Windows Mail is running, and paste them into the relevant locations.

Thanks to Oscar and Jacer
 
Back