- Downloaded
- 57.6 GB
- Uploaded
- 16 TB
- Ratio
- 285.11
- Seedbonus
- 329,011
- Upload Count
- 83 (96)
Member for 6 years
Review
The Script allows complete reset the Windows Update Agent resolving issues with Windows Update. It will configure the services and registry keys related to Windows Update for default settings. It will also clean up files related to Windows Update, in addition to BITS related data. It has been tested on Windows 7, 8, 10, and Windows Server 2012 R2.
In the last update on April 26th 2019, significant changes have been made to the code, and the script is now compatible with Windows 10 Creative Update and a replacement is proposed to make it a complete executable tool. This script can be modified to be compatible with other operative systems.
The scrip is verified on the following platforms:
- Windows 10 Yes
- Windows Server 2012 No
- Windows Server 2012 R2 No
- Windows Server 2008 R2 No
- Windows Server 2008 No
- Windows Server 2003 No
- Windows Server 2016 No
- Windows 8 Yes
- Windows 7 Yes
- Windows Vista Yes
- Windows XP Yes
- Windows 2000 No
The tool includes a large number of troubleshooting functions such as:
- Reset the Windows Update components;
- Delete temporary files;
- Change invalid values in Windows Registry;
- Scan all protected system file and replace the corrupted one’s (sfc /scannow);
- Scan, detect and repair corruptions in Windows system image;
- Clean up superseded components.
:: ==================================================================================
:: NAME: Reset Windows Update Tool.
:: DESCRIPTION: This script reset the Windows Update Components.
:: AUTHOR: Manuel Gil.
:: VERSION: 10.5.3.6 [+500K Downloads Celebration]
:: WEBSITE:
:: ==================================================================================
:: Set console.
:: void mode();
:: /************************************************************************************/
:mode
echo off
title Reset Windows Update Tool.
mode con cols=78 lines=32
color 17
cls
goto getValues
goto :eof
:: /************************************************************************************/
:: Print Top Text.
:: @Param - text = the text to print (%*).
:: void print(string text);
:: /*************************************************************************************/
rint
cls
echo.
echo.%name% [Version: %version%]
echo.Reset Windows Update Tool.
echo.
echo.%*
echo.
goto :eof
:: /*************************************************************************************/
:: Add Value in the Registry.
:: @Param - key = the key or entry to be added (%~1).
:: value = the value to be added under the selected key (%~2).
:: type = the type for the registry entry (%~3).
:: data = the data for the new registry entry (%~4).
:: void addReg(string key, string value, string type, string data);
:: /*************************************************************************************/
:addReg
reg add "%~1" /v "%~2" /t "%~3" /d "%~4" /f
goto :eof
:: /*************************************************************************************/
:: Load the system values.
:: void getValues();
:: /************************************************************************************/
:getValues
for /f "tokens=4-5 delims=[] " %%a in ('ver') do set version=%%a%%b
for %%a in (%version%) do set version=%%a
if %version% EQU 5.1.2600 (
:: Name: "Microsoft Windows XP"
set name=Microsoft Windows XP
:: Family: Windows 5
set family=5
:: Compatibility: Yes
set allow=Yes
) else if %version% EQU 5.2.3790 (
:: Name: "Microsoft Windows XP Professional x64 Edition"
set name=Microsoft Windows XP Professional x64 Edition
:: Family: Windows 5
set family=5
:: Compatibility: Yes
set allow=Yes
) else if %version% EQU 6.0.6000 (
:: Name: "Microsoft Windows Vista"
set name=Microsoft Windows Vista
:: Family: Windows 6
set family=6
:: Compatibility: Yes
set allow=Yes
) else if %version% EQU 6.0.6001 (
:: Name: "Microsoft Windows Vista SP1"
set name=Microsoft Windows Vista SP1
:: Family: Windows 6
set family=6
:: Compatibility: Yes
set allow=Yes
) else if %version% EQU 6.0.6002 (
:: Name: "Microsoft Windows Vista SP2"
set name=Microsoft Windows Vista SP2
:: Family: Windows 6
set family=6
:: Compatibility: Yes
set allow=Yes
) else if %version% EQU 6.1.7600 (
:: Name: "Microsoft Windows 7"
set name=Microsoft Windows 7
:: Family: Windows 7
set family=7
:: Compatibility: Yes
set allow=Yes
) else if %version% EQU 6.1.7601 (
:: Name: "Microsoft Windows 7 SP1"
set name=Microsoft Windows 7 SP1
:: Family: Windows 7
set family=7
:: Compatibility: Yes
set allow=Yes
) else if %version% EQU 6.2.9200 (
:: Name: "Microsoft Windows 8"
set name=Microsoft Windows 8
:: Family: Windows 8
set family=8
:: Compatibility: Yes
set allow=Yes
) else if %version% EQU 6.3.9200 (
:: Name: "Microsoft Windows 8.1"
set name=Microsoft Windows 8.1
:: Family: Windows 8
set family=8
:: Compatibility: Yes
set allow=Yes
) else if %version% EQU 6.3.9600 (
:: Name: "Microsoft Windows 8.1 Update 1"
set name=Microsoft Windows 8.1 Update 1
:: Family: Windows 8
set family=8
:: Compatibility: Yes
set allow=Yes
) else (
ver | find "10.0." > nul
if %errorlevel% EQU 0 (
:: Name: "Microsoft Windows 10"
set name=Microsoft Windows 10
:: Family: Windows 10
set family=10
:: Compatibility: Yes
set allow=Yes
) else (
:: Name: "Unknown"
set name=Unknown
:: Compatibility: No
set allow=No
)
)
call rint %name% detected . . .
if %allow% EQU Yes goto permission
call rint Sorry, this Operative System is not compatible with this tool.
echo. An error occurred while attempting to verify your system.
echo. Can this using a business or test version.
echo.
echo. if not, verify that your system has the correct security fix.
echo.
echo.Press any key to continue . . .
pause>nul
goto :eof
:: /************************************************************************************/
:: NAME: Reset Windows Update Tool.
:: DESCRIPTION: This script reset the Windows Update Components.
:: AUTHOR: Manuel Gil.
:: VERSION: 10.5.3.6 [+500K Downloads Celebration]
:: WEBSITE:
You must be registered for see links
:: ==================================================================================
:: Set console.
:: void mode();
:: /************************************************************************************/
:mode
echo off
title Reset Windows Update Tool.
mode con cols=78 lines=32
color 17
cls
goto getValues
goto :eof
:: /************************************************************************************/
:: Print Top Text.
:: @Param - text = the text to print (%*).
:: void print(string text);
:: /*************************************************************************************/
rint
cls
echo.
echo.%name% [Version: %version%]
echo.Reset Windows Update Tool.
echo.
echo.%*
echo.
goto :eof
:: /*************************************************************************************/
:: Add Value in the Registry.
:: @Param - key = the key or entry to be added (%~1).
:: value = the value to be added under the selected key (%~2).
:: type = the type for the registry entry (%~3).
:: data = the data for the new registry entry (%~4).
:: void addReg(string key, string value, string type, string data);
:: /*************************************************************************************/
:addReg
reg add "%~1" /v "%~2" /t "%~3" /d "%~4" /f
goto :eof
:: /*************************************************************************************/
:: Load the system values.
:: void getValues();
:: /************************************************************************************/
:getValues
for /f "tokens=4-5 delims=[] " %%a in ('ver') do set version=%%a%%b
for %%a in (%version%) do set version=%%a
if %version% EQU 5.1.2600 (
:: Name: "Microsoft Windows XP"
set name=Microsoft Windows XP
:: Family: Windows 5
set family=5
:: Compatibility: Yes
set allow=Yes
) else if %version% EQU 5.2.3790 (
:: Name: "Microsoft Windows XP Professional x64 Edition"
set name=Microsoft Windows XP Professional x64 Edition
:: Family: Windows 5
set family=5
:: Compatibility: Yes
set allow=Yes
) else if %version% EQU 6.0.6000 (
:: Name: "Microsoft Windows Vista"
set name=Microsoft Windows Vista
:: Family: Windows 6
set family=6
:: Compatibility: Yes
set allow=Yes
) else if %version% EQU 6.0.6001 (
:: Name: "Microsoft Windows Vista SP1"
set name=Microsoft Windows Vista SP1
:: Family: Windows 6
set family=6
:: Compatibility: Yes
set allow=Yes
) else if %version% EQU 6.0.6002 (
:: Name: "Microsoft Windows Vista SP2"
set name=Microsoft Windows Vista SP2
:: Family: Windows 6
set family=6
:: Compatibility: Yes
set allow=Yes
) else if %version% EQU 6.1.7600 (
:: Name: "Microsoft Windows 7"
set name=Microsoft Windows 7
:: Family: Windows 7
set family=7
:: Compatibility: Yes
set allow=Yes
) else if %version% EQU 6.1.7601 (
:: Name: "Microsoft Windows 7 SP1"
set name=Microsoft Windows 7 SP1
:: Family: Windows 7
set family=7
:: Compatibility: Yes
set allow=Yes
) else if %version% EQU 6.2.9200 (
:: Name: "Microsoft Windows 8"
set name=Microsoft Windows 8
:: Family: Windows 8
set family=8
:: Compatibility: Yes
set allow=Yes
) else if %version% EQU 6.3.9200 (
:: Name: "Microsoft Windows 8.1"
set name=Microsoft Windows 8.1
:: Family: Windows 8
set family=8
:: Compatibility: Yes
set allow=Yes
) else if %version% EQU 6.3.9600 (
:: Name: "Microsoft Windows 8.1 Update 1"
set name=Microsoft Windows 8.1 Update 1
:: Family: Windows 8
set family=8
:: Compatibility: Yes
set allow=Yes
) else (
ver | find "10.0." > nul
if %errorlevel% EQU 0 (
:: Name: "Microsoft Windows 10"
set name=Microsoft Windows 10
:: Family: Windows 10
set family=10
:: Compatibility: Yes
set allow=Yes
) else (
:: Name: "Unknown"
set name=Unknown
:: Compatibility: No
set allow=No
)
)
call rint %name% detected . . .
if %allow% EQU Yes goto permission
call rint Sorry, this Operative System is not compatible with this tool.
echo. An error occurred while attempting to verify your system.
echo. Can this using a business or test version.
echo.
echo. if not, verify that your system has the correct security fix.
echo.
echo.Press any key to continue . . .
pause>nul
goto :eof
:: /************************************************************************************/
:: Run the reset Windows Update components.
:: void components();
:: /*************************************************************************************/
:components
:: ----- Stopping the Windows Update services -----
call rint Stopping the Windows Update services.
net stop bits
call rint Stopping the Windows Update services.
net stop wuauserv
call rint Stopping the Windows Update services.
net stop appidsvc
call rint Stopping the Windows Update services.
net stop cryptsvc
call rint Canceling the Windows Update process.
taskkill /im wuauclt.exe /f
:: ----- Checking the services status -----
call rint Checking the services status.
sc query bits | findstr /I /C:"STOPPED"
if %errorlevel% NEQ 0 (
echo. Failed to stop the BITS service.
echo.
echo.Press any key to continue . . .
pause>nul
goto :eof
)
call rint Checking the services status.
sc query wuauserv | findstr /I /C:"STOPPED"
if %errorlevel% NEQ 0 (
echo. Failed to stop the Windows Update service.
echo.
echo.Press any key to continue . . .
pause>nul
goto :eof
)
call rint Checking the services status.
sc query appidsvc | findstr /I /C:"STOPPED"
if %errorlevel% NEQ 0 (
sc query appidsvc | findstr /I /C:"OpenService FAILED 1060"
if %errorlevel% NEQ 0 (
echo. Failed to stop the Application Identity service.
echo.
echo.Press any key to continue . . .
pause>nul
if %family% NEQ 6 goto :eof
)
)
call rint Checking the services status.
sc query cryptsvc | findstr /I /C:"STOPPED"
if %errorlevel% NEQ 0 (
echo. Failed to stop the Cryptographic Services service.
echo.
echo.Press any key to continue . . .
pause>nul
goto :eof
)
:: ----- Delete the qmgr*.dat files -----
call rint Deleting the qmgr*.dat files.
del /s /q /f "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"
del /s /q /f "%ALLUSERSPROFILE%\Microsoft\Network\Downloader\qmgr*.dat"
:: ----- Renaming the softare distribution folders backup copies -----
call rint Deleting the old software distribution backup copies.
cd /d %SYSTEMROOT%
if exist "%SYSTEMROOT%\winsxs\pending.xml.bak" (
del /s /q /f "%SYSTEMROOT%\winsxs\pending.xml.bak"
)
if exist "%SYSTEMROOT%\SoftwareDistribution.bak" (
rmdir /s /q "%SYSTEMROOT%\SoftwareDistribution.bak"
)
if exist "%SYSTEMROOT%\system32\Catroot2.bak" (
rmdir /s /q "%SYSTEMROOT%\system32\Catroot2.bak"
)
if exist "%SYSTEMROOT%\WindowsUpdate.log.bak" (
del /s /q /f "%SYSTEMROOT%\WindowsUpdate.log.bak"
)
call rint Renaming the software distribution folders.
if exist "%SYSTEMROOT%\winsxs\pending.xml" (
takeown /f "%SYSTEMROOT%\winsxs\pending.xml"
attrib -r -s -h /s /d "%SYSTEMROOT%\winsxs\pending.xml"
ren "%SYSTEMROOT%\winsxs\pending.xml" pending.xml.bak
)
if exist "%SYSTEMROOT%\SoftwareDistribution" (
attrib -r -s -h /s /d "%SYSTEMROOT%\SoftwareDistribution"
ren "%SYSTEMROOT%\SoftwareDistribution" SoftwareDistribution.bak
if exist "%SYSTEMROOT%\SoftwareDistribution" (
echo.
echo. Failed to rename the SoftwareDistribution folder.
echo.
echo.Press any key to continue . . .
pause>nul
goto :eof
)
)
if exist "%SYSTEMROOT%\system32\Catroot2" (
attrib -r -s -h /s /d "%SYSTEMROOT%\system32\Catroot2"
ren "%SYSTEMROOT%\system32\Catroot2" Catroot2.bak
)
if exist "%SYSTEMROOT%\WindowsUpdate.log" (
attrib -r -s -h /s /d "%SYSTEMROOT%\WindowsUpdate.log"
ren "%SYSTEMROOT%\WindowsUpdate.log" WindowsUpdate.log.bak
)
:: ----- Reset the BITS service and the Windows Update service to the default security descriptor -----
call rint Reset the BITS service and the Windows Update service to the default security descriptor.
sc.exe sdset wuauserv DA;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)SAU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)
sc.exe sdset bits DA;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)SAU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)
sc.exe sdset cryptsvc DA;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)SAU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)
sc.exe sdset trustedinstaller DA;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)SAU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)
:: ----- Reregister the BITS files and the Windows Update files -----
call rint Reregister the BITS files and the Windows Update files.
cd /d %SYSTEMROOT%\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
:: ----- Resetting Winsock -----
call rint Resetting Winsock.
netsh winsock reset
:: ----- Resetting WinHTTP Proxy -----
call rint Resetting WinHTTP Proxy.
if %family% EQU 5 (
proxycfg.exe -d
) else (
netsh winhttp reset proxy
)
:: ----- Set the startup type as automatic -----
call rint Resetting the services as automatics.
sc.exe config wuauserv start= auto
sc.exe config bits start= delayed-auto
sc.exe config cryptsvc start= auto
sc.exe config TrustedInstaller start= demand
sc.exe config DcomLaunch start= auto
:: ----- Starting the Windows Update services -----
call rint Starting the Windows Update services.
net start bits
call rint Starting the Windows Update services.
net start wuauserv
call rint Starting the Windows Update services.
net start appidsvc
call rint Starting the Windows Update services.
net start cryptsvc
call rint Starting the Windows Update services.
net start DcomLaunch
:: ----- End process -----
call rint The operation completed successfully.
echo.Press any key to continue . . .
pause>nul
goto :eof
:: /*************************************************************************************/
:: void components();
:: /*************************************************************************************/
:components
:: ----- Stopping the Windows Update services -----
call rint Stopping the Windows Update services.
net stop bits
call rint Stopping the Windows Update services.
net stop wuauserv
call rint Stopping the Windows Update services.
net stop appidsvc
call rint Stopping the Windows Update services.
net stop cryptsvc
call rint Canceling the Windows Update process.
taskkill /im wuauclt.exe /f
:: ----- Checking the services status -----
call rint Checking the services status.
sc query bits | findstr /I /C:"STOPPED"
if %errorlevel% NEQ 0 (
echo. Failed to stop the BITS service.
echo.
echo.Press any key to continue . . .
pause>nul
goto :eof
)
call rint Checking the services status.
sc query wuauserv | findstr /I /C:"STOPPED"
if %errorlevel% NEQ 0 (
echo. Failed to stop the Windows Update service.
echo.
echo.Press any key to continue . . .
pause>nul
goto :eof
)
call rint Checking the services status.
sc query appidsvc | findstr /I /C:"STOPPED"
if %errorlevel% NEQ 0 (
sc query appidsvc | findstr /I /C:"OpenService FAILED 1060"
if %errorlevel% NEQ 0 (
echo. Failed to stop the Application Identity service.
echo.
echo.Press any key to continue . . .
pause>nul
if %family% NEQ 6 goto :eof
)
)
call rint Checking the services status.
sc query cryptsvc | findstr /I /C:"STOPPED"
if %errorlevel% NEQ 0 (
echo. Failed to stop the Cryptographic Services service.
echo.
echo.Press any key to continue . . .
pause>nul
goto :eof
)
:: ----- Delete the qmgr*.dat files -----
call rint Deleting the qmgr*.dat files.
del /s /q /f "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"
del /s /q /f "%ALLUSERSPROFILE%\Microsoft\Network\Downloader\qmgr*.dat"
:: ----- Renaming the softare distribution folders backup copies -----
call rint Deleting the old software distribution backup copies.
cd /d %SYSTEMROOT%
if exist "%SYSTEMROOT%\winsxs\pending.xml.bak" (
del /s /q /f "%SYSTEMROOT%\winsxs\pending.xml.bak"
)
if exist "%SYSTEMROOT%\SoftwareDistribution.bak" (
rmdir /s /q "%SYSTEMROOT%\SoftwareDistribution.bak"
)
if exist "%SYSTEMROOT%\system32\Catroot2.bak" (
rmdir /s /q "%SYSTEMROOT%\system32\Catroot2.bak"
)
if exist "%SYSTEMROOT%\WindowsUpdate.log.bak" (
del /s /q /f "%SYSTEMROOT%\WindowsUpdate.log.bak"
)
call rint Renaming the software distribution folders.
if exist "%SYSTEMROOT%\winsxs\pending.xml" (
takeown /f "%SYSTEMROOT%\winsxs\pending.xml"
attrib -r -s -h /s /d "%SYSTEMROOT%\winsxs\pending.xml"
ren "%SYSTEMROOT%\winsxs\pending.xml" pending.xml.bak
)
if exist "%SYSTEMROOT%\SoftwareDistribution" (
attrib -r -s -h /s /d "%SYSTEMROOT%\SoftwareDistribution"
ren "%SYSTEMROOT%\SoftwareDistribution" SoftwareDistribution.bak
if exist "%SYSTEMROOT%\SoftwareDistribution" (
echo.
echo. Failed to rename the SoftwareDistribution folder.
echo.
echo.Press any key to continue . . .
pause>nul
goto :eof
)
)
if exist "%SYSTEMROOT%\system32\Catroot2" (
attrib -r -s -h /s /d "%SYSTEMROOT%\system32\Catroot2"
ren "%SYSTEMROOT%\system32\Catroot2" Catroot2.bak
)
if exist "%SYSTEMROOT%\WindowsUpdate.log" (
attrib -r -s -h /s /d "%SYSTEMROOT%\WindowsUpdate.log"
ren "%SYSTEMROOT%\WindowsUpdate.log" WindowsUpdate.log.bak
)
:: ----- Reset the BITS service and the Windows Update service to the default security descriptor -----
call rint Reset the BITS service and the Windows Update service to the default security descriptor.
sc.exe sdset wuauserv DA;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)SAU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)
sc.exe sdset bits DA;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)SAU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)
sc.exe sdset cryptsvc DA;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)SAU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)
sc.exe sdset trustedinstaller DA;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)SAU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)
:: ----- Reregister the BITS files and the Windows Update files -----
call rint Reregister the BITS files and the Windows Update files.
cd /d %SYSTEMROOT%\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
:: ----- Resetting Winsock -----
call rint Resetting Winsock.
netsh winsock reset
:: ----- Resetting WinHTTP Proxy -----
call rint Resetting WinHTTP Proxy.
if %family% EQU 5 (
proxycfg.exe -d
) else (
netsh winhttp reset proxy
)
:: ----- Set the startup type as automatic -----
call rint Resetting the services as automatics.
sc.exe config wuauserv start= auto
sc.exe config bits start= delayed-auto
sc.exe config cryptsvc start= auto
sc.exe config TrustedInstaller start= demand
sc.exe config DcomLaunch start= auto
:: ----- Starting the Windows Update services -----
call rint Starting the Windows Update services.
net start bits
call rint Starting the Windows Update services.
net start wuauserv
call rint Starting the Windows Update services.
net start appidsvc
call rint Starting the Windows Update services.
net start cryptsvc
call rint Starting the Windows Update services.
net start DcomLaunch
:: ----- End process -----
call rint The operation completed successfully.
echo.Press any key to continue . . .
pause>nul
goto :eof
:: /*************************************************************************************/
:: Explore other online solutions.
:: void online();
:: /*************************************************************************************/
nline
call rint Looking for solutions Online.
start
goto :eof
:: /*************************************************************************************/
:: void online();
:: /*************************************************************************************/
nline
call rint Looking for solutions Online.
start
You must be registered for see links
goto :eof
:: /*************************************************************************************/
System requirements:
OS: Microsoft Windows® XP, Windows® Vista, Windows® 7, Windows® 8, Windows® 8.1, Windows® 10 and Windows® 10 Insider Preview.;
If the operating system is not compatible with this tool, display an error message and the tool will be closed.
Install notes:
1. Unzip and Run as administrator;
2. Enjoy!
Screenshots:
Virus free! 100% clean!
All credits go to Manuel F. Gil who made and shared the script with us!
File: Reset.Windows.Update.Agent.v11.0.0.8.7z
You must be registered for see links
1/61MD5: FA7539B89F29D2E13EA70C01E3E2E6D6
SHA1: ABE4A7ED5F31E000A920AD1ECB036A8EDC53558B
SHA256: A82D81346303667AADE5D24292DC19FF631AF08A5E0956ACBF3E657A73D217C2
Kind regards,
@Mirkec
in collaboration with TeamOS
Download links (Size: 356.94 KB):
You must be registered for see links
You must be registered for see links
You must be registered for see links
You must be registered for see links
You must be registered for see links
Last edited: