bladedanny Posted June 19, 2009 Posted June 19, 2009 Hi all, Im trying to get psexec to remotely run simsbac.bat on one of our servers. I'm trying: psexec \\servername simsbac.bat and im getting: simsbac.bat exited on servername with error code 1. I have tried the same code but connecting to another workstation which works fine, it's just when connecting to the server. The same error occurs with any command including cmd. The firewall is off and I am using full admin rights to both the workstation and the server. Also running simsbac.bat on the server localy works fine so it't not the .bat file. Any thoughts any one? Cheers, Dan
ChrisH Posted June 19, 2009 Posted June 19, 2009 Hi all, Im trying to get psexec to remotely run simsbac.bat on one of our servers. I'm trying: psexec \\servername simsbac.bat and im getting: simsbac.bat exited on servername with error code 1. I have tried the same code but connecting to another workstation which works fine, it's just when connecting to the server. The same error occurs with any command including cmd. The firewall is off and I am using full admin rights to both the workstation and the server. Also running simsbac.bat on the server localy works fine so it't not the .bat file. Any thoughts any one? Cheers, Dan I assume psexec \\servername simsbac.bat is a typo and that you havent tried the command with out the "\" between server name and file?
bladedanny Posted June 19, 2009 Author Posted June 19, 2009 no psexec \\servername simsbac.bat is the correct code, without a \ between them, as i said the code works fine when its psexec \\workstationname simsbac.bat it's just when connecting to the server.
BJG Posted June 19, 2009 Posted June 19, 2009 See if you can use it to get a simple app like Explorer to load on the server. (Couldn't even get this far when I just tried it - I think Symantec or DEP or something might be interfering with it.)
bladedanny Posted June 26, 2009 Author Posted June 26, 2009 Nope, can't get it to open explorer or IE.
ravindrani Posted June 23, 2010 Posted June 23, 2010 Try with credentials. psexec \\ravindranmani -u ravindran -p xxxx
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now