Network shares are accessed using their UNC paths (begin with
\\). For frequently accessed network shares, the UNC path can be mapped to a drive letter in Windows. You may be wondering how to find out the IP address of a mapped network drive — i.e., the IP of the network computer that hosts the shared folder. This post tells you how to find it.
Find the IP address of a Mapped Network drive in Windows
Let’s say you mapped a drive letter for
\\media-pc\shared and assigned the
Z: drive letter to it. The network computer name is usually displayed near the mapped drive letter when you view it in File Explorer.
To get the IP address of the computer (mapped drive target PC), open a Command Prompt window and type:
ping <computername> -4
ping media-pc -4
This shows the IPv4 address for the computer. If the
-4 switch is not used, you’ll see the IPv6 address instead.
Using Command Prompt, to find the computer name that hosts the shared folder, run the
net use command.
Once you find the computer name, ping it.
Ping returns the IPv4 address of the computer named
One small request: If you liked this post, please share this?One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
- Pin it!
- Share it to your favorite blog + Facebook, Reddit
- Tweet it!
About the author
Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and he has been a Microsoft Most Valuable Professional (MVP) for 10 consecutive years from 2003 to 2012.