How do I find where a network drive is mapped to in Windows 7?

222,544

Solution 1

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.

Solution 2

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 (!)

Solution 3

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
Share:
222,544

Related videos on Youtube

edwardmlyte
Author by

edwardmlyte

Updated on September 18, 2022

Comments

  • edwardmlyte
    edwardmlyte over 1 year

    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.

    • Jimm Chen
      Jimm Chen about 12 years
      "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?
    • Mark Ransom
      Mark Ransom over 5 years
      Better answer at superuser.com/q/465038/2366.
  • pghcpa
    pghcpa over 8 years
    I couldn't find "Network Location" on the list on Win 7 Pro.
  • PaloDravecky
    PaloDravecky over 8 years
    @pghcpa I see the option only in the root of "My Computer", not inside any of the network drives. Are you looking there?
  • Ben Plont
    Ben Plont over 6 years
    note* This gives the share path, but not the disk path.
  • FrankyHollywood
    FrankyHollywood almost 6 years
    if your drive is at location '\\name\Data1' you can retrieve the IP by: 'ping name'
  • cxw
    cxw over 5 years
    Also works on Win8.1 Enterprise. Thanks!