If Microsoft Outlook is already installed in Citrix server and you want to set Outlook as default viewer for MSG files (saved e-mail from Outlook), read ahead.
As you know (by now), when you click .MSG file on Citrix server, it triggers Outlook to create a new profile. Here is the solution to use Outlook to read the MSG attachment and not trigger profile server ever.
- Logon to Citrix server as Local and Citrix Administrator.
- Delete any entries in this registry location:
HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionWindows Messaging SubsystemProfilesOutlook
- Create a batch file at C:Windows and name it “SetupOutlook.bat” with the following contents:
REG ADD "HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionWindows Messaging SubsystemProfilesOutlooka0d020000000000c000000000000046" /t REG_BINARY /v "00030393" /d 01000000 /f
REG ADD "HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionWindows Messaging SubsystemProfilesOutlooka0d020000000000c000000000000046" /t REG_BINARY /v "00030397" /d 04000000 /f
REG ADD "HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionWindows Messaging SubsystemProfilesOutlooka0d020000000000c000000000000046" /t REG_BINARY /v "00030399" /d 00000000 /f
REG ADD "HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionWindows Messaging SubsystemProfilesOutlooka0d020000000000c000000000000046" /t REG_BINARY /v "0003036f" /d 98c30100 /f
REG ADD "HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionWindows Messaging SubsystemProfilesOutlooka0d020000000000c000000000000046" /t REG_BINARY /v "001f0418" /d 0000 /f
REG ADD "HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionWindows Messaging SubsystemProfilesOutlooka0d020000000000c000000000000046" /t REG_BINARY /v "001f0419" /d 0000 /f
REG ADD "HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionWindows Messaging SubsystemProfilesOutlooka0d020000000000c000000000000046" /t REG_BINARY /v "001f041a" /d 0000 /f
REG ADD "HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionWindows Messaging SubsystemProfilesOutlooka0d020000000000c000000000000046" /t REG_BINARY /v "00400032" /d 204c78f5ba39c901 /f
REG ADD "HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionWindows Messaging SubsystemProfilesOutlooka0d020000000000c000000000000046" /t REG_BINARY /v "001f041c" /d 0000 /f - Open Regedit.exe and create a new string value (Reg_SZ) as “OutlookProfileSetup” at following location. Enter the value for this key as “C:WindowsSetupOutlook.bat” HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun
- Reboot the server.
Now logon to your published application or desktop in Citrix and try to open the MSG attachments. This worked for me perfectly.