0% found this document useful (0 votes)
13 views4 pages

Resetting Windows Update Components

Uploaded by

adnanvista
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views4 pages

Resetting Windows Update Components

Uploaded by

adnanvista
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

do s Se e 0 9

7 Note

Windows Server 2016 supports policies available in Windows 10, version 1607. Windows Server 2019
supports policies available in Windows 10, version 1809.

The following resources provide additional information about using Windows Update.

WSUS Troubleshooting
Troubleshooting issues with WSUS client agents

How to troubleshoot WSUS

Error 80244007 when WSUS client scans for updates

Updates may not be installed with Fast Startup in Windows 10

How do I reset Windows Update components?


Try using the Windows Update Troubleshooter , which will analyze the situation and reset any components
that need it.
Try the steps in Troubleshoot problems updating Windows 10 .
Try the steps in Fix Windows Update errors.

If all else fails, try resetting the Windows Update Agent by running these commands from an elevated command
prompt:

Console

net stop wuauserv


rd /s /q %systemroot%\SoftwareDistribution
net start wuauserv

Reset Windows Update components manually


1. Open a Windows command prompt. To open a command prompt, click Start > Run. Copy and paste (or
type) the following command and then press ENTER:

Console

cmd

2. Stop the BITS service, the Windows Update service and the Cryptographic service. To do this, type the
following commands at a command prompt. Press ENTER after you type each command.

Console

net stop bits


net stop wuauserv
net stop cryptsvc

3. Delete the qmgr*.dat files. To do this, type the following command at a command prompt, and then press
q g , yp g p p, p
ENTER:

Console

Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"

4. If this is your first attempt at resolving your Windows Update issues by using the steps in this article, go to
step 5 without carrying out the steps in step 4. The steps in step 4 should only be performed at this point in
the troubleshooting if you cannot resolve your Windows Update issues after following all steps but step 4.
The steps in step 4 are also performed by the "Aggressive" mode of the Fix it Solution above.
a. Rename the following folders to *.BAK:

Console

%Systemroot%\SoftwareDistribution\DataStore
%Systemroot%\SoftwareDistribution\Download
%Systemroot%\System32\catroot2

To do this, type the following commands at a command prompt. Press ENTER after you type each
command.

Console

Ren %Systemroot%\SoftwareDistribution\DataStore [Link]


Ren %Systemroot%\SoftwareDistribution\Download [Link]
Ren %Systemroot%\System32\catroot2 [Link]

) Important

The reset step below using [Link] will overwrite your existing security ACLs on the BITS and Windows
Update service and set them to default. Skip this step unless the other steps to reset Windows Update
components have not resolved the issue.

b. Reset the BITS service and the Windows Update service to the default security descriptor. To do this,
type the following commands at a command prompt. Press ENTER after you type each command.

Console

[Link] sdset bits D:(A;CI;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)


(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)
[Link] sdset wuauserv D:(A;;CCLCSWRPLORC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)
(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;SY)

5. Type the following command at a command prompt, and then press ENTER:

Console

cd /d %windir%\system32

6. Reregister the BITS files and the Windows Update files. To do this, type the following commands at a
command prompt. Press ENTER after you type each command.

Console

[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]
[Link] [Link]

7. Reset Winsock. To do this, type the following command at a command prompt, and then press ENTER:

Console

netsh winsock reset

8. If you are running Windows XP or Windows Server 2003, you have to set the proxy settings. To do this, type
the following command at a command prompt, and then press ENTER:

Console

[Link] -d

9. Restart the BITS service, the Windows Update service and the Cryptographic service. To do this, type the
following commands at a command prompt. Press ENTER after you type each command.

Console

net start bits


net start wuauserv
net start cryptsvc

10. If you are running Windows Vista or Windows Server 2008, clear the BITS queue. To do this, type the
following command at a command prompt, and then press ENTER:

Console
[Link] /reset /allusers

Common questions

Powered by AI

Resetting the security descriptors of BITS and the Windows Update service using sc.exe commands is significant as it restores default security settings that may have been modified or corrupted, potentially causing or contributing to update failures. This step should be used cautiously and only if other methods have not resolved the issue, as it overwrites existing security ACLs, potentially impacting system security practices .

The troubleshooting process involves manually stopping services such as BITS (Background Intelligent Transfer Service), the Windows Update service, and the Cryptographic service. This step is crucial as it ensures that these services are not running while their respective data files and components are being removed or renamed, which can ensure a clean reset to default settings and help in troubleshooting issues that cannot be resolved by simpler methods .

Adjusting proxy settings for Windows XP or Server 2003 might be required when using these older systems to ensure accurate network configurations for accessing update servers. Incorrect proxy settings can impede update processes by blocking server communication. This step ensures the system has the correct gateway to push updates through internet firewalls or proxies .

Command-based approaches in troubleshooting involve using command-line tools to manually intervene in the update process. These steps include stopping services, deleting files, resetting components, and reregistering libraries. They are crucial for users to directly manipulate system settings and elements that graphical interfaces cannot fix, offering a deeper level of control and resolution .

The initial steps include using the Windows Update Troubleshooter to analyze the situation and reset any necessary components, and if that fails, following the troubleshooting steps for updating Windows 10. If issues persist, the guide suggests resetting Windows Update components by stopping and restarting services such as BITS and the Windows Update service .

Renaming the DataStore and Download folders (to .bak extensions) effectively isolates and bypasses potentially corrupted data that could be causing update issues. This forces Windows to recreate these folders and all their components upon the next update process, which can resolve many common errors by removing possibly damaged data .

Registering various libraries with regsvr32.exe helps in troubleshooting by ensuring that all necessary DLL files for Windows and its update service functions are correctly registered and available for use. This process can resolve issues where updates fail due to missing or incorrectly registered system files, stabilizing the update environment .

The additional step for Windows Vista or Server 2008 involves clearing the BITS queue using the `bitsadmin.exe /reset /allusers` command. This is necessary to remove all current jobs that may be stalled or corrupted, preventing new update requests from being properly processed. This step ensures a fresh processing environment for pending updates .

Resetting Winsock is necessary to restore the network configuration to its default state, which can resolve network-related issues affecting Windows Update. It resets the TCP/IP stack, critical for communication with update servers. This is done using the `netsh winsock reset` command, which can resolve connectivity issues that prevent successful update downloads .

The "Aggressive" mode of the Fix it Solution poses risks by potentially overwriting existing system security settings and altering default configurations, which might impact system stability and security. This mode should be used as a last resort due to its comprehensive and intrusive nature, resetting not only update components but also affecting various network and security configurations, which could disrupt functioning if not necessary .

You might also like