How to debug a BSODEdit

  • Install windbg:
  • File -> Symbol File Path
  • File -> Open Crash Dump
  • Useful commands:
!anaylze -v

How to force windows update to runEdit


wuauclt.exe /detectnow

How to clear saved credentials Edit


rundll32.exe keymgr.dll, KRShowKeyMgr

How to clear cached network connections (shared) Edit


net use
net use /delete \\<computer>\<sharename>

How to logon to Windows XP Automatically Edit

control userpasswords2

Uncheck the “Users must enter a username and password to use this computer” check box. Click Apply.

Enter the user name and password you wish to automatically log on with.

How to Redirect foldersEdit

Edit the entries here:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

Change thing to point to z: and export the reg file.

Put something like this in the logon script:

if not exist "z:\My Documents" mkdir "z:\My Documents"
regedit /s <regfile>.reg

Exporting SSL certificates in IISEdit

  • Start -> Run -> mmc
  • File -> Add/Remove Snap-in
  • Add Certificate Manager-> Computer Account -> Local Computer
  • Under Certificates (Local Computer) -> Personal -> Certificates, Find the Certificate you want to export
  • Right-click the certificate and choose All Tasks -> Export
  • When asked about the private key, choose 'Yes, export the private key'. Also make sure you enter a password otherswise you may have trouble importing the certificate later.

Importing SSL certificates in IISEdit

  • In IIS manager, right-click on the site and choose properties.
  • Under 'Directory Security' tab, choose Server Certificate.
  • Follow the wizard, and choose Import a certificate from a .pfx file'.
  • Select the pfx file you exported and tick the 'Mark cert as exportable' box.

How to enable the Desktop and Screensaver tabs in Display PropertiesEdit

Sometimes spyware will nuke these tabs and the AntiSpyware software won't reenable them.