Reset Windows Update with Script
Estimated reading time: 1 min
In this article
This article will cover how to use the Windows Update Reset script to fix any Windows Update error encountered.
Windows Update is not able to update the workstation/server
Windows Update has encountered an unknown error
The batch script will automatically reset all services associated with Windows Update
SoftwareDistribution folder, BTS service, Cryptographic Services, etc.
Copy the following script into Notepad and save as WUReset.bat
Run the script as an administrator.
@ECHO OFF
echo Reset Windows Update
echo.
PAUSE
echo.
attrib -h -r -s %windir%system32catroot2
attrib -h -r -s %windir%system32catroot2*.*
net stop wuauserv
net stop CryptSvc
net stop BITS
ren %windir%system32catroot2 catroot2.old
ren %windir%SoftwareDistribution sold.old
ren "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader" downloader.old
net Start BITS
net start CryptSvc
net start wuauserv
echo.
echo Task completed successfully...
echo.
PAUSE
After running this script, restart your computer and run Windows Update again.
Let one of our experienced engineer resolve the issue
Klowdesk is a Remote Tech Support service connecting top IT Engineers from around the world with Businesses requiring IT Support on demand.
Your privacy is important to us
We do not share or sell your data to third parties. We use cookies and other third-party technologies to improve our website and services.
© 2022 — Klowdesk Inc All Rights Reserved.