Outlook does not archive messages based on their received date

A colleague of mine was complaining that his Outlook 2010 (auto)archive option does not work. He showed me that he wanted to archive all emails received before for example 01/11/2011 (dd/mm/yyyy). And, really all those emails that met the criteria, had received date older than 01/11/2011, were still sitting in his mailbox. But, that's the way how outlook works by default :)
Outlook determines how old are the messages by using one of the following, whichever is later:
  • Sent date and time
  • Received date and time
  • Modified date and time
Hmmm, modified date and time ... After adding the modified column on his view, all those messages that had met the criteria by received date, had modified date 04/08/2012 (dd/mm/yyyy), and that's why they were still sitting in mailbox. This kind of Outlook behavior can be changed. There is a registry key (dword) ArchiveIgnoreLastModifiedTime = 1 . This key should be created for:
  • Outlook 2010 in HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Preferences
  • Outlook 2013 in HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Preferences
Outlook 2010 requires hotfix 2516474, for changing the default archiving behavior.

More about default Outlook archiving behavior and how to change it on following Microsoft KBs: http://support.microsoft.com/kb/295657 and http://support.microsoft.com/kb/2553550 .

Installing VMware vSphere Client 4 on Windows 8

My colleague was trying to install VMware vSphere Client 4 on his Windows 8 x64 workstation, but without success. The setup was failing with following error message :


Windows 8 is above Windows XP SP 2, right ? :) Anyway, changing the compatibility setting of the setup VMware-viclient-all-4.1.0-258902-v4.1.exe to Windows XP SP2 or Windows XP SP3, didn't fix the problem, the setup was failing again.
VMware-viclient-all-4.1.0-258902-v4.1.exe is self extracting archive, so I've extracted the archive to a folder. Extracted folder contains bin and redist subfolders. In bin subfolder there is VMware-viclient.exe setup. Running this setup using compatibility settings was without success, setup was failing with same error message.
In order to extract the .msi from setup, I ran :
vmware-viclient.exe /a /s /v" /qn TARGETDIR=C:\viclient"
In the viclient folder there was VMware vSphere Client 4.1.msi. I have adjusted the compatibility mode to be for "Previous version of Windows". The VMware vSphere Client 4.1.msi was failing again, but with another type of error message complaining about J# redistributable package. The Windows 8 x64 was missing J# redistributable package. Redistributable package of J# can be obtained from Microsoft http://www.microsoft.com/en-us/download/details.aspx?id=15468 or from previously extracted folder redist. After installation of J# redistributable package, the VMware vSphere Client 4.1.msi setup has completed successfully.

How to check EMBG (Unique Master Citizen Number) using regex

In this post, I will share my implementation of how to check if some number looks like EMBG or Unique Master Citizen Number. For those of yo...