How to Determine Which User Used to Map Share Drive

Share this article :


You want to determine which user was used to map a share drive in the Windows operating system environment.


Open the command prompt with Administrator right and execute any of below commands,

Option 1

C:\>wmic netuse get remotename,username

RemoteName      UserName
\\ITSITI\Test1  HOST1\daem
\\ITSITI\Test2  HOST1\daem

Option 2

C:\>wmic netuse where LocalName="Z:" get UserName /value


Note: The LocalName is referring to the drive letter.


Related posts

Ping Command
The System Administrator has set policies to prevent this installation
Enable Windows Command Prompt to Copy & Paste
How to Change Default HTTP Port for IIS (Internet Information Services Manager)
© 2017 ITsiti. All Rights Reserved
Powered by KEEM