G
Guest
From a batch file, I am trying to install a program to a computer on our
network remotely. I have the remote computers local admin credentials, which
I call from the batch file, using the format - runas /user:%1\administrator
"command.cmd". %1 is obviously the local machine name.
When I run the bat file it requests the password, which it should, but then
it gets weird. At first it gave me the runas error 1326: about an unknown
user or incorrect password. I then added the /netonly switch and now I get
an Unable to run error stating The system cannot find the path specified.
The only path in the cmd is %path%. Any ideas? I'm stumped.
Thanks,
EJS
network remotely. I have the remote computers local admin credentials, which
I call from the batch file, using the format - runas /user:%1\administrator
"command.cmd". %1 is obviously the local machine name.
When I run the bat file it requests the password, which it should, but then
it gets weird. At first it gave me the runas error 1326: about an unknown
user or incorrect password. I then added the /netonly switch and now I get
an Unable to run error stating The system cannot find the path specified.
The only path in the cmd is %path%. Any ideas? I'm stumped.
Thanks,
EJS