Link to home
Start Free TrialLog in
Avatar of mcmoser
mcmoser

asked on

Execute file remotely as admin

Hello,

I'd like to be able to execute a file (batch file) on a remote machine on our network using a username / password. Can this be done? Note that the batch file is to be run on the remote machine.

The systems it will be used on are win2k & XP.

Thanks.
SOLUTION
Avatar of vinnyd79
vinnyd79

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mcmoser
mcmoser

ASKER

With this the process / services works fine locally, but remotely i get "object required: 0x1a". I also get the same message when running commands locally or remotely.

I do have a reference to wmi 1.2

Any ideas?
The remote machine is Win2k or XP?
Avatar of mcmoser

ASKER

The remote machine can be either XP or 2000. My machine is XP.
ASKER CERTIFIED SOLUTION
Avatar of David Lee
David Lee
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mcmoser

ASKER

Hi BlueDevilFan,

That option does work, but i'm gonna see if i can't get it going without it. If I can't, i'll accept your answer.

Thanks
No problem.