Skip to content

Commit 6461f27

Browse files
Ken SykoraMischa Taylor
Ken Sykora
authored and
Mischa Taylor
committed
Enable Windows Update to automatically download updates for other products
1 parent 3f47eee commit 6461f27

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

AUTHORS

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# If you're submitting a patch, please add your name here in alphabetical order as part of the patch.
33
#
44
Julian C. Dunn <[email protected]>
5+
Ken Sykora <[email protected]>
56
Mischa Taylor <[email protected]>
67
Ross Smith II <[email protected]>
78
Stefan Scherer <[email protected]>

floppy/microsoftupdate.bat

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!-- :
2+
@echo off
3+
echo ==^> Enabling updates for other products from Microsoft Update
4+
net stop wuauserv
5+
6+
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v EnableFeaturedSoftware /t REG_DWORD /d 1 /f
7+
8+
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v IncludeRecommendedUpdates /t REG_DWORD /d 1 /f
9+
10+
cscript //nologo "%~f0?.wsf"
11+
12+
net start wuauserv
13+
exit /b
14+
15+
----- Begin wsf script --->
16+
<job><script language="VBScript">
17+
Set ServiceManager = CreateObject("Microsoft.Update.ServiceManager")
18+
Set NewUpdateService = ServiceManager.AddService2("7971f918-a847-4430-9279-4a52d1efe18d",7,"")
19+
</script></job>

0 commit comments

Comments
 (0)