General discussion

Locked

AT Scheduler

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!

This conversation is currently closed to new comments.

11 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

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

Collapse -

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

Collapse -

AT Scheduler

by gary 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.

Collapse -

AT Scheduler

by jaret.langston In reply to AT Scheduler

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


Thanks!!

Collapse -

AT Scheduler

by gary 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.

Collapse -

AT Scheduler

by jaret.langston In reply to AT Scheduler

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


Thanks!!

Collapse -

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.

Collapse -

AT Scheduler

by jaret.langston In reply to AT Scheduler

Poster rated this answer

Collapse -

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.

Collapse -

AT Scheduler

by jaret.langston In reply to AT Scheduler

Poster rated this answer

Back to Windows Forum
11 total posts (Page 1 of 2)   01 | 02   Next

Related Discussions

Related Forums