| Action | Command / Path | |--------|----------------| | GUI path | \\server\share in Map Network Drive | | Persistent map | net use Z: \\server\share /persistent:yes | | Map with user | net use Z: \\server\share /user:name pwd | | Delete map | net use Z: /delete | | PowerShell map | New-PSDrive -Name Z -Root \\server\share -Persist | End of paper

$cred = Get-Credential New-PSDrive -Name "Z" -PSProvider FileSystem -Root "\\192.168.1.100\documents" -Credential $cred -Persist -Persist makes the drive visible in File Explorer. Without it, the drive exists only in the current PowerShell session. 6. Common Windows 11 SMB Issues and Fixes 6.1. “Windows cannot access \server\share” Cause: SMB guest access disabled by default in Windows 11.

Open Command Prompt as user:

net use \\192.168.1.100\documents

net use Z: \\192.168.1.100\documents /user:DOMAIN\username password

net use Z: \\192.168.1.100\documents /persistent:yes