Team OS : Your Only Destination To Custom OS !!

Welcome to TeamOS Community, Register or Login to the Community to Download Torrents, Get Access to Shoutbox, Post Replies, Use Search Engine and many more features. Register Today!

Direct Reset Windows Update Agent version 11.0.0.8 -=TeamOS=-

Mirkec

Uploader
Power User
Windows Modifier
✅ Verified Member
Member
Downloaded
57.6 GB
Uploaded
16 TB
Ratio
285.11
Seedbonus
329,011
Upload Count
83 (96)
Member for 6 years
Cqeb5.png


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 script is tested on these platforms by the author. It is likely to work on other platforms as well. If you try it and find that it works on another platform, please add a reply to let others know.


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);
:: /*************************************************************************************/
:print
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 :print %name% detected . . .

if %allow% EQU Yes goto permission

call :print 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 :print Stopping the Windows Update services.
net stop bits

call :print Stopping the Windows Update services.
net stop wuauserv

call :print Stopping the Windows Update services.
net stop appidsvc

call :print Stopping the Windows Update services.
net stop cryptsvc

call :print Canceling the Windows Update process.
taskkill /im wuauclt.exe /f

:: ----- Checking the services status -----
call :print 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 :print 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 :print 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 :print 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 :print 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 :print 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 :print 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 :print Reset the BITS service and the Windows Update service to the default security descriptor.

sc.exe sdset wuauserv D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)
sc.exe sdset bits D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)
sc.exe sdset cryptsvc D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)
sc.exe sdset trustedinstaller D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)

:: ----- Reregister the BITS files and the Windows Update files -----
call :print 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 :print Resetting Winsock.
netsh winsock reset

:: ----- Resetting WinHTTP Proxy -----
call :print Resetting WinHTTP Proxy.

if %family% EQU 5 (
proxycfg.exe -d
) else (
netsh winhttp reset proxy
)

:: ----- Set the startup type as automatic -----
call :print 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 :print Starting the Windows Update services.
net start bits

call :print Starting the Windows Update services.
net start wuauserv

call :print Starting the Windows Update services.
net start appidsvc

call :print Starting the Windows Update services.
net start cryptsvc

call :print Starting the Windows Update services.
net start DcomLaunch

:: ----- End process -----
call :print The operation completed successfully.

echo.Press any key to continue . . .
pause>nul
goto :eof
:: /*************************************************************************************/


:: Explore other online solutions.
:: void online();
:: /*************************************************************************************/
:eek:nline
call :print Looking for solutions Online.

start
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:

CqLfA.png

Cqc9m.png



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
1/61
MD5: FA7539B89F29D2E13EA70C01E3E2E6D6
SHA1: ABE4A7ED5F31E000A920AD1ECB036A8EDC53558B
SHA256: A82D81346303667AADE5D24292DC19FF631AF08A5E0956ACBF3E657A73D217C2


Kind regards,
@Mirkec
in collaboration with TeamOS ;)


Download links (Size: 356.94 KB):




 
Last edited:

SiteWizard

Uploader
Power User
✅ Verified Member
Member
Downloaded
224.8 GB
Uploaded
31.1 TB
Ratio
141.82
Seedbonus
644,530
Upload Count
12 (12)
Member for 9 years
@Mirkec thank you :)
 

moanes

Member
Downloaded
22.9 GB
Uploaded
13.6 GB
Ratio
0.59
Seedbonus
34
Upload Count
0 (0)
Member for 5 years
THANK YO SO MUCH
 

SlavkoPejic

Power User
✅ Verified Member
Member
Downloaded
200.5 GB
Uploaded
80.1 TB
Ratio
408.92
Seedbonus
324,868
Upload Count
0 (0)
Member for 5 years
Thanks
 

iki971

Member
Downloaded
168.9 GB
Uploaded
1.9 TB
Ratio
11.38
Seedbonus
28,064
Upload Count
0 (0)
Member for 7 years
This is awesome :eek::love: full necessity for everyday use (for work). Thanks a lot Mirkec and TeamOS collaborators (y)(y)(y)
 

mockneygeeza

Member
Downloaded
93.3 GB
Uploaded
37.3 GB
Ratio
0.4
Seedbonus
14
Upload Count
0 (0)
Member for 6 years
any fresh links?
 

Mirkec

Uploader
Power User
Windows Modifier
✅ Verified Member
Member
Downloaded
57.6 GB
Uploaded
16 TB
Ratio
285.11
Seedbonus
329,011
Upload Count
83 (96)
Member for 6 years
any fresh links?
Anon and bay servers are temporary down! Try a little bit latter! Both worked in the morning here!
 

mockneygeeza

Member
Downloaded
93.3 GB
Uploaded
37.3 GB
Ratio
0.4
Seedbonus
14
Upload Count
0 (0)
Member for 6 years
Anon and bay servers are temporary down! Try a little bit latter! Both worked in the morning here!

You are correct sir! just nabbed it from Anon!
Have a good day
 

malinoa66

Member
Downloaded
13.8 GB
Uploaded
11.9 GB
Ratio
0.87
Seedbonus
58
Upload Count
0 (0)
Member for 9 years
thanks
 

MALOUf

Member
Downloaded
15.1 GB
Uploaded
3.6 GB
Ratio
0.24
Seedbonus
92
Upload Count
0 (0)
Member for 5 years
Thanks
 

Yash Dedhia

Power User
✅ Verified Member
Member
Downloaded
139.4 GB
Uploaded
679.5 GB
Ratio
4.87
Seedbonus
262
Upload Count
0 (0)
Member for 9 years
Thankyou works great
 

CoffinDeath

Uploader
✅ Verified Member
Member
Downloaded
470.2 GB
Uploaded
3.2 TB
Ratio
6.99
Seedbonus
90,359
Upload Count
11 (13)
Member for 10 years
Thanks Bro
 

pascalwil

✅ Verified Member
Member
Downloaded
1.3 TB
Uploaded
36.2 TB
Ratio
28.57
Seedbonus
18,434
Upload Count
0 (0)
Member for 8 years
Thanks
 

mostar1970

Member
Downloaded
20.3 GB
Uploaded
98.4 MB
Ratio
0
Seedbonus
3
Upload Count
0 (0)
Member for 5 years
THANK YOU
 
Downloaded
969.7 GB
Uploaded
694.8 GB
Ratio
0.72
Seedbonus
73,597
Upload Count
0 (0)
Member for 6 years
Thanks, very good.
 

Eminescu33

Member
Downloaded
29.7 GB
Uploaded
8.1 TB
Ratio
278.46
Seedbonus
151,519
Upload Count
0 (0)
Member for 4 years
Thanks !
 
Top