Fix Windows Update stops running

Page update date :
Page creation date :

phenomenon

Windows XP, Windows Server 2003, Windows Server 2003 R2

The above operating systems do not have a dedicated Windows Update screen, but rather access the Microsoft site through a web browser to perform 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 will experience a phenomenon that refreshes the pages on the site repeatedly.

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

  • http://update.microsoft.com/microsoftupdate/v6/default.aspx?ln=ja
  • http://update.microsoft.com/microsoftupdate/v6/default.aspx?ln=ja&muopt=1
  • http://update.microsoft.com/microsoftupdate/v6/default.aspx?ln=ja&muopt=1&muopt=1
  • http://update.microsoft.com/microsoftupdate/v6/default.aspx?ln=ja&muopt=1&muopt=1&muopt=1
  • http://update.microsoft.com/microsoftupdate/v6/default.aspx?ln=ja&muopt=1&muopt=1&muopt=1&muopt=1

As such, you can see that the parameter "&muopt=1" is added and falls into an infinite loop. By the way, I can't go any further from here.

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

In the above OS, when you run Windows Update, a dedicated screen is displayed. If it is normal, you can continue to run Windows Update as it is, but if the environment is outdated, it may look like the figure.

If you click the "Check for updates" button, it may proceed normally as it is, but you may get an error as shown in the figure. In this case, restarting the service or restarting Windows as per the message often does not help.

Resolution

This section describes the procedures in a Windows Server 2003 R2 environment. The procedure is almost the same on other operating systems. The screen of Windows Update is different, but basically there is no problem as long as you follow the flow displayed on the screen.

First, log in as a user with privileges in the Administrators group.

Open a text editor and type the contents below and click on the extension ". bat" file. The file name can be anything.

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 and Windows 7, right-click the file and select Run as administrator.

Wait until the Command Prompt opens and closes automatically.

Restart Windows when you are done. You may not need to reboot, but it is more reliable to do so.

When the restart is complete, try running Windows Update. As shown in the figure, you will be prompted to update Windows Update itself, so proceed according to the procedure (the contents of the screen may vary depending on the environment). You can run Windows Update when you're done.