Running a command on other server


I am looking for a way to run commands on a remote nt, and I need it to run as an at task.
I tried to use rclient/rcmd, but when noone is logged on - It doesn`t run because "The screen handle is invalid".

I don`t want to use the rsh-service either.

Any ideas?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Get the AT manager on the Microsoft NT resource kit. With that application you can manage any scheduler service from any server. Then, you can run whatever you need. Remember to start the scheduler service on automatic since it's disabled by default.
You can find the resource kit software on the microsoft site.
Application need to be run as a administrator.
or use at \\computername

Kind regards

stam061398Author Commented:
This is not good for me.
1. If the clocks are not synchronized, it will run by the target host time.

2. The most important - I need it to run synchronly - I need to take a file that the scripts generates, that is the reason I must know when the script has ended.
use "net time" on the server, have it run all the time so the times are synched.
You can use SOON, a line command that's similar to AT, but you write the amount of seconds to execute the command instead of the execution hour.
But, as cmarks55 said, you need to get the two computers synchronized. Or calculate yourself the time difference and input it manually in the AT or SOON command.

More. If you need to know when the script has ended in the other machine, you can use WAITFOR. It's another line command that waits until a signal is given across the network; and with the corresponding parameters you can send the signal.

Both commands, SOON and WAITFOR, come with NT Resource Kit.

Good luck :)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.