Runas error 1326


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
 
Ad

Advertisements

V

Vitic

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

i do the same with runasspc. You can call runas spc similarly runas but
with a password

runasspc.exe /program:"e:\installfile.exe" /domain:"localhost"
/user:"localadmin" /password:"password"

i install patches and other software by this way. You can also encrypt
the complete call to hide the login and other informations

runasspc.exe /cryptfile:"d:\temp\install.spc" /quiet

You find it on:
robotronic.de/runasspcen.html

hope it helps
 

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

Similar Threads

runas error 1326 1
Erroneus 1326 error with runas command 0
Error on RUNAS 1326, even with the correct password 2
System Error 1326 has occurred 3
Runas 2
runas 0
RUNAS Command 1
Runas command 5

Top