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.

SCOM 2007 (and R2) – Alert Severity and Priority Numbers


If you ever try to customize the SCOM alerts, you will come across what the number for Severity Critical or Warning.  Here the information that might help you.

Severity

Critical    –    2
Warning    –    1
Information   – 0

Priority

High    –    2
Medium    –    1

“550 5.7.1 Unable to relay for UserX@NewDomain.com” after you added an additional domain to receive emails in Exchange 2003 Server


When you want to receive emails with new domain name (Or additional domain name) on your Exchange 2003 platform you usually create a new recipient policy (see link here: Configuring Exchange to receive mail for multiple domains). I did that and mails were bounced from Internet with 550 5.7.1 Unable to relay for .. error message. Telnetting from Internet gets the same error message after “RCPT TO:UserX@NewDomain.com” command.

Here the kicker. Sending mails internally with new domain name (UserX@newDomain.com) worked beautifully.  Mail coming from Internet were not working.  After some research, I found IIS Meta data on the Exchange mail gateway or front end server weren’t updated with new domain name for strange reason.

To check this happened to you or not, follow the steps below.

  1. Download IIS 6 resource kit tool here: iis60rkt.exe
  2. Install this on the Exchange Front-end or Mail gateway server where you receive mails from Internet. Choose Custom install and select only Metabase Explorer version 1.6.
  3. After the installation, click ”Start”->”All Programs”->”IIS Resources”->”Metabase Explorer”->”Metabase Explorer”
  4. In the Metabase Explorer, Select “LM” and Expand the tree. Right-click ”LM” and select ”Export to file”. Export the key to a mbk file for backup purpose.
  5. Navigate to LMSmtpSvc1Domain. For a normal Exchange server, you should see the second domain name under this key. If you don’t have, you need to manually add one key for the second domain.
    • Right-click the key of primary SMTP domain, choose ”Copy”.
    • Then, right-click ”Domain” and choose ”Paste”.
    • In the key already exists box, select ”Copy to a new key” and input the second domain name in the box. Click ”OK” and then you will see a new key with the second SMTP domain name.
  6. Close Metabase Explorer. Click ”Start”->”Run”->Input ”IISReset”  and press Enter.

Hope this helps you. if it is, leave me a comment here.

Cursor Themes: Don’t be boring default cursor person


I always change my Windows themes, cursor themes, Wallpapers almost every week or even every day.

Here are some tips to get good looking and your own likable cursors.

1. Customize.org – Here you have to download the mouse cursors and change it yourself at Control Panel –> Mouse –> Pointers.

2. CursorFX – You have to download a free cursor theme program and download themes at WinCustomize.com

ss_CDII_cursors

Enjoy.

Unlocking file or folder: “Cannot delete Folder: It is being used by another person or program”


How many times you get this error message when you try to delete or move a folder or file?

example

OR you may get one of the following error messages depending on the OS flavors.

  • Cannot delete file: Access is denied
  • There has been a sharing violation.
  • The source or destination file may be in use.
  • The file is in use by another program or user.
  • Make sure the disk is not full or write-protected and that the file is not currently in use.

No worries. There is a freeware program that can unlock the folder or file, so you can move on with your life other un-important things.

Head over to Unlocker

Unlocking file or folder: “Cannot delete Folder: It is being used by another person or program”


How many times you get this error message when you try to delete or move a folder or file?

example

OR you may get one of the following error messages depending on the OS flavors.

  • Cannot delete file: Access is denied
  • There has been a sharing violation.
  • The source or destination file may be in use.
  • The file is in use by another program or user.
  • Make sure the disk is not full or write-protected and that the file is not currently in use.

No worries. There is a freeware program that can unlock the folder or file, so you can move on with your life other un-important things.

Head over to Unlocker

Windows Server 2003: Remotely enable RDP feature (or Reenable)


Time to time we have a situation to troubleshoot a server which is not RDP enabled. Damn those sys admins who don’t follow the server build standard within the company.

There are ways to edit the registry remotely to enable the RDP feature.  I came across the free tool which does the job without fuss. Try it yourself at here: RDP Enable Utility