The following steps assume that you've unzipped Pstools to C:\TEMP and all the executables are in there.
- Launch a command prompt as Administrator.
- CD \TEMP
- psexec -i -s cmd.exe
This launches a new command prompt window, and step 4 should be performed in that new window. - net use Z: \\servername_OR_IP\sharedfolder /u:username /persistent:yes
Provide the credentials of a user having access to the shared folder.
If you need to remove it,
- Launch a command prompt as Administrator.
- CD \temp
- psexec -i -s cmd.exe
This launches a new window. Step 4 should be entered in that window. - net use Z: /delete