HI All
I am trying to run a batch script via Group Policy that does the following
- net stop wuauserv
- rename c:\windows\SoftwareDistribution softwaredistribution.xxx
- net start wuauserv
Steps 1 and 3 work fine but on Step 2 I get an Access Denied message when the policy is executed. The same happens when I run the batch file manually.
When I manually run the batch file, with an elevated command line, it works.
Is there a way I could execute an elevated command line through the GPO?
Thanks
Ivan