Windows 10: Reset update components

  1.    13 Jul 2017 #1

    Reset update components

    I have been suggesting the use of the following script to reset the update components.

    echo Simple Script to Reset / Clear Windows Update
    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 Task completed successfully...
    It had been suggested that line 12 was incorrect and that it should be the following.

    ren %windir%\SoftwareDistribution SoftwareDistribution.old
    Can someone please confirm whether this change in the script is correct or not?
      My ComputerSystem Spec

  2. Brink's Avatar
    Posts : 32,244
    64-bit Windows 10 Pro build 18242
       13 Jul 2017 #2

    Hello dc30f4, :)

    Line 11 is only for creating a backup copy of the "SoftwareDistribution" folder. It doesn't really matter what you name the backup, but naming it "SoftwareDistribution.old" instead would make it easier to know what it's for.

    If you like, I have a script in the tutorial below that will perform a more thorough reset of Windows Update.

    Reset Windows Update in Windows 10 Windows 10 Windows Update Activation Tutorials
      My ComputersSystem Spec


Related Threads
Macrium Reflect Winpe components in Backup and Restore
Just noticed the latest version require a download of over 800 MB to download win pe components where it was only approx 500 MB before.
Hi, on a no-problem notebook of a Relative, win ran an update last night at 4 and came up with this: Most App-Links are gone, Apps still there. But Firefox, Outlook and others seem completely reset as if freshly installed, no accounts set f.e....
Info on the Windows components store in Performance & Maintenance
Hi What is the Windows components store and where is it? What is the command that can repair this archive? How the SFC utility is able to use it? Thanks
How do I remove the pre-installed components/apps for tablet PC and Xbox One? I don't need tablet components on my PC, and I have no plan to get an Xbox One.
Source: Microsoft Edge and Web Components | Microsoft Edge Dev Blog
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 02:10.
Find Us