How to Map a Drive on Windows 11

Want to learn how to map a drive on Windows 11?

Mapping a drive is an efficient way to connect to a shared drive or remote folder. Fortunately, Windows 11 brings various methods to set up a mapped network drive on your computer.

So, if you’re looking for just that, you’re on the right page. In this article, we’ll go over the different ways that you can employ to map a network drive, folder, or file on Windows 11. 

So, let’s dive right in!

1. Configure Windows for Network Drives. 

Before you can map a drive on Windows 11, you must allow your computer to find other devices and share folders and files with other devices on your network. You can set this setting from the Control Panel on your PC. After which, you can easily map a drive through various methods. 

Here’s how to do it:

  1. Firstly, go to the Start menu and type in ‘Control Panel’ in the search bar at the top. From the search results, click on the Control Panel to launch it on your PC. 
  2. Next, click on Network and Internet
Network and Internet
  1. Choose Network and Sharing Center
Network and Sharing Center
  1. From the left sidebar, click on Change advanced sharing settings
  2. Under the Network Discovery section, click on Turn on network discovery.
Turn on network discovery
  1. Lastly, select Save changes and click on Yes from the confirmatory prompt that appears. 

Once the network discovery is turned on, your computer can now find other networks and devices as well as be discovered by other networks. Next, follow any of the methods mentioned in the next section of this guide to map a drive on Windows 11. 

2. Map a Drive via File Explorer. 

As you map a drive via File Explorer, it will be mapped to a specific drive letter that you can later access easily without looking for its network address or type every time. It’s an easy and simple method. 

Below are the steps you must follow:

  1. Begin by going to the File Explorer from your taskbar. Alternatively, right-click on the Start menu and choose File Explorer from the power menu options. 
  2. From the left sidebar, click on This PC shortcut. 
  3. Next, click on the three horizontal dots from the top bar and select Map network drive
Map a Drive on Windows 11
  1. This will open a Map Network Drive window. From there, click on the drop-drop menu icon next to Drive and choose a preferable drive letter. 
  2. For the Folder field, type in the network folder URL. In case you can’t remember it, click on the Browse button and choose a shared folder. 
Map a Drive on Windows 11
  1. Once done, click on Finish
  2. In This PC window, you will see this newly created drive under Network locations. You may also access this drive in the Network folder from the left sidebar. 
Map a Drive on Windows 11

3. Map a Drive Using CMD. 

Another way to map a drive on Windows 11 is by using Command Prompt. This method is quite simple and only requires that you access Command Prompt with administrative privileges. Afterward, a single command will map your drive in no time. 

Here are the steps you must follow:

  1. Go to the Start menu. 
  2. Type in ‘command’ in the search bar and click on Run as administrator to launch Command Prompt with administrative rights. 
Command Prompt Windows 11
  1. Once the Command Prompt opens, copy and paste the following command and hit the Enter key from your keyboard. Remember to change the ‘DLetter’ from the command to your preferred drive letter. Also, enter the path of the specific folder you want to map instead of ‘PATH’ in the command. 
net use DLetter: \\PATH /PERSISTENT: YES
Windows Command Prompt
  1. You can access this new mapped drive from File Explorer on your PC. 

4. Via PowerShell. 

PowerShell is a command-line tool that allows users to automate tasks using codes. Similar to Command Prompt, you may also use PowerShell to map a network drive on Windows 11. 

Simply follow the steps below:

  1. Go to the Start menu and type in ‘powershell’ in the search bar. 
  2. Then, click on Run as administrator to access PowerShell with administrative privileges. 
Windows PowerShell
  1. Now, enter the following command and press the Enter key from your keyboard to execute it. Remember to replace ‘DLetter’ with a drive letter that’s not in use and change ‘PATH’ with the location of the network folder that you want to map. 
New-PSDrive -Name "DLetter" -PSProvider "FileSystem" -Root "\\PATH" -Persist
Windows PowerShell
  1. Once done, the drive and path you choose will be mapped on Windows 11. This mapped drive should now appear in File Explorer, under the Network folder. 

5. Using the Context Menu of the Shared Drive.

One of the easiest ways to map a drive on Windows 11 is by going to the shared network drive in File Explorer. Afterward, utilize the context menu of the shared drive to map it as a drive on Windows. 

Follow the steps below to do it:

  1. Launch File Explorer from the taskbar. Alternatively, you can press the Win + E keys from your keyboard to access File Explorer.
  2. After that, select Network from the left sidebar. 
Network Drive Windows
  1. Double-click on the system sharing a network drive to open it. 
  2. Now, right-click on the drive you wish to map and choose Map network drive
  3. A Map Network Drive window will appear. Choose a drive letter by clicking on the drop-down menu icon next to Drive
  1. Once you’ve selected a letter for the mapped drive, select Finish
Network Drive Windows
  1. The drive you’ve successfully mapped will be available under the Network locations in This PC
Map a Drive on Windows 11

6. Map a Drive for All Users. 

If several users on your PC want to gain access to the shared drive, an effective way to do it is by mapping a drive for all users at once. For this purpose, you will first need to make a batch file before you can map a drive. 

Follow the steps mentioned below to do so:

  1. Click on the Start menu.
  2. Type out ‘notepad’ in the search bar and click on Open from the search results. 
Notepad on Windows
  1. Now, enter the following command. Be sure to change the ‘server’ with the IP address of the user sharing the drive and replace ‘files’ with the drive or folder that you want to map. 
net use * "\\server\files" /p:yes
  1. Choose Files from the top bar. 
  2. Then, click on Save as, enter a name for this file, and select a location for it. 
Notepad on Windows
  1. Type in ‘.bat’ to change its file extension. 
  2. Click on the drop-down menu icon next to Save as type and choose All files
Map a Drive on Windows 11
  1. Select Save
  2. Now, go to the location where you saved this file, right-click on it, and select Copy. You may also press Ctrl + C keys to copy it. 
  3. Launch the Run box by pressing the Win + R keys
  4. Enter the following command in the text field and click on OK:
shell:common startup
Run dialog box
  1. The Startup folder will appear. Now, paste the .bat file in it by right-clicking and choosing Paste
  2. Click on Continue from the prompt that shows up. 

After you’re done, any user that logs in from your Windows 11 PC will have access to the network drive you’ve just created. 

This brings us to the end of our guide on how to map a drive on Windows 11. Hopefully, one of the methods from this guide has successfully enabled you to map a network drive on your PC. In case of any questions regarding this topic, feel free to use the comments section below. We’ll be more than happy to provide further assistance. 

If this guide helped you, please share it. 😊

Author

  • Aimen Choudhry

    Aimen Choudhry is an architecture student who has always been fascinated by science. She now finds her therapy researching and writing about the latest technology and the issues that come alongside. Otherwise, you’ll find her playing video games, listening to music, or watching fantasy/sci-fi movies.

Leave a Reply

Your email address will not be published. Required fields are marked *