Regain Control Over Windows Update Functions

Regain Control Over Windows Update Functions

Richard Lv12

Regain Control Over Windows Update Functions

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.

  1. Right-click on the Start icon and select Terminal (Admin) from the list.

  2. Select Yes when the User Account Control (UAC) prompt shows up.

  3. 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
    Reset Windows Update Components Using Command Prompt

  4. Run the following command to delete the qmgr*.dat files.
    Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\*.*"

  5. Enter Y to confirm.

  6. 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

  7. 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)

  8. Now, run the following command to navigate to the System32 folder.
    cd /d %windir%\system32

  9. 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

  10. Type the following and press Enter to reset Winsock (Windows Sockets).
    netsh winsock reset

  11. 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.


VSDC Pro Video Editor is a light professional non-linear video editing suite for creating a movie of any complexity. It supports the most popular video/audio formats and codecs, including 4K, HD and GoPro videos. Preconfigured profiles make the creation of videos for various multimedia and mobile devices absolutely hassle-free.

Key features:

• Import from any devices and cams, including GoPro and drones. All formats supported. Сurrently the only free video editor that allows users to export in a new H265/HEVC codec, something essential for those working with 4K and HD.
• Everything for hassle-free basic editing: cut, crop and merge files, add titles and favorite music
• Visual effects, advanced color correction and trendy Instagram-like filters
• All multimedia processing done from one app: video editing capabilities reinforced by a video converter, a screen capture, a video capture, a disc burner and a YouTube uploader
• Non-linear editing: edit several files with simultaneously
• Easy export to social networks: special profiles for YouTube, Facebook, Vimeo, Twitter and Instagram
• High quality export – no conversion quality loss, double export speed even of HD files due to hardware acceleration
• Stabilization tool will turn shaky or jittery footage into a more stable video automatically.
• Essential toolset for professional video editing: blending modes, Mask tool, advanced multiple-color Chroma Key

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:

  1. Press Win + S to open the search menu.
  2. Type Notepad in the search box and press Enter.
  3. 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
  4. Click the File menu at the top, then Save as.
    Save a Notepad File The BootIt Collection covers multi-booting, partitioning, and disk imaging on traditional PC’s using the standard BIOS and  newer PC’s using UEFI.   The collection includes BootIt Bare Metal (BIBM) for standard BIOS systems and BootIt UEFI (BIU) for UEFI system.
  5. Enter Reset Windows Components.bat in the name field and specify your preferred location for saving the file.
  6. Click the Save as type drop-down menu to select All files, then click on Save.
  7. Locate the saved batch file on your PC. Right-click on it and select Run as administrator from the context menu.
  8. Select Yes when the User Account Control (UAC) prompt appears.
    Reset Windows Update Components Using a Batch File

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.


Home Use license is dedicated for personal, non-commercial use only.
If Action! is used for commercial gain or to further any commercial purpose,
a Commercial Use license is required. Multi-license (volume discount) is intended for single

company, user or members of the same household. Action! - screen and game recorder</a>

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.

  • Title: Regain Control Over Windows Update Functions
  • Author: Richard
  • Created at : 2024-08-16 02:37:51
  • Updated at : 2024-08-17 02:37:51
  • Link: https://win11-tips.techidaily.com/regain-control-over-windows-update-functions/
  • License: This work is licensed under CC BY-NC-SA 4.0.