How do I find out where a network drive on my work machine is mapped to?

One of the four has the location in brackets next to it but the other three don't.

  • "One of the four has the location in brackets next to it but the other 3 don't." -- It looks weird. Can you upload an image illustrating this situation?
    – Jimm Chen
    Feb 1, 2012 at 12:13
  • Better answer at superuser.com/q/465038/2366. Oct 19, 2018 at 15:05

3 Answers 3


Go to Start » Run, type in cmd and press OK.

In the cmd box, paste the following, then press Enter to run it.

wmic path Win32_LogicalDisk Where DriveType="4" get DeviceID, ProviderName

Doing the above but typing in NET USE instead of copying the above also yields the same result.


In Windows Explorer, you can also switch the view to "Details" and right-click the header to add a column named "Network location":

Windows Explorer Network Location

Helps if the admin has disabled CMD for you (!)

  • I couldn't find "Network Location" on the list on Win 7 Pro.
    – pghcpa
    Sep 24, 2015 at 22:54
  • @pghcpa I see the option only in the root of "My Computer", not inside any of the network drives. Are you looking there? Sep 25, 2015 at 8:13
  • note* This gives the share path, but not the disk path.
    – Ben Plont
    Jan 23, 2018 at 18:37
  • if your drive is at location '\\name\Data1' you can retrieve the IP by: 'ping name' May 18, 2018 at 13:26
  • Also works on Win8.1 Enterprise. Thanks!
    – cxw
    Jan 25, 2019 at 14:59

Sometimes the net use or the Win32_LogicalDisk will not show some of the mapped drives, powershell cmd:

gwmi win32_mappedlogicaldisk | select name, providername 

will work then. The corresponding windows cmd is the following:

wmic path win32_mappedlogicaldisk get DeviceID, ProviderName

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .