I'm in a Windows AD environment that isn't very conducive to running
startup scripts to achieve my goal. What I am trying to do is copy a
vbs script to a remote client machine, and then execute that script on
that machine using my credentials. The script itself, when manually
run on a client works perfectly. What I can't get to work is the
remote execution of the script. I can start a process for notepad.exe
and calc.exe, but I cannot start the script itself. Any ideas?

RE: Remote Code Execution by Sebastian

Sebastian
Thu Dec 29 11:02:01 CST 2005

"Pinger" wrote:

> I'm in a Windows AD environment that isn't very conducive to running
> startup scripts to achieve my goal. What I am trying to do is copy a
> vbs script to a remote client machine, and then execute that script on
> that machine using my credentials. The script itself, when manually
> run on a client works perfectly. What I can't get to work is the
> remote execution of the script. I can start a process for notepad.exe
> and calc.exe, but I cannot start the script itself. Any ideas?
>

Have you tried PsExec from Sysinternals?
http://www.sysinternals.com/Utilities/PsExec.html
(You could even try to use the parameter -c to copy the script automatically)

Re: Remote Code Execution by Pinger

Pinger
Thu Dec 29 11:20:41 CST 2005

*sigh*. I tried it before but was never successful. I just realized
why. If I execute the script as the system account instead of my own
credentials (even though I'm an admin), it runs perfectly. Thank you
so much!!