Fix an issue where Windows Update can't run

Page updated :


Windows XP, Windows Server 2003, Windows Server 2003 R2

The operating system above does not have a dedicated Windows Update screen, but it accesses the Microsoft site through a Web browser and performs Windows Update.

When you run Windows Update or Microsoft Update from the Start Menu, Internet Explorer opens and opens the Windows Update page, but you'll be hit by a message that refreshes your site's pages.

If you look at the address bar, the address is refreshed every time the screen is refreshed.


And so on, you can see that you have fallen into an infinite loop while adding the parameter "&muopt=1". By the way, it is not able to advance from here to the other.

Windows Vista, Windows 7, Windows Server 2008, Windows Server 2008 R2

On the os above, you will see a dedicated screen when you run Windows Update. If it is successful, you can still do Windows Update, but if your environment is out of date, it may look like a figure.

Clicking the Check for Updates button may continue to work, but you may get an error as shown in the figure. In this case, restarting the service or Windows as the message does not resolve.

How to fix

This section provides step-by-step instructions for the Windows Server 2003 R2 environment. The procedure is almost the same on other operating systems. Windows Update screen is different, but basically, it's fine if you follow the flow on the screen.

The first step is to log in with a user with permissions in the Administrators group.

Open the text editor and save it with the extension ".bat" file by typing the following: The file name doesn't matter.

net stop wuauserv
cd %systemroot%
rd /s /q SoftwareDistributionold
ren SoftwareDistribution SoftwareDistributionold
net start wuauserv
net stop bits
net start bits
net stop cryptsvc
cd %systemroot%\system32
rd /s /q catroot2old
ren catroot2 catroot2old
net start cryptsvc

After saving the file, double-click the file to run it. For Windows Vista, Windows 7, right-click the file and select Run as Administrator.

Wait for the command prompt to close automatically when it opens.

Restart Windows when you are finished. You may not have to restart, but you should be more sure to restart it.

Try running Windows Update when the restart is complete. As shown in the illustration, windows update will prompt you to update itself, so follow the steps (the contents of the screen may vary depending on your environment). You can do Windows Update after you're done.