Citrix – Open .MSG attachments with Outlook


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.

  1. Logon to Citrix server as Local and Citrix Administrator.
  2. Delete any entries in this registry location:

    HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionWindows Messaging SubsystemProfilesOutlook

  3. 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
  4. 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 
  5. 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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s