Jump to content

Recommended Posts

Posted

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

Posted
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?

Posted

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.

Posted
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.)
  • 11 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...