Is there a way to disable the UAC for this domain account on this DC? The program requires admin privileges to run and the task will just time out if no one is there to accept.
Have a look to this Microsoft utility named PsExec.
AFAIK. You can use it to develop a script that runs using administrative privileges.
For more information, please post in "The Official Scripting Guys Forum!".
I almost got this working, but its still prompting for elevation even with psexec.
Here is the command I ran (I want to have a scheduled task run this)
c:\psTools\psexec -u mydom\myuser -p mypass "C:\Program Files\progfldr1\progfldr1\myprog.exe"
When I run it I get the following error message: PsExec could not start C:\Program Files\myprogram.exe: The requested operation requires elevation.
- Edited by red888 Thursday, March 17, 2011 5:36 PM oops!
Hi,
You may try to configure some of the policies to control the UAC prompt. However, this may reduce the security of the system.
http://technet.microsoft.com/en-us/library/dd835564(WS.10).aspx
Hello there,
May be you can run your script through Task Scheduler, and set the option, "Run with highest privilages"
This will make sure, you script will be run with elevated privilages.
HTH
"