psexec remote map network drive not working
-
Tuesday, January 29, 2013 7:12 PM
I used psexec tool to remotely connect to remote PC cmd.exe. I could tell it connected because at the top of command line windows it says \\pcname: cmd.exe and I see folders on remote pc with Dir command.
net use O: \\servername\sharename /user:domain\username password
result: the command completed successfully
However, I don't see network map drive letter O: anywhere.
I logon remote pc and see no mapped network drives at all.
Did I miss something? thanks.
All Replies
-
Tuesday, January 29, 2013 7:41 PM
The mapped drive will be only visible under the console session generated by psexec. You can see it by using this command from within the psexec command prompt:
net use
- Marked As Answer by NgocDuc Wednesday, January 30, 2013 3:06 PM
-
Tuesday, January 29, 2013 7:50 PM
I was thinking that I could map network drive for remote user without the need of remote control! Is there a way I can do that?
Thanks for respond, Oberwald.
-
Tuesday, January 29, 2013 8:13 PM
I was thinking that I could map network drive for remote user without the need of remote control! Is there a way I can do that?
Thanks for respond, Oberwald.
The only way to do this is under the foreground session of the remote user. You can, of course, copy a shortcut to his desktop that uses this command line:
net use O: \\servername\sharename /user:domain\username password
Now ask the user to double-click this shortcut. Remember that the user will be able to see the password . . .

