AT Log On

J

Jason Paulson

I am attempting to run a script on remote computers to do
an install. I want to install the program from a network
drive, however, the local service account does not have
access to that drive, how can I remotely start the AT
service with a different username?
 
R

Ray at

Go into the scehduled tasks in Windows Explorer, and you will see an
additional menu item - advanced. Click that and then click the AT service
account option. You can set the account to run with domain credentials. Be
aware that if you use an account that requires password changes (such as
your own account), your AT tasks will fail when you change your password if
you do not update this. The same applies to services or anything else that
caches logon credentials itself.

Ray at work
 
J

Jason Paulson

I wanted to change this account remotely, without having
to update each machine individually. Is there a way that
this can be done through a CMD prompt?
 
K

Kevin Gould

Check out schtasks
Jason Paulson said:
I wanted to change this account remotely, without having
to update each machine individually. Is there a way that
this can be done through a CMD prompt?
 
M

MadDHatteR

The other way I've heard of doing this is to create and configure the task
on your local box as you wish it to be set up on the remote boxes. Add
whatever credentials are needed, etc. Then copy the appropriate *.job file
from %systemroot%\tasks on the local box to the %systemroot%\tasks folder on
the various remote boxes.

I'm not sure about this -- give it a try first.

\\ MadDHatteR
 
R

Ritchie

Jason Paulson said:
I am attempting to run a script on remote computers to do
an install. I want to install the program from a network
drive, however, the local service account does not have
access to that drive, how can I remotely start the AT
service with a different username?

Use JT.EXE (free d/l from M$, search this group for link) which
allows you to specfiy credentials. Alternatively, you could script
the built-in RUNAS utility using SANUR, something like:-

at \\pc1 10:10 cmd /c runas /u:dom\usr "prog.exe /a /b" ^| sanur p455w0rd

Runas Automation Utility
www.commandline.co.uk/sanur/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top