Copy PuTTY sessions to another computer

14 10 2008

Very straightforward to do.

1. From Run execute:

regedit /e "%userprofile%\desktop\putty-registry.reg" HKEY_CURRENT_USER\Software\Simontatham

2. Copy and open putty-registry.reg on the computer you want the saved sessions added to.

That’s it!



Disable mobsync.exe on Windows Vista

13 10 2008

What is it?

mobsync.exe belongs to Internet Explorer.  It synchronize offline web pages, and edited offline documents, calendars, and email messages.

Why disable it?

I found it to be CPU consuming and a non-essential, so disabling it was a necessity.

How do I disable it?

1. Disable Offline Files (Control Panel > Offline Files.

2. Open the Registry Editor (Run > regedit) and navigate to the following:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Publishers\{b44aec44-38f4-4b59-8 df3-10306abf19b2}

3. Change the Enabled key from ‘1′ to ‘0′.

4. Reboot.

That’s it!  mobsync.exe should no longer run again on startup.



How-to: Unable to cast object Microsoft VisualStudio TestTools UnitTesting TestConfiguration

2 07 2008

I was getting this error when running one of my unit tests:

Unit Test Adapter threw exception: The type initializer for ‘Microsoft.VisualStudio.TestTools.UnitTesting.TestConfiguration’ threw an exception.
Unable to cast object of type ‘Microsoft.VisualStudio.TestTools.UnitTesting.TestConfigurationSection’ to type ‘Microsoft.VisualStudio.TestTools.UnitTesting.TestConfigurationSection’.

The issue was due to a versioning problem in the .config file (I upgraded to VS 2008).  The section that you’ll want to change is Version=8.0.0.0 to Version=9.0.0.0:

<section name=”microsoft.visualstudio.testtools” type=”Microsoft.VisualStudio.TestTools.UnitTesting.TestConfigurationSection, Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=8.0.0.0, Culture=neutral, PublicKeyToken=…”/>

Hope this helps.



How-to: Outlprnt error when printing from Outlook 2007 calender

1 07 2008

I tried printing an Outlook 2007 calender entry memo style for a meeting, but received this error:

Unable to save the printer settings. Make sure the file C:\Document and Settings\username\Application Data\Microsoft\Outlook\Outlprint is not missing or write protected.

I found a KB article pointing to a solution: KB253966; however, I found that in my profile I had more than one Outlprint (i.e., Outlprint1, Outlprint2, Outlprint3) so all I did was rename one of them to Outlprint.  After that I had no problems printing.  So…Microsoft, fix this disgraceful, annoying bug!

Peace.  \m/



How-to: Uninstall PowerShell

30 06 2008

I’m posting this for archival purposes, as I had to figure it out myself…

Windows PowerShell doesn’t appear in Add/Remove Programs nor is there an uninstall shortcut in the Programs menu.  So the way to do it uninstall is to check the Show updates option in Add/Remove Programs.

Peace!  \m/