New
#310
Is difficult to remember the paths and the names. Perhaps a batch file for this job ?
Is difficult to remember the paths and the names. Perhaps a batch file for this job ?
It is easy to write such a batch file.
I think it is :
rmdir %systemroot%\SoftwareDistribution\DataStore *.bak /s
rmdir %systemroot%\SoftwareDistribution\Download *.bak /s
rmdir %systemroot%\system32\catroot2 *.bak /s
del %SYSTEMROOT%\winsxs\pending.xml.bak
- - - Updated - - -
Nice job , thanks. Similar : Manage additional Windows Update settings , block unwanted updates
Code:rmdir /s /q "%SYSTEMROOT%\SoftwareDistribution.bak" rmdir /s /q "%SYSTEMROOT%\system32\Catroot2.bak" del /s /q /f "%SYSTEMROOT%\winsxs\pending.xml.bak"
Thanks for this.
The .bat file worked.
I finally got rid of
Some settings are managed by your organization
in Setting/Windows Update.
Tried many other ways that did not work.
I reinstalled windows and now it's all cleared up, plus a few other problems. I'm good to go until next time.
Thanks All.
Should this batch file still work on latest builds of Windows 10? There have been many changes to Windows 10 since it was first released 5 years ago.
If it should work then how long should it take to complete?
I have recently run it (as Administrator) on two machines and in both cases it stopped running part way through. I waited 10 minutes for it to start again but then I gave up and exited the cmd window. To be safe I restarted Windows immediately after. The first machine was an HP laptop I was trying to update for someone else and the second machine was my own (non-branded) desktop, which is currently on v20H2, build 19042.685.
I cannot install for several days now the latest W10 update KB4598242 with error code 0x80070003.
W10 pro, 20H2, 19042.685.
Tried repeatedly all classic tricks (troubleshooter, DISM, sfc etc) with no success, although all tools report no problems.
Finally, I tried the bat file of this thread; it ran like a breeze, but no luck again.
Any ideas of anything else to try?
PS:please do not suggest to reinstall windows
{8B717E98-46D8-4BF0-8992-D07535157AF7} 1 0 MoUpdateOrchestrator Success Content Install Installation Started: Windows has started installing the following update: 2021-01 Cumulative Update for Windows 10 Version 20H2 for x64-based Systems (KB4598242) 1Gp2d88aFk2HUoSr.1.2.1.0
{5703234F-8FD6-4A29-8A04-CDDDA05F6724} 2021-01-18 22:58:37:165+0400 1 201 [AGENT_INSTALLING_PENDING] 101 {8B717E98-46D8-4BF0-8992-D07535157AF7} 1 240005 MoUpdateOrchestrator Success Content Install Installation pending. 1Gp2d88aFk2HUoSr.1.2.3.0
{F21EF6EF-2C12-4792-B8DA-10C00FD8FF6B} 2021-01-18 23:02:47:584+0400 1 182 [AGENT_INSTALLING_FAILED] 101 {8B717E98-46D8-4BF0-8992-D07535157AF7} 1 80070003 MoUpdateOrchestrator Failure Content Install Installation Failure: Windows failed to install the following update with error 0x80070003: 2021-01 Cumulative Update for Windows 10 Version 20H2 for x64-based Systems (KB4598242). 1Gp2d88aFk2HUoSr.1.2.3.0.0
{F8456DCD-23F6-4708-A602-64E0E3355218} 2021-01-18 23:12:02:382+0400 1 147 [AGENT_DETECTION_FINISHED] 101 {7971F918-A847-4430-9279-4A52D1EFE18D} 0 0 Windows Defender Success Software Synchronization Windows Update Client successfully detected 0 updates. zPT6KLEJsEaD0SnW.1.0.0.3.0
{FE9E81CD-0E87-49B5-8BC7-99ED364E14FC} 2021-01-18 23:12:04:435+0400 1 147 [AGENT_DETECTION_FINISHED] 101 {8B24B027-1DEE-BABB-9A95-3517DFB9C552} 0 0 Windows Defender Success Software Synchronization Windows Update Client successfully detected 0 updates. zPT6KLEJsEaD0SnW.1.1.0.3.0
{61EE2316-05EB-4125-97AB-7B8897A918E0} 2021-01-18 23:17:48:381+0400 1 147 [AGENT_DETECTION_FINISHED] 101 {855E8A7C-ECB4-4CA3-B045-1DFA50104289} 0 0 Update;ScanForUpdates Success Software Synchronization Windows Update Client successfully detected 0 updates. 8hiFSEeGCE24l/OD.1.0.1.1.0.0.3.0