Quantcast
Channel: Windows Server
Viewing all articles
Browse latest Browse all 26364

PsExeC - Stuck on Error

$
0
0

Hello,

I am really stuck on an error that is occurring when I am running PsExeC.

c:\psexec.exe \\%var1% -u \ -p c:\01SysAdmin\RebuildWMI.bat

produces this error:

PsExec could not start c:\01SysAdmin\RebuildWMI.bat on 192.168.1.12:
Logon failure: unknown user name or bad password.

If this makes sense, I'll describe my current environment . .. .

I am on a 2008 server, logged in on my own account; my credentials I have, is domain admin. My account that I am logged onto authenticates from domain1, but the server I am on is on domain2; the workstation that I am trying to reach out with PsExec to is a Win7 box - both the server which I am on & Win7 box are both on domain2.

My script successfully places my .bat file onto my target machine, Win7, but when it comes time to run the .bat script, I get that error from above.

Will, I can run the script fine on my test machines outside of this 2008 domain network, but once I stage my script to run on my network; it simply fails.

please excuse me if I posted in wrong forum.  v/r B Haz


Viewing all articles
Browse latest Browse all 26364

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>