Routine Checklist for a Fresh Start on Windows Updates
Routine Checklist for a Fresh Start on Windows Updates
When addressing errors and issues associated with a system update, you may need to reset the Windows Update components. You can achieve this by running a few commands in the Command Prompt or by creating and executing a batch file.
This guide will provide a detailed walkthrough for both methods, allowing you to effectively reset the Windows Update components.
1. How to Reset the Windows Update Components Manually
The most common method for resetting Windows Update components is through the Command Prompt. Here are the steps you can follow.
Right-click on the Start icon and select Terminal (Admin) from the list.
Select Yes when the User Account Control (UAC) prompt shows up.
Copy and paste the following commands one by one and press Enter after each command to stop each service related to Windows Update.
net stop bits net stop wuauserv net stop appidsvc net stop cryptsvc
Run the following command to delete the qmgr*.dat files.
Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\*.*"
Enter Y to confirm.
Type the following commands and press Enter after each to delete all the Windows Update files.
rmdir %systemroot%\SoftwareDistribution /S /Q rmdir %systemroot%\system32\catroot2 /S /Q
Type the following commands and press Enter after each to reset the BITS and Windows Update services to their default security descriptors.
sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU) sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
Now, run the following command to navigate to the System32 folder.
cd /d %windir%\system32
Copy and paste the following commands individually and press Enter after each to re-register all the BITS and Windows Update files.
regsvr32.exe /s atl.dll regsvr32.exe /s urlmon.dll regsvr32.exe /s mshtml.dll regsvr32.exe /s shdocvw.dll regsvr32.exe /s browseui.dll regsvr32.exe /s jscript.dll regsvr32.exe /s vbscript.dll regsvr32.exe /s scrrun.dll regsvr32.exe /s msxml.dll regsvr32.exe /s msxml3.dll regsvr32.exe /s msxml6.dll regsvr32.exe /s actxprxy.dll regsvr32.exe /s softpub.dll regsvr32.exe /s wintrust.dll regsvr32.exe /s dssenh.dll regsvr32.exe /s rsaenh.dll regsvr32.exe /s gpkcsp.dll regsvr32.exe /s sccbase.dll regsvr32.exe /s slbcsp.dll regsvr32.exe /s cryptdlg.dll regsvr32.exe /s oleaut32.dll regsvr32.exe /s ole32.dll regsvr32.exe /s shell32.dll regsvr32.exe /s initpki.dll regsvr32.exe /s wuapi.dll regsvr32.exe /s wuaueng.dll regsvr32.exe /s wuaueng1.dll regsvr32.exe /s wucltui.dll regsvr32.exe /s wups.dll regsvr32.exe /s wups2.dll regsvr32.exe /s wuweb.dll regsvr32.exe /s qmgr.dll regsvr32.exe /s qmgrprxy.dll regsvr32.exe /s wucltux.dll regsvr32.exe /s muweb.dll regsvr32.exe /s wuwebv.dll
Type the following and press Enter to reset Winsock (Windows Sockets).
netsh winsock reset
Copy and paste the following commands one by one and press Enter after each to restart the services related to Windows Update.
net start bits net start wuauserv net start appidsvc net start cryptsvc
Close the Command Prompt window and restart your PC to apply the changes. If you’re interested in discovering more useful commands, check our guide on the best Command Prompt commands for Windows.
2. How to Reset the Windows Update Components Using a Batch File
Another way to reset Windows Update components is to create and run a batch file in Windows . Here are the steps to make one:
- Press Win + S to open the search menu.
- Type Notepad in the search box and press Enter.
- Copy and paste the following command in the Notepad window.
net stop bits net stop wuauserv net stop appidsvc net stop cryptsvc Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\*.*" rmdir %systemroot%\SoftwareDistribution /S /Q rmdir %systemroot% system32\catroot2 /S /Q sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU) sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU) cd /d %windir% system32 regsvr32.exe /s atl.dll regsvr32.exe /s urlmon.dll regsvr32.exe /s mshtml.dll regsvr32.exe /s shdocvw.dll regsvr32.exe /s browseui.dll regsvr32.exe /s jscript.dll regsvr32.exe /s vbscript.dll regsvr32.exe /s scrrun.dll regsvr32.exe /s msxml.dll regsvr32.exe /s msxml3.dll regsvr32.exe /s msxml6.dll regsvr32.exe /s actxprxy.dll regsvr32.exe /s softpub.dll regsvr32.exe /s wintrust.dll regsvr32.exe /s dssenh.dll regsvr32.exe /s rsaenh.dll regsvr32.exe /s gpkcsp.dll regsvr32.exe /s sccbase.dll regsvr32.exe /s slbcsp.dll regsvr32.exe /s cryptdlg.dll regsvr32.exe /s oleaut32.dll regsvr32.exe /s ole32.dll regsvr32.exe /s shell32.dll regsvr32.exe /s initpki.dll regsvr32.exe /s wuapi.dll regsvr32.exe /s wuaueng.dll regsvr32.exe /s wuaueng1.dll regsvr32.exe /s wucltui.dll regsvr32.exe /s wups.dll regsvr32.exe /s wups2.dll regsvr32.exe /s wuweb.dll regsvr32.exe /s qmgr.dll regsvr32.exe /s qmgrprxy.dll regsvr32.exe /s wucltux.dll regsvr32.exe /s muweb.dll regsvr32.exe /s wuwebv.dll netsh winsock reset netsh winsock reset proxy net start bits net start wuauserv net start appidsvc net start cryptsvc
- Click the File menu at the top, then Save as.
- Enter Reset Windows Components.bat in the name field and specify your preferred location for saving the file.
- Click the Save as type drop-down menu to select All files, then click on Save.
- Locate the saved batch file on your PC. Right-click on it and select Run as administrator from the context menu.
- Select Yes when the User Account Control (UAC) prompt appears.
Once you’ve executed the batch file, feel free to keep it around. That way, the next time you encounter problems with Windows Update, you can run the file again without having to repeat the above steps.
Reset the Windows Update Components to Fix Problems
Downloading and installing Windows updates may not always be smooth. In such cases, resetting the Windows Update components can prove effective. However, if that doesn’t work, you may have to try your luck with other Windows Update fixes.
This guide will provide a detailed walkthrough for both methods, allowing you to effectively reset the Windows Update components.
Also read:
- [New] In 2024, Quick Click Compilation Top 10 Fastest Phone & PC Apps
- [New] Photobooth Lags Steadying the Playback Journey
- [New] The Clear-Cut Guide to High Definition Twitter Videos for 2024
- [Updated] 2024 Approved Decoding the Science of Hash Optimization for Game Streaming
- [Updated] In 2024, Expert Picks Top 5 High-Performing Android Recorders
- Diagnosing and Repairing Launch Failures in the 'Lost Ark' Game Update of 202N: A Comprehensive Guide
- Easy Fixes How To Recover Forgotten iCloud Password On your iPhone 15
- Elevate Stories' Vibrancy via Thoughtful Interactive Q&As for 2024
- Embracing the Elegance of Onsite Data Duplication: A Guide to Local Backups
- Enhancing Windows Network Protection with Microsoft's Newly Integrated Zero Trust DNS Technology
- Enhancing Your Windows Navigation with Superior File Management
- Expanded Access: Microsoft Now Supports More Devices with Windows 11 Upgrade
- Exploring Windows 11 on ARM: A Comprehensive Guide & Its Differences From Traditional Windows Systems
- Financial Support for Individuals and Businesses
- From Doubts to Discovery: Why the Old Concerns of Switching From Windows to Linux Have Been Disproven
- Getting Started with ARM Technology: An Unboxing and Review of the Dell Inspiron 14 Plus (7441)
- How Cybercriminals Exploit Windows Updates to Bypass Security Fixes
- In 2024, How to Come up With the Best Pokemon Team On Samsung Galaxy M34? | Dr.fone
- Your Complete Guide To Reset Realme 11 Pro+ | Dr.fone
- Title: Routine Checklist for a Fresh Start on Windows Updates
- Author: Joseph
- Created at : 2024-09-29 18:41:55
- Updated at : 2024-10-06 18:23:27
- Link: https://windows11.techidaily.com/routine-checklist-for-a-fresh-start-on-windows-updates/
- License: This work is licensed under CC BY-NC-SA 4.0.