I’ve had enough pain with this problem, which seems not to be that uncommon, to try and ease it for anyone else who has it.
- Windows Vista runs extremely slowly upon login, with the CPU running at close to 100%
- Task manager won’t start: if you try running it the green task icon will appear but no main window
- If you try to shut down, the computer will hang while trying to log off
- If you use Process Explorer to see what’s happening, you find that an instance of svchost.exe is responsible for the CPU load. If you look at the services it is hosting, they will include Windows Audio Services, DHCP and, key here, Event Log. The instance of svchost may also be associated with something called audiodg.exe (which is part of the Windows Audio setup). Killing the process stops the CPU load, but breaks a lot of other things as well (like networking, which is dependant on some of those services).
It seems that many people have experienced similar problems, and many solutions have been targeted at the audio services. I tried all of these with no luck. Eventually I narrowed the problem down to the Event Log service and found this which is for Windows Server 2008 but works for Vista too. The problem was some corrupted event logs that were causing the Event Log service to throw a woopsy every time it was started.
SolutionHere’s what worked for me:
- Kill the offending process using Process Explorer to give you control of the system
- Disable the “Windows Event Log” service (Control Panel - Administrative Tools - Services)
- Reboot - this should work fine, but you may notice that all network functionality is lost
- Browse to %systemroot%\system32\winevt\logs and move/delete all the *.evtx files that were modified around the time the problem started
- Set the Event Log service back to back to Automatic, and reboot
Of course, the more permanent solution is to steer well clear of Vista (or, some might say, Windows altogether).