How to Fix Svchost.exe Errors?

Have you ever come across svchost.exe errors while using your Windows XP Professional with a password that you set for the major account of the administrator? The options the error message permits you to click on are terminate the program, "OK" or "Cancel." This problem is caused when the Windows Update has run before the computer was switched off. Even booting up the computer in Safe Mode generates the same error and the Windows XP event log shows that the faulting program is in fact svchost.exe.

After some investigation into the SVCHOST error, it became clear that a corrupted Windows Update causes the problem.

Here are the steps on how to fix the SVCHOST.EXE error.

  1. Erase the Corrupted Windows Update Files
    • Place the cursor on the start menu and click on Run. At the open box, type CMD then hit the enter key. At the command prompt, type net stop WuAuServ and then press the enter key.
    • The type cd %windir% and hit the enter key.
    • In the opened folder, key in ren SoftwareDistribution SD_OLD and hit the enter key to rename SoftwareDistribution Folder.
    • Type net start WuAuServ to restart the Windows Update service.
    • Type exit and hit the enter key to close the command prompt.

  2. Check on the Windows Update Service Configurations
    • Place the cursor on the Start menu, and then click "Run." In the open box, type services.msc and then click on "OK."
    • Look for the "Automatic Updates" service and double click on that.
    • Click on the "Log On" tab and be sure to choose the "Local System Account" as the logon account. Check to see that the box for allowing service to interact with desktop is not checked.
    • Below the "Hardware Profile" portion in the "Log On" tab, check on the service and make sure that it is enabled.
    • Under the "General" tab, the startup type should be automatic. If it is not, click on the drop down box ad choose automatic.
    • On the "General" tab, click on the Service Status. The service should be started and then click on the Start button to enable it.
    • After that, repeat the steps that are written above.

  3. Re-Register Windows Update DLLs
    • Place the cursor on the Start menu, then click on "Run." In the open box, type CMD and click on "OK."
    • Inside the black command window, type REGSVR32 WUAPI.DLL and hit the enter key.
    • Wait until the DllRegisterServer in WUAPI.DLL succeeded message is displayed and then click on OK.
    • Repeat the last two steps for every following commands:

Windows and the Windows logo are trademarks of the Microsoft group of companies.
Microsoft is a registered trademark of Microsoft Corporation in the United States and/or other countries.