Back up Encrypting File System (EFS) certificate

Posted on Jan 11, 2011

To back up your EFS certificate

  1. Open Certificate Manager by clicking the Start button Picture of the Start button Picture of the Start button, typing certmgr.msc into the Search box, and then pressing ENTER.‌
  2. Click the arrow next to the Personal folder to expand it.
  3. Click Certificates.
  4. Click the certificate that lists Encrypting File System under Intended Purposes. (You might need to scroll to the right to see this.)
    If there is more than one EFS certificate, you should back up all of them.
  5. Click the Action menu, point to All Tasks, and then click Export.
  6. In the Export wizard, click Next, click Yes, export the private key, and then click Next.
  7. Click Personal Information Exchange, and then click Next.
  8. Type the password you want to use, confirm it, and then click Next.
  9. The export process will create a file to store the certificate.
    Enter a name for the file and the location (include the whole path) or click Browse and navigate to the location, and then enter the file name.
  10. Click Finish.

Continue…

Uninstalling Visual Studio 2010

Posted on Jan 11, 2011

From MSDN: http://msdn.microsoft.com/en-us/library/e2h7fzkw%28VS.100%29.aspx#uninstalling

To uninstall Visual Studio 2010

To uninstall Visual Studio, download and run the Microsoft Visual Studio 2010 Uninstall Utility (or download from this page). By default, this removes Visual Studio and supporting components, but does not remove components that are shared with other applications on the computer. To also remove shared components, run the uninstall utility with the /full switch. To also remove the .NET Framework 4, use the netfx switch. Uninstalling shared components or .NET Framework 4 may break earlier versions of Visual Studio or other applications that depend on.

If you cannot uninstall Visual Studio by using the uninstall utility, you can perform a manual uninstall by removing Visual Studio and then removing related components.

Continue…

How to uninstall Visual Studio 2008

Posted on Jan 10, 2011

Step 1. Uninstalling Visual Studio 2008

Some article suggests doing Step 2 first which is described below, but the order does not matter, to my experience. You can uninstall VS2008 by using one of the following channels.

  • Add or Remove Programs (Windows Server 2003 and Windows XP) or Programs and Features (Windows Vista and Windows Server 2008)
  • Setup.exe in the VS2008 installation media

When you do this, however, you may receive the following error message:

A problem has been encountered while loading the setup components. Canceling setup.

This problem occurs when you install an update that adds a new Windows Installer feature to VS2008, as described in Microsoft Knowledge Base article 959417 . To resolve this problem, patch VS2008 with the latest service pack. Install something to uninstall… Irony, huh?

Continue…

Wubi fails to boot after upgrade

Posted on Dec 18, 2010

If Wubi fails to reboot after upgrade, try the following things.

If the system hangs at a grub prompt, then first try to replace the c:\wubildr file with the one in c:\ubuntu\winboot\wubildr (change ‘drive’ if necessary and backup c:\wubildr first as a precaution). It appears that in many cases the upgrade is corrupting the wubildr file.

If the system fails to boot, especially with an error message,
file not found ‘loadfont’
unknown command

, then boot with a live CD, loop mount the wubi root.disk, edit the grub.cfg and remove all lines above the first “menuentry”.

Preventing the grub packages from being updated can be a permanent solution for this problem. Lock the version of the packages, grub-pc and grub-common in Synaptic Package Manager.

Network Level Authentication for Remote Desktop Connection in Windows 7

Posted on Dec 17, 2010

When setting up Remote Desktop in Windows 7 (Win7), you can choose whether to use Network Level Authentication (NLA) or not. NLA will probably enhance the security of your Win7 machine. However, after enabling NLA, your Win7 will be accessible only from another Win7 or Windows Server 2008 which supports NLA in the operating system level. To connect Win7 from WinXP, you should choose “Allow connections from computers running any version of Remote Desktop (less secure)” in the “Remote Desktop” panel, or you can activate NLA in case you are using WinXP sp3. The details are posted here, but the essence of the how-to is like the following.

  1. Click Start, click Run, type regedit, and then press ENTER.
  2. In the navigation pane, locate and then click the following registry subkey:
  3. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\LsaIn the details pane, right-click Security Packages, and then click Modify.
  4. In the Value data box, type tspkg. Leave any data that is specific to other SSPs, and then click OK.
  5. In the navigation pane, locate and then click the following registry subkey:
  6. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProvidersIn the details pane, right-click SecurityProviders, and then click Modify.
  7. In the Value data box, type credssp.dll. Leave any data that is specific to other SSPs, and then click OK.
  8. Exit Registry Editor.
  9. Restart the computer.