1
0
-1

pc not on the domain it is in local workgroup would like to set up a Scheduled task on the pc to run audit_windows.vbs. 

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      I do this all the time. I create a batch file called audit.cmd at c:\scripts\ and schedule it to run daily with task scheduler.

      Here is the text of the batch file (audit_windows.vbs is also located in c:\scripts\)


      echo off
      cscript audit_windows.vbs
      exit

      Running OA in a virtual appliance on centos, the results are submitted to the OA server

      1. Ray Hoegen

        Thanks!

        I can run from the command line but when I set up in Task Scheduler I get and (0x1) error? Did you have to enter any arguments?

      CommentAdd your comment...
    2.  
      2
      1
      0

      Got it working added a cd c:\MyScipts\ to the batch file and it fixed it


      Thanks for your fix

      1. Phil

        glad to help!

      CommentAdd your comment...