Windows 7 and UAC
Posted on 2011-04-19
Hi guys hope you are well and can assist.
Environment: WinXP and Win7 machines.
Task: Copy a file to the %windir%\system32 folder.
Outcome: Works for XP, does not work for Windows 7, even if you run the task as a domain admin - you get access denied. It WILL work however, if you run the task as ADMINISTRATOR.
Now, I know that this is UAC.
My question is.
Now, we use Altiris to deploy batch files to 1000s of machines. This runs as domain admin.
How can you run a batch file with elevated privileges so that you can write to the system32 folder on Windows 7 machines?
Any help greatly appreciated.