PsExec or psexec.exe is a command-line utility built for Windows. It allows administrators to run programs on local and more commonly remote computers
Open the command Prompt:Type:
whoami
cd %userprofile%
cd desktop
psexec.exe -i -s cmd
To delete the connected drive
net use /del m:
net use /del s:
To map the new drive
net use m: \\ /p:y
cd %userprofile%
cd desktop
psexec.exe -i -s cmd
To delete the connected drive
net use /del m:
net use /del s:
To map the new drive
net use m: \\ /p:y
Download link:
https://docs.microsoft.com/en-us/sysinternals/downloads/psexec
Comments
Post a Comment