Rapid Patching of Imaged Machines
After reimaging machines I have the need to rapidly path them. SMS takes a little too long to catch up with the clients and I need to have them patched right after. I have been doing this manually and was wondering if anyone has any other options to automate this? Thanks for any help.
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
Radia709
18 years ago
Posted by:
sdexpert
18 years ago
Posted by:
morpheus
18 years ago
We use a Microsoft Update Server for our patch manage ment and I have been able to deploy patches immediatley after imaging by running these commands....
REM Force client to check in and update to latest WUS client
%SystemRoot%\System32\wuauclt.exe /InstallAUclient
REM Detect missing patches
%SystemRoot%\System32\wuauclt.exe /resetauthorization /detectnow
REM Download patches immediatley
%SystemRoot%\System32\wuauclt.exe /downloanowfast
These registry keys are also necessary to point the client to your internal WUS.
Registry Keys:
("HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate","WUServer","REG_SZ","HTTP://Admin02")
("HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate","WUStatusServer","REG_SZ","HTTP://Admi("HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU","UseWUServer","REG_DWORD", "1")
Feel free to drop me an email if you need clarification. This solution is free and it works GREAT! We support 1,200+ clients like this.
REM Force client to check in and update to latest WUS client
%SystemRoot%\System32\wuauclt.exe /InstallAUclient
REM Detect missing patches
%SystemRoot%\System32\wuauclt.exe /resetauthorization /detectnow
REM Download patches immediatley
%SystemRoot%\System32\wuauclt.exe /downloanowfast
These registry keys are also necessary to point the client to your internal WUS.
Registry Keys:
("HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate","WUServer","REG_SZ","HTTP://Admin02")
("HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate","WUStatusServer","REG_SZ","HTTP://Admi("HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU","UseWUServer","REG_DWORD", "1")
Feel free to drop me an email if you need clarification. This solution is free and it works GREAT! We support 1,200+ clients like this.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.