General discussion

  • Creator
    Topic
  • #2091490

    AT Scheduler

    Locked

    by jaret.langston ·

    When I call a script to un-install IBM Antivirus from a workstation, it works fine. If I use an AT command to schedule the script, it errors out on the un-install portion. Is there a better way to call scripts from remote workstations than an AT? Ora better way to call it with an AT?

    Any help is welcome!

All Comments

  • Author
    Replies
    • #3861636

      AT Scheduler

      by mckaytech ·

      In reply to AT Scheduler

      If these are NT Workstations, I assume it is probably erroring out because of a permissions issue. In particular, when triggered by AT, the script is probably running in the context of the logged-on user and unless that user has local administrative authority on that machine, an un-install program would be expected to choke because of inability to write to the registry.

      You might have better luck running it as a logon script.

      paul

      • #3880095

        AT Scheduler

        by jaret.langston ·

        In reply to AT Scheduler

        When testing, I was logged into the machine as administrator. Cant use a login script, b/c this operation must take place after hours (6PM or later) and do not have a warm body onsite to log all the clients on… also have about 6000 to do 😉

        Thanks for the response!!

    • #3880211

      AT Scheduler

      by garydw ·

      In reply to AT Scheduler

      You could try running the AT command with a /interactive switch in the command line as it will use the logged in users rights which may resovle the problem.

      • #3880096

        AT Scheduler

        by jaret.langston ·

        In reply to AT Scheduler

        Have tried running as interactive and not interactive and logged in as administrator….

        Thanks!!

    • #3880210

      AT Scheduler

      by garydw ·

      In reply to AT Scheduler

      You could try running the AT command with a /interactive switch in the command line as it will use the logged in users rights which may resovle the problem.

      • #3880097

        AT Scheduler

        by jaret.langston ·

        In reply to AT Scheduler

        Have tried running as interactive and not interactive and logged in as administrator….

        Thanks!!

    • #3883462

      AT Scheduler

      by lee_mikej ·

      In reply to AT Scheduler

      What account is the schedule (AT) service using?
      If you using the local or system accounts for the service it may not have enough rights to run you script/uninstall.

      The local/system accounts can’t valiated by the domain controller so they will not be able to access network resources.

      To verify it isn’t an authority problem & to allow access to network resources, change the schedule service account to logon with a domain administrators account and restart the service.

      Is the uninstallapplication 16 bit?
      Cause unless 16bit apps have access to
      the interactive desktop, i.e. /interactive, they most likely will not start as they are required run under Ntvdm.

      Re-enter your AT command with /interactive and test.

      Good luck, Mike.

    • #3868063

      AT Scheduler

      by pc handyman ·

      In reply to AT Scheduler

      If you are wanting to do specialized batches that are not part of a regularly scheduled job you might look into the rclient command. This will allow you to remotely logon to the remote computer with a command prompt and run a job as if you were at the remote computer. Hope this helps.

    • #3839951

      AT Scheduler

      by jaret.langston ·

      In reply to AT Scheduler

      This question was closed by the author

Viewing 5 reply threads