I reviewed Reset Windows Update Agent, a free script for Windows devices, back in 2015. The script provided Windows administrators with options to run select administrative tasks on the system the script was executed on.
The program was designed primarily to fix Windows Update related issues (hence the name) but administrators could run it to fix Winsock or delete temporary files in Windows as well.
The author of the script improved it since its initial release and the list of commands grew from nine in 2015 to 18 commands in 2018. The nine original options are all included and the new options increase the functionality of the script significantly.
You can download the Reset Windows Update Agent script from the Microsoft Technet Gallery website. The script is compatible with Windows XP and newer versions of Windows including Windows 10 and Windows 10 Insider Preview versions.
You need to unpack the archive first; it has a size of just 8 Kilobytes and an unpacked size of 38 Kilobytes. You may want to read the readme first before you start the script. Note that you need to run it with elevated privileges.
Just right-click on ResetWUEng.cmd and select "run as administrator" to do so. I suggest you go through the script before you run it on your system to make sure it does what it is supposed to do. Also, it is recommended that you create a backup of the system before you use it to perform any actions.
A disclaimer is displayed on start that you need to accept. Once that is out of the way all 18 options are listed.
Here is the list of options:
While it is clear automatically what some options do, e.g. Open System Properties, it may not be clear what others such as "Delete incorrect Registry values" do.
The only option to find out is to open the script in a plain text editor and check the relevant parts of it to see what it does.
The temporary file cleaning part for instance uses the two commands del /s /f /q "%TEMP%\*.*" and
del /s /f /q "%SYSTEMROOT%\Temp\*.*" to remove files from system temp folders.
Some operations run lots of commands. If you select to reset Windows Update components, a series of commands is executed that include stopping services, killing tasks, deleting files, registering files again and more.
Administrators can run all the commands the script includes manually as well if they know them. The script speeds up the process as you just have to press a button and hit return on the keyboard to run the commands.
Now You: Do you use scripts for Windows management? (via Deskmodder)Advertisement
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.