Windows Thread, PSEXEC error code 1 in Technical; Hi all,
Im trying to get psexec to remotely run simsbac.bat on one of our servers.
I'm trying:
Code:
psexec ...
-
19th June 2009, 02:06 PM #1 PSEXEC error code 1
Hi all,
Im trying to get psexec to remotely run simsbac.bat on one of our servers.
I'm trying:
Code:
psexec \\servername simsbac.bat
and im getting:
Code:
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
-
-
19th June 2009, 03:15 PM #2 
Originally Posted by
bladedanny
Hi all,
Im trying to get psexec to remotely run simsbac.bat on one of our servers.
I'm trying:
Code:
psexec \\servername simsbac.bat
and im getting:
Code:
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
Code:
psexec \\servername simsbac.bat
is a typo and that you havent tried the command with out the "\" between server name and file?
-
-
19th June 2009, 03:25 PM #3 no
Code:
psexec \\servername simsbac.bat
is the correct code, without a \ between them, as i said the code works fine when its
Code:
psexec \\workstationname simsbac.bat
it's just when connecting to the server.
-
-
19th June 2009, 03:39 PM #4
- Rep Power
- 10
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.)
-
-
26th June 2009, 01:26 PM #5 Nope, can't get it to open explorer or IE.
-
-
23rd June 2010, 08:34 PM #6
- Rep Power
- 0
Try with credentials
Try with credentials.
psexec \\ravindranmani -u ravindran -p xxxx
-
SHARE:
Similar Threads
-
Replies: 5
Last Post: 17th June 2009, 03:56 PM
-
Replies: 3
Last Post: 16th June 2009, 09:27 AM
-
By Stuart_C in forum Windows
Replies: 0
Last Post: 25th November 2008, 11:27 AM
-
By HodgeHi in forum Windows Vista
Replies: 0
Last Post: 17th September 2008, 09:54 AM
-
By chrbb in forum Windows
Replies: 1
Last Post: 21st April 2008, 03:05 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules