Jump to content

Unable to run program in user context with PSEXEC


ur
 Share

Recommended Posts

When I run a program in remote vm virtualbix machine windows 7 64 bit with psexec from my current machine.
 
It is working fine in system context.
C:\Users\kirud01>"C:\Software\application packaging\PsTools\PsExec.exe" -s -i -d "\\erwin-pc" -c -f "C:\Build\delete.exe"
 
But when I run the same in user context i.e., without -s parameter.
The screen is getting freezed in the remote machine.
0V6RFa.png
Could you please help me on this.
If possible any alternatives for PSEXEC in AutoIT code itself.
Link to comment
Share on other sites

  • Moderators

@ur if your question is solely how  to get PSExec to work in your VM, perhaps the SysInternals forum would be a better place to post. Regarding "any alternatives for PSEXEC in AutoIT (sic)" there is of course RunAs but as to what you can do remotely, without you explaining what exactly you're trying to do remotely it is a bit difficult to offer suggestions.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

43 minutes ago, JLogan3o13 said:

@ur if your question is solely how  to get PSExec to work in your VM, perhaps the SysInternals forum would be a better place to post. Regarding "any alternatives for PSEXEC in AutoIT (sic)" there is of course RunAs but as to what you can do remotely, without you explaining what exactly you're trying to do remotely it is a bit difficult to offer suggestions.

I am trying to copy an executable from my machine to the remote machine(any location) and execute there with the user credentials provided by us.

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...