Friday, February 25, 2011

How to remove Service Pack 1 backup files from Windows 7

After a successful installation of Windows 7 SP1 you may want to save disk space deleting the backup files created by SP1 installer. After that you cannot uninstall SP1 from your computer.
From an elevated command prompt enter this command:
dism.exe /online /Cleanup-Image /spsuperseded
For more info read the Deployment Guide for Windows Server 2008 R2 with SP1 and Windows 7 with SP1

Saturday, February 19, 2011

How to enable RAS tracing in Windows 7

Open an elevated command prompt
To enable RAS logging, run the command "netsh ras diagnostics set rastracing * enabled"
To enable RAS logging, run the command "netsh ras diagnostics set rastracing * disabled"
The trace logs are created and available at %windir%\tracing folder
RAS Error codes are listed at http://support.microsoft.com/kb/q163111

Sunday, February 6, 2011