Find the IP address of a Mapped Network drive in Windows

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.

find ip address of mapped network drive

To get the IP address of the computer (mapped drive target PC), open a Command Prompt window and type:

ping <computername> -4

Example:

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.

find ip address of mapped network drive

Using Command Prompt, to find the computer name that hosts the shared folder, run the net use command.



find ip address of mapped network drive

Once you find the computer name, ping it.

find ip address of mapped network drive

Ping returns the IPv4 address of the computer named media-pc.


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!
So thank you so much for your support, my reader. It won't take more than 10 seconds of your time. The share buttons are right below. :)

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.

Leave a Comment