Discussion Locked

AT Scheduler

0 helpful
11 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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!

11 replies

by mckaytech

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

by jaret.langston

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!!

by garydw

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.

by garydw

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.

by lee_mikej

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.

by pc handyman

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.

This discussion is closed to new replies.