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. It won't take more than 10 seconds of your time. The share buttons are right below. :)

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a consecutive ten-time recipient of the Microsoft Most Valuable Professional award in the Windows Shell/Desktop Experience category, from 2003 to 2012. He loves to troubleshoot and write about Windows. Ramesh founded Winhelponline.com in 2005.

3 thoughts on “Find the IP address of a Mapped Network drive in Windows”

  1. > The network computer name is usually displayed near the mapped drive letter when you view it in File Explorer.

    It wasn’t for me. The rest of the guide doesn’t help if this isn’t true.

    Reply

Leave a Reply to Travis Cancel reply