Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Networking»How To Map A Network Drive In Windows 11

How To Map A Network Drive In Windows 11

Anup ThapaBy Anup ThapaDecember 18, 2022
map network drive windows 11

You can map a network drive in Windows 11 using the Map Network Drive wizard or via the command line. As usual, the GUI method will be easier to follow for most users, but the command line method is more efficient if you know the necessary steps.

Table of Contents

  • Using Map Network Drive Utility
  • Using Command Prompt
  • Troubleshooting Network Drive Mapping Issues
  • How to Unmap a Network Drive in Windows 11?
    • Via File Explorer
    • Via Command Prompt
  • How to Map a Network Drive in Windows 11 for All Users?

Using Map Network Drive Utility

The Map Network Drive utility in the file explorer has barely changed since Windows 7, and the way to use it remains mostly the same. Here are the steps to use this utility:

  1. Press Win + E and select This PC from the left pane.
  2. Click on the triple-dot icon and select Map Network Drive.
    map-network-drive-disconnect-network-drive
  3. Select a drive letter that’s not in use.
  4. In the Folder box, enter the name of the computer and the folder you’re trying to access. If you don’t remember the exact values, you can use the Browse option as well.
    network-drive-configurations
  5. Optional: You can enable the Reconnect at sign-in option to automatically connect every time you sign in. You can also enable the Connect using different credentials option to use network credentials not associated with your current account.
  6. Once you’re done, press Finish.

Using Command Prompt

You can use the net use command to map a network drive via the command line. We’ve given examples of some common use cases in this article, but we recommend referring to the net use documentation for the complete list of parameters. With that said, here are the necessary steps:

  1. Press Win + R, type cmd, and press CTRL + Shift + Enter.
  2. Type the following command:
    net use <DeviceName> "\\Computer Name\Share Name"
  3. Replace Device, Computer, and Share names with the appropriate values and execute the command.
    net-use-command
  4. You can use an asterisk to automatically assign an available device name as such:
    net use * "\\Computer Name\Share Name"
    net-use-asterisk
  5. You can use the /user option to establish a connection with a different username.
    net-use-user-domain
  6. You can also use the /persistent option to keep a network drive mapped after rebooting.
    net-use-persistent

Troubleshooting Network Drive Mapping Issues

If you’re having issues mapping a network drive in Windows 11, we recommend first restarting your PC and making sure that the remote computer is powered ON. Additionally, you should also follow the troubleshooting steps listed below on both PCs:

  1. Press Win + R, type appwiz.cpl, and press Enter.
  2. Click on Turn Windows features on or off. 
    turn-windows-features-on-or-off
  3. Enable the SMB 1.0/CIFS File Sharing Support checkbox and press OK.
    smb-1.0-cifs-file-sharing-support
  4. After the changes are applied, press the Restart now button.
  5. If that didn’t help, launch the Control Panel once more.
  6. Navigate to Network and Internet > Network and Sharing Center > Change advanced sharing settings.
    change-advanced-sharing-settings
  7. Turn on Network Discovery and File Sharing, turn off Password protected sharing, and save the changes.
    turn-on-network-discovery-file-sharing
  8. If you’re still unable to connect, we recommend contacting your network admin.

How to Unmap a Network Drive in Windows 11?

You can unmap a network drive in Windows 11 via the File Explorer or via CMD. You can choose your preferred method as both are very simple to perform.

Via File Explorer

Here are the steps to disconnect a mapped network drive via the File Explorer:

  1. Press Win + E and select This PC from the left pane.
  2. Click on the Triple-dot icon and select Disconnect network drive.
    map-network-drive-disconnect-network-drive
  3. Select the drive you want to unmap and press OK.
  4. Alternatively, you can also simply right-click the network drive in Explorer and select Disconnect network drive.

Via Command Prompt

You can use the /delete option with the net use command to disconnect from a mapped network drive. If you want to unmap all the network drives at once, you can use an asterisk (*)instead of a specific device name.

net-use-delete

How to Map a Network Drive in Windows 11 for All Users?

Using the net use command, you can create a simple script that maps a network drive automatically at startup for all users. Here are the steps to do so:

  1. Open Notepad and paste the following code into it:
    net use * "\\computername\sharename" /p:yes
  2. Replace computername and sharename with the appropriate values and save the file as Automap.bat.
  3. Copy the Automap.bat file.
  4. Press Win + R, type shell:common startup, and press Enter.
  5. Paste the BAT file from Step 3 into the Startup folder and restart your PC.
    map-network-drive-automatically-at-startup-for-all-users
how-to
Anup Thapa
  • LinkedIn

Anup Thapa is a tech writer at TechNewsToday. He mostly writes informative articles, tutorials, and troubleshooting guides related to Windows systems, networking, and computer hardware. Anup has been writing professionally for almost 5 years, and tinkering with PCs for much longer. His love for all things tech started when he got his first PC over 15 years ago. It was a Pentium IV system running Windows XP on a single 256 MB stick. He spent his formative years glued to this PC, troubleshooting any hardware or software problems he encountered by himself. Professionally, Anup has had brief forays into a variety of fields like coding, hardware installation, writing, etc. In doing so, he's worked with people of different backgrounds and skill levels, from average joes to industry leaders and experts. This has given him not just a versatile skillset, but also a unique perspective for writing that enables him to concisely communicate complex information and solve his reader's problems efficiently. You can contact him at anup@technewstoday.com

Related Posts

wifi-keeps-disconnecting-windows-11

Wi-Fi Keeps Disconnecting on Windows 11? 9 Ways to Fix It

February 26, 2023
windows-cannot-access-network-drive

Fix: Windows Cannot Access Network Drive

February 23, 2023
how to check wifi speed in laptop

3 Simple Ways to Check Wi-Fi Speed in Laptop

February 23, 2023
network_adapter_not_working

Network Adapter Not Working? 15 Ways to Fix It

February 22, 2023
Surface WiFi Not Working

Why is My Wi-Fi Not Working on Surface Laptop? 10 Ways to Fix It

February 22, 2023
change-network-profile-windows

4 Ways to Change Network Profile in Windows

February 22, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
Memory-Compression

What is Memory Compression in Windows? Should You Enable or Disable It

March 1, 2023
dism-vs-sfc-vs-chdsk

DISM, SFC, CHKDSK: What’s the Difference

February 28, 2023
bios-settings-for-gaming

Best BIOS Settings for Gaming

February 16, 2023
You may also like
how-to-clean-hp-printer-rollers

How to Clean HP Printer Rollers

March 3, 2023
keyboard input lag

9 Ways to Fix Keyboard Input Lag

March 3, 2023
keyboard key is stuck

How to Fix a Stuck Key on a Keyboard

March 3, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.