Jump to content

using psexec.exe in winpe 2.0


ximage

Recommended Posts

Hi folks,

Has anybody ever used Psexec.exe in winpe2.0 to execute an excutable file romotely? I tried to do this, but I got a error message below everytime.

Couldn't access 10.X.X.X:

Access is denied.

The command-line I typed is:

psexec.exe //10.X.X.X -u username -p password -i "C:\windows\system32\mspaint.exe"

Do you have any idea to solve this? I searched it with google and found a same issue at http://msfn.org/board/lofiversion/index.php/t106769.html, but I cannot get a solution with this.

Actually, I just want to find a way to run an exe on remote computer like the function of psexec.exe in winpe 2.0. If you have a vbscript or anything could work, please share me.

Thanks in advance.

Alex

Link to comment
Share on other sites


Hah, I got the solution.

I want to execute the following romotely.

pcIPAddress: 10.0.1.13 File Path: D:\Utility\ghostsrv.exe

What I did is

1. Share the folder Utility on the remote PC.

2. After loading winpe2.0 on your client PC, type "net use \\10.0.1.13\Utility" password /user:useraccount" to map the shared folder as a local volume.

3. Type "psexec.exe \\10.0.1.13 -u useraccount -p password -i d:\Utility\ghostsrv.exe", I found ghostsrv.exe had been launched successfully.

Cheers

Alex

Edited by ximage
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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...