It looks like you may be using a web browser version that we don't support. Make sure you're using the most recent version of your browser, or try using of these supported browsers, to get the full Made experience: Chrome, Firefox, Safari, or Edge.
net use Z: /delete Always confirm by running net use again to ensure it is gone. To wipe all current network connections in one command (useful for login scripts to start fresh):
net use The output will list drive letters, UNC paths, and status (OK, Disconnected, etc.).
net use Z: \\Server01\Projects /user:DOMAIN\john.doe P@ssw0rd123 Persistent vs. Temporary Mappings By default, mapped drives are persistent —they reconnect automatically after you log off and back on. To create a temporary mapping that disappears when you log off, use: cmd command to map network drive
echo All drives mapped successfully. pause
net use /verbose To remove a specific mapped drive: net use Z: /delete Always confirm by running
net use \\Server01\Projects The share will appear under "Network locations" in File Explorer, but not as a drive letter. If your current Windows login doesn't have access to the share, specify another account. You will be prompted for the password:
net use Z: \\Server01\Projects /persistent:no To change the default behavior for all subsequent commands until you change it again: Temporary Mappings By default, mapped drives are persistent
New-PSDrive -Name "Z" -PSProvider FileSystem -Root "\\Server01\Projects" -Persist The -Persist switch is equivalent to /persistent:yes in CMD. PowerShell also allows mapping using different credentials: