Windows Diagnostics

From Littledamien Wiki
Jump to navigation Jump to search

Windows 7 freezing[edit]

Confirm that display drivers are up-to-date[edit]

Right click on the desktop and open the display control panel software & check for updates.

Verify hard drives[edit]

  • Start Menu > Computer
  • Select a hard drive > right click > Properties
  • Tools tab > Error-checking > Check now... button
    • The drive cannot be in use for the Automatically fix file system errors option to be selected.
    • Uncheck that option to get a report. If no errors are found then no action is required. Otherwise, re-run and the system can attempt to fix the errors after a reboot.

Check for corrupt system files[edit]

Running a shell as Administrator:

> sfc /scannow

Check for bad RAM[edit]

  • Start Menu > Run > Windows Memory Diagnostic
  • Restart now and check for problems

Check for corrupted file system[edit]

> chkdsk /r

Check for hanging drivers[edit]

Windows Performance Analyzer

With WPA installed, open a shell as Administrator

> xperf -start perf!GeneralProfiles.InBuffer && timeout -1 && xperf -stop perf!GeneralProfiles.InBuffer myTrace.etl
  • Hit Enter once to start the command.
  • Right after the system stops hanging, press Enter again.
  • After some time a log file MyTrace.etl will be produced.

Actually, that command won't work in Powershell. It creates a system trace that won't necessarily be all that easy to interpret.