Fix Windows Update Problems Using Automatic Reset Script

Posted: August 3, 2015 in hacking, programming, registry hacks

download

Almost all Windows users are aware of the built-in “Windows Update” program or service which keeps Windows updated by downloading and installing latest updates, service packs, drivers and hotfixes released by Microsoft.

But sometimes users face various problems related to Windows Update such as not being able to download or install updates, getting random error messages, not being able to search for new updates, etc. These kind of issues can occur when Windows Update database or components are corrupted, one or more services related to Windows Update are not running, etc.

Today in this article, we are going to share a simple batch script which can help you in fixing various kind of issues related to Windows Update. This script can be used in all Windows versions.

This batch script simply resets Windows Update components such as system folders (catroot2, SoftwareDistribution, etc) and services (Background Intelligent Transfer Service, Cryptographic Services and Windows Update or Automatic Updates Service) to troubleshoot the issue.

A big thanks to our reader “DTM” for sharing the commands which we have used in this batch script. He shared these commands in our following exclusive topic:

[Fix] “Your Windows 8.1 Install Couldn’t be Completed, Something Happened” Error Message

Although he shared the commands to fix Windows 8.1 update installation problem, but these commands will work in other Windows Update related issues as well.

If you are also facing any problem related to Windows Update in any Windows version, check out following simple steps to fix it:

STEP 1:

First of all you need to create the batch script. Open Notepad and paste following code in it:

@ECHO OFF
echo Simple Script to Reset / Clear Windows Update
echo.
PAUSE
echo.
attrib -h -r -s %windir%\system32\catroot2
attrib -h -r -s %windir%\system32\catroot2\*.*
net stop wuauserv
net stop CryptSvc
net stop BITS
ren %windir%\system32\catroot2 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

Now save the file with the name “WUReset.bat” (including quotes).

copy it and run…..

STEP 2:

Now run the batch script. Right-click on the .bat file and select “Run as Administrator” option. It’ll take a few seconds in executing the commands.

That’s it. Restart your computer and now you should be able to download and install all updates using Windows Update without any problem.

keep visiting :-spyboyblog.wordpress.com

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s