41
13
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.
41
13
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.
37
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.
55
In Windows Explorer, you can also switch the view to "Details" and right-click the header to add a column named "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 – 2015-09-24T22:54:44.500
@pghcpa I see the option only in the root of "My Computer", not inside any of the network drives. Are you looking there? – PaloDravecky – 2015-09-25T08:13:41.563
note* This gives the share path, but not the disk path. – Ben Plont – 2018-01-23T18:37:36.297
if your drive is at location '\name\Data1' you can retrieve the IP by: 'ping name' – FrankyHollywood – 2018-05-18T13:26:11.590
Also works on Win8.1 Enterprise. Thanks! – cxw – 2019-01-25T14:59:03.007
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
Better answer at https://superuser.com/q/465038/2366.
– Mark Ransom – 2018-10-19T15:05:09.937"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 – 2012-02-01T12:13:47.980