Windows 2008 Patch Scripting & UAC
I am in a network environment where I need to use vbscript to do server patching. I have scripts set up that work have great automation and work fine on 200+ Windows 2003 servers. We are going to be migrating to Windows 2008, and I've been hitting a brick
wall with the scripting for that.
The script I use runs as a scheduled task under the System account. When it tries to launch a patch, the UAC prompts. In my environment, I can't turn the UAC off. Also, I can't use WSUS, GPO's or SMS. I have tried to make a script that creates scheduled
tasks to execute the scripts directly. Again, it tries to execute, but prompts. I have tried using the Principal.RunLevel =1, but that doesn't seem to help.
Whether direct in a vbscript, by a script-generated scheduled task, or however:
Is there a way to execute a Windows 2008 patch using automation, without any interrupting pop-ups or prompts, using just the tools (vbscripts, tasks, etc.) found in Windows 2008?
Thanks!
Justin
June 18th, 2012 7:23am
Hi Justin,
Thanks for posting in Microsoft TechNet forums.
I suggest we check the information in the thread below to see if it is helpful in your situation:
Solution: How to run PowerShell Script without UAC restriction on server 2008.
http://social.technet.microsoft.com/Forums/en/winservergen/thread/a6cecafa-39b6-4319-800f-700a6713a49c
Regards
KevinTechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
June 19th, 2012 1:52am
Hi Justin,
Thanks for posting in Microsoft TechNet forums.
I suggest we check the information in the thread below to see if it is helpful in your situation:
Solution: How to run PowerShell Script without UAC restriction on server 2008.
http://social.technet.microsoft.com/Forums/en/winservergen/thread/a6cecafa-39b6-4319-800f-700a6713a49c
Regards
KevinTechNet Community Support
June 19th, 2012 2:04am


