Do these 3 things before closing this tab:
1Fix the driver behind crashes, sound loss and screen glitches2Clear out junk files and repair common Windows errors3Scan for outdated or missing drivers - takes under a minuteiTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
The guide covers 6 methods to map a network drive on Windows 10 – via File Explorer, Shortcut, CMD, PowerShell, logon scripts, and GPO.
Option 1: Map Network Drive From File Explorer
Here are the steps to map a network drive using this method:
- Right-click start menu. Then select File Explorer.

- When File Explorer opens, click This PC.

- Then click Computer tab.

- Finally, click Map network drive drop-down and select Map network drive.

- When the tool opens, at the Drive drop-down, select a drive letter to assign the network drive. If you know the full path to a network share, enter it in the Folder field using the format \\ServerName\ShareName. Then click Finish.

- Alternatively, if you do not know the full path to the share you want to map, enter the server name in the format \\ServerName. Then click Browse. The network computer will then display all the shares. Click on the share you wish to map and click OK.

- Finally, click Finish. The mapped drive will open automatically (see the second image below).



Option 2: Map Network Drive From an Existing Shortcut
Another method is to map a network share from a Shortcut. If you have an existing network share shortcut, simply right-click it and map the share to a drive.
But if you do not already have a shortcut to the share, here are the steps to create the shortcut. Then map the share to a drive.
Popular on Amazon
- Entry-level NAS Personal Storage:UGREEN NAS DH2300 is your first and best NAS made easy. It is designed for beginners who want a simple, private way to store videos, photos and personal files, which is intuitive for users moving from cloud storage or external drives and move away from scattered date across devices. This entry-level NAS 2-bay perfect for personal entertainment, photo storage, and easy data backup (doesn't support Docker or virtual machines).
- Set Your Devices Free, Expand Your Digital World: This unified storage hub supports massive capacity up to 64TB.*Storage drives not included. Stop Deleting, Start Storing. You can store 22 million 3MB images, or 2 million 30MB songs, or 43K 1.5GB movies or 67 million 1MB documents! UGREEN NAS is a better way to free up storage across all your devices such as phones, computers, tablets and also does automatic backups across devices regardless of the operating system—Window, iOS, Android or macOS.
- The Smarter Long-term Way to Store: Unlike cloud storage with recurring monthly fees, a UGREEN NAS enclosure requires only a one-time purchase for long-term use. For example, you only need to pay $459.98 for a NAS, while for cloud storage, you need to pay $719.88 per year, $2,159.64 for 3 years, $3,599.40 for 5 years. You will save $6,738.82 over 10 years with UGREEN NAS! *NAS cost based on DH2300 + 12TB HDD; cloud cost based on 12TB plan (e.g. $59.99/month).
- Blazing Speed, Minimal Power: Equipped with a high-performance processor, 1GbE port, and 4GB RAM on Board, this NAS handles multiple tasks with ease. File transfers reach up to 125MB/s—a 1GB file takes only 8 seconds. Don't let slow clouds hold you back; they often need over 100 seconds for the same task. The difference is clear.
- Let AI Better Organize Your Memories: UGREEN NAS uses AI to tag faces, locations, texts, and objects—so you can effortlessly find any photo by searching for who or what's in it in seconds. It also automatically finds and deletes similar or duplicate photo, backs up live photos and allows you to share them with your friends or family with just one tap. Everything stays effortlessly organized, powered by intelligent tagging and recognition.
- Right-click anywhere on your desktop and point to New. Then select Shortcut.

- At the first page of the Create Shortcut wizard, enter the path to the network share. Use the format \\ServerName\ShareName. Then click Next.

- Then on the Type a name for the shortcut field, enter a name for the share or accept the default name. When you finish, click Finish. The shortcut to the network share will be created on your desktop (see the second image below).


- To map the share to a drive on your computer, right-click the shortcut. Then select Map network drive.

- Then select a drive letter from the Drive drop-down and click Finish.

Option 3: Map Network Drive with Command Prompt
This is one quick way to map a network share to a drive.
Here are the steps to use this method:
- Type cmd on the search bar. Then open Command Prompt.

- At the command prompt type this command. Then press enter.
net use <drive letter> <\\ServerName\ShareName> /persistent:yes/no
Replace:
<drive letter> with the drive letter you want to map the drive to. For example K:
<\\ServerName\ShareName> with the path to the share you want to map.
Finally, for the /persistent switch specify Yes or No. Yes will reconnect the drive at each logon. No will not.
Here is an actual command for this demo:
net use K: \\hypervhost\MountedImages /persistent:yes
The result of the command:

Here is the mapped drive on my This PC.

The remaining methods discussed in this guide are for Sys Admins.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Option 4: Map Network Drive with PowerShell
If you are a Windows SysAdmin, you will be keen to learn how to map network drive on Windows 10 with PowerShell.
Also popular on Amazon
- 【Advanced Home Data & Media Hub】For advanced home users who need phone backup, file storage, and centralized data management. Centralize family photos, 4K videos, movies, computer backups, and personal files in one place while running multiple apps for home entertainment and everyday data management. Suitable for households with growing digital libraries and multiple NAS use cases.
- 【Built for Creators, Media Servers & Advanced Apps】Powered by the Intel N100 Quad-Core CPU, 8GB DDR5 RAM, 2.5GbE networking, and dual M.2 NVMe slots, DXP2800 handles large files and heavier workloads with ease. Run Docker, virtual machines, and media server applications compatible with Plex—ideal for content creators, tech enthusiasts, and advanced home users managing 4K videos, RAW photos, personal media libraries, and multiple NAS apps.
- 【Up to 80TB for Growing Digital Libraries】 Supports up to 80TB of storage using two HDD bays and two M.2 NVMe SSD slots for family photos, movies, RAW photos, 4K videos, work files, and device backups. AI photo management supports recognition of people, objects, scenes, and locations, album organization, and duplicate photo detection. HDDs and SSDs are not included.
- 【AI-powered Home Surveillance】Turn DXP2800 into a centralized home surveillance hub by connecting compatible network cameras and storing recordings locally on your NAS. AI-powered features include Face Recognition, People Detection, and Pet Detection, helping advanced home users review important events more efficiently while managing home surveillance and personal data in one place.
- 【One data Center Across Your Devices】Keep files from desktops, laptops, phones, tablets, and other devices together instead of scattered across cloud accounts and external drives. Access, back up, organize, and share data across Windows, macOS, Android, iOS, web browsers, and compatible smart TVs—ideal for creators and advanced home users working across multiple devices.
To map a network drive with PowerShell, open Windows PowerShell. Then, enter a command in the format below –
New-PSDrive -Name "<name of the mapped drive>" -PSProvider "FileSystem" -Root "\\ServerName\FolderName"
To make the mapped drive persistent (stays mapped when you restart your PC), add the Persist parameter
New-PSDrive -Name "<name of the mapped drive>" -PSProvider "FileSystem" -Root "\\ServerName\FolderName" -Persist
To give you an example, to map a persistent network share \\DESKTOP-SIAQMO1\Log Files, use the following code:
Free tools Windows power users keep installed
One-click scans. No signup required.
New-PSDrive -Name "S" -PSProvider "FileSystem" -Root "\\DESKTOP-SIAQMO1\Log Files" -Persist
After mapping the drive, you can change the PowerShell directory to the mapped drive using the command below:
Also popular on Amazon
- Value NAS with RAID for centralized storage and backup for all your devices. Check out the LS 700 for enhanced features, cloud capabilities, macOS 26, and up to 7x faster performance than the LS 200.
- Connect the LinkStation to your router and enjoy shared network storage for your devices. The NAS is compatible with Windows and macOS*, and Buffalo's US-based support is on-hand 24/7 for installation walkthroughs. *Only for macOS 15 (Sequoia) and earlier. For macOS 26, check out our LS 700 series.
- Subscription-Free Personal Cloud – Store, back up, and manage all your videos, music, and photos and access them anytime without paying any monthly fees.
- Storage Purpose-Built for Data Security – A NAS designed to keep your data safe, the LS200 features a closed system to reduce vulnerabilities from 3rd party apps and SSL encryption for secure file transfers.
- Back Up Multiple Computers & Devices – NAS Navigator management utility and PC backup software included. NAS Navigator 2 for macOS 15 and earlier. You can set up automated backups of data on your computers.
Set-Location s:\
Here is a screenshot of both commands:

Finally, you can list the properties of the mapped drive and remove the mapped drive with the 2 commands below:
Get-PSDrive s Remove-PSDrive s

Option 5: Map Network Drive with Logon Scripts
System Administrators can automatically map a network drive or drives using logon script.
There are 3 steps to complete this task:
- Create a Batch file with the commands to map the drive (s)
- Copy the batch file to \\DomainName.<extension>\NETLOGON
- Assign Users the logon script in Active Directory Users and Computers OR
- Assign the batch file to users using Group Policy
Step 1: Create a Batch file
- Open a notepad and enter the commands similar to the commands used in the last section.
- Here is an example

- Save the file with .bat extension: File -> Save As…Give the file a name then include .bat extension. Have the names in quotes. See the example below. Finally, click Save. The file will look like the file in the second image below.


Step 2: Copy the Batch file to the Domain NETLOGON
The final step in this method is to copy the batch file you just created to the NETLOGON share in your domain.
Here is how:
- Open Run command (Windows logo + R keys)

- At the Run command enter a path similar to this below. Then press enter or OK.
\\itechguides.local\NETLOGON
Change itechguides.local to the FQDM for your domain.
Also popular on Amazon
- Your Personal Streaming Server - Build your own Netflix-style media library and stream 4K movies, shows and photos to any device without monthly fees
- Create Your Own Cloud - Store your entire photo, video and music collection; access from anywhere with fast 282 MB/s transfer speeds
- Creator-Grade Backup Solution - Protect your irreplaceable content with automated backups to cloud services, external drives and remote NAS
- Multi-Layered Data Protection - Combine RAID redundancy, automated backups and snapshot technology to prevent data loss from any cause
- Smart Home Surveillance - Support up to 30 IP cameras with AI detection, instant alerts and secure remote monitoring

- Finally, copy the batch file you created earlier to the NETLOGON share.

Step 3 (Method 1): Assign Users the Logon Script in ADUC
After creating the logon script and copying it to the NETLOGON share, the last step to map network drive in Windows 10 is to assign the script to a user.
Here are the steps:
- Logon to your a Domain Controller and open Active Directory Users and Computers.
- Navigate to the AD OU or container where your users are located. It is usually Users container except you moved the users to another OU.
- Double-click the user you wish to assign the logon script. On the Profile tab, enter the name of the batch file in the Logon Script field. When you finish, click OK.

- When next the user logs on to Active Directory, the script will run and the drive will be mapped automatically.

Step 3 (Method 2): Assign Users the Logon Script with Group Policy
This is an alternative way to automatically assign the batch file to users.
Here are the steps:
- Copy the batch file you created earlier.
- Open the GPO you wish to use. This GPO must be assigned to the AD container with the users you wish to assign the batch file automatically.
- Right-click the GPO and click Edit.

- When the navigate to User Configuration > Policies -> Windows Settings > Scripts.

- Double-click Logon. Then click Show Files…

- When the path opens, paste the batch file. Then close the path.
\iTechGuides.local\sysvol\iTechGuides.local\Policies{653DBD32-0F2B-483F-8BCC-608A9754605D}\User\Scripts\Logon

- When you return to Logon Properties, click Add.

- When Add a Script window opens, click Browse.

- Select the script you copied earlier. Then click Open.

- Back on the Add a Script window, click OK.

- Finally, on the Logon Properties click OK.

When next a user logs on to Active Directory, the script will run, and the drive will be mapped.
Option 6: Map Network Drive with Group Policy
For the steps to use this method, click Map Network Drive in Windows 10 with Group Policy.
Also popular on Amazon
- Secure private cloud - Enjoy 100% data ownership and multi-platform access from anywhere
- Easy sharing and syncing - Safely access and share files and media from anywhere, and keep clients, colleagues and collaborators on the same page
- Automated Backup Protection - Set-and-forget backups for Macs, PCs and mobile devices to multiple destinations including cloud and external drives
- Home Security System - Record and monitor your property 24/7 with support for multiple IP cameras and remote viewing
- 2-Year Warranty - Reliable hardware backed by Synology's expert customer support team and ongoing software updates
Conclusion
As you can see, it is very easy to map a network drive on Windows 10! I hope you found this Itechguide helpful.
If you found this article helpful, kindly spare 2 minutes to share your experience with our community at [discourse_topic_url]. However, if you have any questions regarding this article or if the steps did not fix your problem, please post your question at [discourse_topic_url].
Our team and other community members will come back to you with a fix as soon as possible.
Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →Finally, for more Windows 10 Itechguides, visit our Windows 10 How-To page.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.


Victor,
Trese steps are very straight forward: however, when I see the drive that I want to map and click on it I am requested to “load my Credentials and/or you may not have permission to access this drive.” This is where I’m lost.
Hi,
Thanks for your question. The problem is likely that you do not have Share or NTFS security permission to the mapped drive.