Win11 Map Network Drive [work] May 2026
net use Y: \\PRINTSERVER\Drivers * /USER:DOMAIN\TechUser /PERSISTENT:Yes The * will prompt you to enter the password securely (it won’t be displayed on screen). Type net use alone and press Enter. You’ll see a list of all current network connections.
New-PSDrive -Name "DriveLetter" -PSProvider FileSystem -Root "\\Computer\Share" -Credential (Get-Credential) -Persist
Open This PC . Under “Network locations,” you will see your new drive with the assigned letter. Double-click it to browse files as if they were local. Method 2: Using the Command Prompt (net use) For IT professionals or those who prefer keyboards over mice, the net use command is fast and scriptable. win11 map network drive
net use Z: /delete PowerShell offers even more control and is ideal for advanced automation.
Remember that a mapped drive is only as reliable as the network connection and the host computer. Once set up, you’ll enjoy seamless access to your files, whether they’re on a NAS, another Windows PC, or a Linux Samba server. Last updated: Windows 11 22H2 & 23H2. Microsoft occasionally changes menu locations, but the core concepts (net use, New-PSDrive, File Explorer right-click) have remained stable for over a decade. Method 2: Using the Command Prompt (net use)
Press Win + X and select Windows Terminal (Admin) or Command Prompt (Admin) . Click “Yes” on the UAC prompt.
$cred = Get-Credential New-PSDrive -Name "Z" -PSProvider FileSystem -Root "\\SECURE\HR" -Credential $cred -Persist To remove a mapped drive in PowerShell: Once set up
The basic command structure is: