Skip to content
This repository was archived by the owner on Mar 25, 2023. It is now read-only.

Commit 81151e4

Browse files
committed
Update to version 10.5.3.6
1 parent a905c2e commit 81151e4

File tree

2 files changed

+99
-18
lines changed

2 files changed

+99
-18
lines changed

README.md

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,13 @@
1313
<img src="https://img.shields.io/badge/stability-frozen-blue.svg" alt="Status">
1414
</a>
1515
<a href="#changelog">
16-
<img src="https://img.shields.io/badge/release-v10.5.3.5-blue.svg" alt="Version">
16+
<img src="https://img.shields.io/badge/release-v10.5.3.6-blue.svg" alt="Version">
1717
</a>
1818
<a href="#changelog">
19-
<img src="https://img.shields.io/badge/update-december-yellowgreen.svg" alt="Update">
19+
<img src="https://img.shields.io/badge/update-juny-yellowgreen.svg" alt="Update">
20+
</a>
21+
<a href="https://gallery.technet.microsoft.com/scriptcenter/Reset-Windows-Update-Agent-d824badc">
22+
<img src="https://img.shields.io/badge/downloads-%2B500K-green.svg" alt="License">
2023
</a>
2124
<a href="#license">
2225
<img src="https://img.shields.io/badge/license-MIT%20License-green.svg" alt="License">
@@ -56,6 +59,45 @@ This page will help you get started with Reset Windows Update Tool (Script).
5659
<a name="changelog"></a>
5760
## :information_source: Changelog
5861

62+
**10.5.3.6** (06/07/2018) [+500K Downloads Celebration](https://gallery.technet.microsoft.com/scriptcenter/Reset-Windows-Update-Agent-d824badc)
63+
64+
* <table border="0" cellpadding="4">
65+
<tr>
66+
<td><strong>
67+
Requirements:
68+
</strong></td>
69+
<td>
70+
Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1
71+
and Windows 10
72+
</td>
73+
</tr>
74+
<tr>
75+
<td>
76+
<strong>Filename:</strong>
77+
</td>
78+
<td>
79+
<a href="https://github.com/ManuelGil/Script-Reset-Windows-Update-Tool">
80+
ResetWUEng.cmd
81+
</a>
82+
</td>
83+
</tr>
84+
<tr>
85+
<td>
86+
<strong>Changes:</strong>
87+
</td>
88+
<td>
89+
<ul>
90+
<li>
91+
Verification of services restore
92+
</li>
93+
<li>
94+
Force Group Policy Update.
95+
</li>
96+
</ul>
97+
</td>
98+
</tr>
99+
</table>
100+
59101
**10.5.3.5** (12/22/2017)
60102

61103
* <table border="0" cellpadding="4">

ResetWUEng.cmd

Lines changed: 55 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
:: ==================================================================================
1+
:: ==================================================================================
22
:: NAME: Reset Windows Update Tool.
33
:: DESCRIPTION: This script reset the Windows Update Components.
44
:: AUTHOR: Manuel Gil.
5-
:: VERSION: 10.5.3.5
5+
:: VERSION: 10.5.3.6 [+500K Downloads Celebration]
6+
:: WEBSITE: http://wureset.com
67
:: ==================================================================================
78

89

@@ -154,6 +155,7 @@ goto :eof
154155
echo. Can this using a business or test version.
155156
echo.
156157
echo. if not, verify that your system has the correct security fix.
158+
157159
echo.
158160

159161
echo.Press any key to continue . . .
@@ -236,11 +238,12 @@ goto :eof
236238
echo. 10. Cleans up the superseded components.
237239
echo. 11. Deletes any incorrect registry values.
238240
echo. 12. Repairs/Resets Winsock settings.
239-
echo. 13. Searches Windows updates.
240-
echo. 14. Explores other local solutions.
241-
echo. 15. Explores other online solutions.
242-
echo. 16. Downloads the Diagnostic Tools.
243-
echo. 17. Restarts your PC.
241+
echo. 13. Force Group Policy Update.
242+
echo. 14. Searches Windows updates.
243+
echo. 15. Explores other local solutions.
244+
echo. 16. Explores other online solutions.
245+
echo. 17. Downloads the Diagnostic Tools.
246+
echo. 18. Restarts your PC.
244247
echo.
245248
echo. ?. Help. 0. Close.
246249
echo.
@@ -274,14 +277,16 @@ goto :eof
274277
) else if %option% EQU 12 (
275278
call :winsock
276279
) else if %option% EQU 13 (
277-
call :updates
280+
call :gpupdate
278281
) else if %option% EQU 14 (
279-
call :local
282+
call :updates
280283
) else if %option% EQU 15 (
281-
call :online
284+
call :local
282285
) else if %option% EQU 16 (
283-
call :diagnostic
286+
call :online
284287
) else if %option% EQU 17 (
288+
call :diagnostic
289+
) else if %option% EQU 18 (
285290
call :restart
286291
) else if %option% EQU ? (
287292
call :help
@@ -334,6 +339,9 @@ goto :eof
334339
call :print Stopping the Windows Update services.
335340
net stop cryptsvc
336341

342+
call :print Canceling the Windows Update process.
343+
taskkill /im wuauclt.exe /f
344+
337345
:: ----- Checking the services status -----
338346
call :print Checking the services status.
339347

@@ -437,8 +445,10 @@ goto :eof
437445
:: ----- Reset the BITS service and the Windows Update service to the default security descriptor -----
438446
call :print Reset the BITS service and the Windows Update service to the default security descriptor.
439447

440-
sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
441-
sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
448+
sc.exe sdset wuauserv D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)
449+
sc.exe sdset bits D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)
450+
sc.exe sdset cryptsvc D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)
451+
sc.exe sdset trustedinstaller D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCDCLCSWRPWPDTLCRSDRCWDWO;;;SO)(A;;CCLCSWRPWPDTLOCRRC;;;SY)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;WD)
442452

443453
:: ----- Reregister the BITS files and the Windows Update files -----
444454
call :print Reregister the BITS files and the Windows Update files.
@@ -496,9 +506,11 @@ goto :eof
496506

497507
:: ----- Set the startup type as automatic -----
498508
call :print Resetting the services as automatics.
499-
sc config wuauserv start= auto
500-
sc config bits start= auto
501-
sc config DcomLaunch start= auto
509+
sc.exe config wuauserv start= auto
510+
sc.exe config bits start= delayed-auto
511+
sc.exe config cryptsvc start= auto
512+
sc.exe config TrustedInstaller start= demand
513+
sc.exe config DcomLaunch start= auto
502514

503515
:: ----- Starting the Windows Update services -----
504516
call :print Starting the Windows Update services.
@@ -889,6 +901,33 @@ goto :eof
889901
:: /*************************************************************************************/
890902

891903

904+
:: Forcing group policy update.
905+
:: void gpupdate();
906+
:: /*************************************************************************************/
907+
:gpupdate
908+
call :print Forcing group policy update.
909+
910+
if %family% NEQ 5 (
911+
gpupdate /force
912+
) else (
913+
echo.Sorry, this option is not available on this Operative System.
914+
)
915+
916+
if %errorlevel% EQU 0 (
917+
echo.
918+
echo.The operation completed successfully.
919+
) else (
920+
echo.
921+
echo.An error occurred during operation.
922+
)
923+
924+
echo.
925+
echo.Press any key to continue . . .
926+
pause>nul
927+
goto :eof
928+
:: /*************************************************************************************/
929+
930+
892931
:: Search Updates.
893932
:: void updates();
894933
:: /*************************************************************************************/

0 commit comments

Comments
 (0)