Author: mhall50
Subject: psexec orphaned mapped drives
Posted: 01 April 2013 at 3:36pm
This successfully disconnected the mapped drive that had the disconnected status.
Subject: psexec orphaned mapped drives
Posted: 01 April 2013 at 3:36pm
This successfully disconnected the mapped drive that had the disconnected status.
C:\PSTools>psexec -i -s net use f: /delete
The key is that the system account must be used to disconnect the mapped drive.
That is, use the -c switch as shown in the example above.