Group Policy – Running batch script with an administrative command line

Home Forums Microsoft Networking and Management Services GPO Group Policy – Running batch script with an administrative command line

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    ivandavids
    Member
    #162167

    Hi All

    I am trying to run a batch script via Group Policy that does the following
    net stop wuauserv
    rename c:windowsSoftwareDistribution softwaredistribution.old
    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

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.