We have written three small batch files that resets, repairs or reinstalls the Automatic Update system. They work with a Windows XP SP2 or Windows 2003 Server system straight out of the box, but with Windows 2000 the machine needs to have been updated to the new version of the Windows Automatic Update client before they will work.
Windows Vista and Windows 7
On Windows 7\Vista the script will not run from a network share and needs to be run as Administrator. Therefore ensure the file is on your local machine, then right click on it and choose "Run as Administrator"
Reset the Automatic Updates System
What does it do?
The file stops the Automatic Update service, then flushes out the contents of the folder "Software Distribution". It then restarts the Automatic Update service again before forcing an update cycle to start.
Copy the text below in to a new notepad document and save it as aureset.cmd. On Windows XP, double click on the file to run it. On Windows Vista and Windows 7, right click and choose Run As Administrator. This script (updated July 2012) works on all versions of Windows.
Repair Automatic Updates System
This is another batch file that repairs the automatic updates system.
What does it do?
The file stops the "Background Intelligent Transfer Service" and the Automatic Update service, then re-registers the required DLLs. It then restarts the the two services that were stopped before forcing an update cycle to start with fresh cookies.
Copy the text below in to a new notepad document and save it as aurepair.cmd. Double click on the file to run it.
This is for Windows XP/Windows 2003 Only
This is the version for Windows Vista/Windows 7. You will need to run this script in an elevated command prompt.
Remove and Reinstall of Automatic Updates (Not Vista or Windows 7)
This batch file actually removes and reinstalls the Automatic Update system.
What does it do?
The file stops the "Background Intelligent Transfer Service" and the Automatic Update service, then removes the Automatic Update system, the logs and downloaded software files. It then reinstalls the automatic update system, starts the services and then removes the cookies for the automatic updates system and force it to look for changes.
Copy the text below in to a new notepad document and save it as aureinstall.cmd. Double click on the file to run it.
Common Mistake - Not Changing the File Type in Notepad
The most common reason why these scripts do not work is that to save a file as a cmd file, you need to change the setting in the Save as box to All File Types. You can then enter the full file name. Otherwise Windows will save it as "reset.cmd.txt" which will not do anything but open notepad.
Free up Space
If you have recently built the machine, or are simply getting tight on space, the first reset script can give you back a significant amount of space. Once the updates have been installed correctly, the files in the download location are no longer required. Therefore removing them before a defrag can make a significant difference.
Copyright Sembee Ltd. 1998 - 2019.
Reproduction of any content on this web site is prohibited without express written consent. Use of this web site is subject to our terms and conditions.
All trademarks and registered trademarks are property of their respective owners. This site is not endorsed or recommended by any company or organisation mentioned within and is to provide guidance only and as such we cannot be held responsible for any consequences of following the advice given.
Sembee Ltd. is registered in England and Wales at 1 Carnegie Road, Newbury, Berkshire, RG14 5DJ.
Registered company number: 4704428. VAT Number GB 904 5603 43.