Automic Workload Automation

Expand all | Collapse all

Windows - run as administrator

Jump to Best Answer
  • 1.  Windows - run as administrator

    Posted 12-12-2014 02:56 PM
    Is there a way to have a job on a Windows Agent "Run as Administrator"?

    We are trying to use Automic to start and stop a service. When we run it manually on the machine, as the same user that Automic uses, it works, but when using the Schedule to execute it it hangs.

  • 2.  Windows - run as administrator

    Posted 12-15-2014 01:36 PM
    it sounds like a right is missing. 

    Try this - 
    Create a .bat file with the command. 
    From a cmd.exe window, execute the .bat file.

    (This is essentially what the OS Agent does.)

    What is the command in the Windows job?
    In some of my jobs that stop and start a service, I use the command 'net start <service>' and 'net stop <service>.
    I found the commands on Technet.

  • 3.  Windows - run as administrator
    Best Answer

    Posted 12-15-2014 04:43 PM
    You can also check to see if the user running the Agent has the right 'Log on as Batch Job' 

    Found mention of higher authorizations in the documentation.