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!
This conversation is currently closed to new comments.
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.
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 ;-)
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.
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.
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.
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.
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
AT Scheduler
Any help is welcome!