- How to map network drives over VPN on Windows 10
- 5 Best VPNs we recommend
- How do I map network drives over VPN on Windows 10?
- Connect to a VPN server
- Map a network drive
- Why use Private Internet Access
- Private Internet Access
- How to Map a Network Drive in Windows
- How To Map a Network Drive On Windows 10
- Using File Explorer to Map Network Drive Windows 10
- Using Command Prompt to Map a Network Drive Windows 10
- How To Map a Network Drive On Windows 7, 8 & XP
How to map network drives over VPN on Windows 10
- If you’re worried about the security and integrity of your data, connect to a VPN server before mapping and accessing network drives to protect your PC and network from hackers.
- It’s not complicated to map network drives through a VPN. You just need to get your PC fitted with a premium VPN and connect to a VPN server before starting the file operations in your LAN.
- Check out our Windows 10 section to discover everything about Microsoft’s operating system.
- Bookmark our VPN Troubleshooting Hub to fix any virtual private network problems.
Mapping network drives over VPN on Windows 10 is a great way to increase the security of your computer and network.
By protecting your data traffic with a VPN that supports strong VPN protocols with the highest possible levels of encryption, you can fend off hackers and ensure the integrity of your data.
There’s nothing elaborate about mapping network drives through VPN. In fact, you just have to connect to a VPN server before managing access settings to shared drives and folders in your local network.
Here’s how you can do that.
5 Best VPNs we recommend
79% Off + 2 free Months | | |
83% Off (2.25$/Month) + 3 free Months | | |
68% Off + 1, 12 or 24 free Months (random prize) | | |
83% Off (2.21$/Month) + 3 free Months | | |
76% (2.83$) on 2 Years plan | |
How do I map network drives over VPN on Windows 10?
Connect to a VPN server
- Sign up for a PIA subscription.
- Download and install PIA on your PC.
- Launch PIA and press the big power button.
- You are now connected to a VPN server.
We’re using PIA in our example because it’s the best VPN for Windows 10. The steps above are for downloading and installing the PIA desktop client.
Keep in mind that the VPN connection must protect the entire computer, so you can’t use anything lesser than that, not even a browser extension.
An alternative is to create a VPN connection in Windows 10 without installing anything after obtaining the PIA login credentials and a preferred server address from its website.
Check out how to set up an IPsec VPN client on Windows 10 using PIA connection details.
On the other hand, if you want to use the OpenVPN protocol, you need a third-party OpenVPN client since Windows 10 doesn’t have native support for OpenVPN. It’s easier to set up the PIA desktop client since it uses OpenVPN by default (WireGuard is also an option).
Map a network drive
- Make sure you’re connected to a VPN server.
- Turn on Network Discovery on your computer.
- Open the Windows 10 File Explorer (Win key + E).
- Go to This PC, select the Computer tab, and press Map Network Drive.
- Set Drive to a preferred drive letter that you will use to access the shared location.
- Press Browse next to Folder and select a shared drive or folder.
- Enable Reconnect at sign-in to ensure the location auto-reconnects at every Windows startup.
- Enable Connect using different credentials if you can’t access the shared location using your current Windows login info.
- Click Finish.
Although you would be tempted to disconnect from the VPN after mapping the network drive, it’s a good idea to leave it turned on at all times while staying connected to the Internet. This ensures that you’ll always be protected from hackers and other dangers.
Why use Private Internet Access
Created by Kape Technologies, Private Internet Access (PIA) is one of the fastest and most secure VPNs for your Windows 10 PC. It’s also the best VPN for Plex since you can use it to mount network resources and safely share content on the Plex Media Server.
In addition to an impressive network of VPN servers, PIA can connect you to the nearest server automatically to ensure the best speed. It supports OpenVPN and WireGuard, SOCKS5 and Shadowsocks proxy servers, port forwarding, together with static and dynamic IP addresses.
Furthermore, you can use PIA to reduce your ping during gameplay. It comes bundled with split-tunneling mode, a kill switch, and exclusive DNS servers. It’s also possible to install PIA’s OpenVPN manual configuration mode on your router to share VPN access with all connected devices.
More about PIA:
- +3,300 VPN servers in 48 countries
- 10 simultaneous connections
- No identifying logs, no leaks
- 24/7 live chat support
- 30-day money-back guarantee (no free trial)
Private Internet Access
Connect to PIA’ before mapping network drives to reduce vulnerabilities and protect your PC from hackers.
In conclusion, it’s an excellent idea and a wise move to connect to a VPN server before mapping network drives in Windows 10. This way, you can reduce the risks of getting hacked and compromising your sensitive data.
You just need a secure VPN with versatile options, and that’s why we suggest using PIA.
How to Map a Network Drive in Windows
Tips for Windows XP, Vista, 7, 8, 10 and even via the command prompt
A mapped drive is a shortcut to the specific drive on a different device that enables you to access resources shared on a local network, or files on a FTP server or website.
It looks just like the shortcut on your local hard drive with its own letter, even opening as though it were on the drive, but the files are physically stored on a different computer or device altogether.
Mapping is different from mounting a drive as it allows you to open remote files as though they were stored on your own computer, while mounting allows you to open a file as if it were a folder.
The main limitation with using a mapped network drive is that it depends on a working network, so if it’s down, or the connection isn’t working properly, you can’t access the files in the mapped drive.
How To Map a Network Drive On Windows 10
We’ll show you two ways of mapping a network drive in Windows 10: Using File Explorer and using Command Prompt.
Using File Explorer to Map Network Drive Windows 10
- Connect your network drive to your router.
- Click Start on the taskbar and select Settings>Network & Internet.
- Go to Change AdvancedSharing options.
- Click Turn on network discovery.
- Click Save changes. If the Save Changes button is grayed out, it means Network Discovery is already enabled, so you can ignore this step.
- Next, open File Explorer by pressing the Windows logo key+E.
- Click This PC and go to the Computer tab. Alternatively, search for This PC with Cortana.
- In the main window, check the letters for each drive you see and note them down so that you don’t create duplicate ones. Avoid using letters C, D and F as these are usually assigned to the local storage and removable media like USB drives and discs. This also ensures you don’t encounter complications down the line.
- Click the Map Network Drive button (helps you connect to a new remote resource on the network).
- Select a Drive letter in the drive list, and search for the network drive. To navigate to the drive itself, click Browse in the popup menu.
Note: If this is your first network drive, you’ll see one on the drive list. If you have several network drives, you’ll see several of them when you click the Browse button.
- In the Folder box, type the folder or computer path, or click Browse to find it.
- Select Reconnect at sign-in to connect each time you log into your computer. It ensures the mapped drive is available to you every time, but if you don’t want this, uncheck the box.
- Find the shared folder in the drive or create a new one, where you can drop files into for access from any location. To create a folder, right-click New Folder, and give it a name you can remember when you need to find it on a different device.
- If you need to access the shared network folder using credentials for a different account, tick Connect using different credentials.
- You’ll get a prompt to enter the shared network login information i.e. username and password of the computer you want to connect to. Use a password you can remember in case other colleagues or family members need to use it.
Note: If your NAS device has a username and password, you may need to enter it to access the drive.
- Click Finish. You’ll see a new window for the drive denoted by the drive letter you assigned earlier. It’ll also display the shared folders, from which you can view and open files on the network drive.
Note: If you’re unable to map a network folder or drive, check whether the computer you’re trying to connect to is turned off, or check whether you have the correct permissions. You can also check with your network administrator.
You’ll see the network drive listed on the sidebar in File Explorer under This PC. From here, you can open it and drag files such as documents, media or others to it. You can also copy/cut and paste as you would with other files and folders.
When you’re done with the mapped drive and don’t need it anymore, just right-click on it and select Disconnect.
Using Command Prompt to Map a Network Drive Windows 10
An advanced way of working with a mapped drive in Windows is by using the net use command in Windows, or in PowerShell if you prefer.
- Click Start and type CMD in the search bar.
- Click Open under Command Prompt.
- In the Command Prompt window, type net use DRIVE: PATH and press Enter. (DRIVE represents the drive letter you’ll use and PATH represents the UNC path for sharing. So it would look something like: net use g: \\tower\entertainment
- You can add your username and password to the command if the share you’re connecting to is protected with a password or other authentication and you don’t want to keep typing the credentials each time you open the network drive.
For example, if our username is OTT and password is bringthatbeatback, the command will look something like: net use g: \\tower\entertainment /user:OTT bringthatbeatback
- When you restart your computer, the mapped drive may disappear, as they’re not persistent by default. In this case, you can add the /persistent switch to make sure they stick around.
To create a persistent connection, type /persistent:Yes so future connections made using this command will be persistent until you turn it off using the /persistent:No toggle.
- To delete the mapped network drive in command prompt, specify the drive letter and add/delete switch as follows: net use DRIVE: /delete. For example, we used drive letter g, so you’ll type the command net use g: /delete
How To Map a Network Drive On Windows 7, 8 & XP
Microsoft stopped supporting Windows 7 as of January 2020, but you can upgrade to Windows 10 so you can get regular security updates and tech support.
- Mapping a network drive in these older Windows versions is simpler. On the Start menu or desktop, click Computer and then select Map network drive.
- Select the drive letter for the network drive you want to map. In the Folder field, enter the UNC path and then click Finish. Windows XP has several different methods to map a network drive, but the above steps use Windows Explorer to map the drive.
Were you able to map your network drive using the steps we’ve covered in this guide? Tell us in a comment below.
Elsie is a technology writer and editor with a special focus on Windows, Android and iOS. She writes about software, electronics and other tech subjects, her ultimate goal being to help people out with useful solutions to their daily tech issues in a simple, straightforward and unbiased style. She has a BCom degree in Marketing and currently pursuing her Masters in Communications and New Media. Read Elsie’s Full Bio