Initial commit
This commit is contained in:
		
							
								
								
									
										12
									
								
								Packer/scripts/microsoft-updates.bat
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										12
									
								
								Packer/scripts/microsoft-updates.bat
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| net stop wuauserv | ||||
|  | ||||
| reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v EnableFeaturedSoftware /t REG_DWORD /d 1 /f | ||||
|  | ||||
| reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v IncludeRecommendedUpdates /t REG_DWORD /d 1 /f | ||||
|  | ||||
| echo Set ServiceManager = CreateObject("Microsoft.Update.ServiceManager") > A:\temp.vbs | ||||
| echo Set NewUpdateService = ServiceManager.AddService2("7971f918-a847-4430-9279-4a52d1efe18d",7,"") >> A:\temp.vbs | ||||
|  | ||||
| cscript A:\temp.vbs | ||||
|  | ||||
| net start wuauserv | ||||
		Reference in New Issue
	
	Block a user
	 Chris Long
					Chris Long