Active Directory

net use

CautionMap a network drive

net use <drive> \\server\share

Mount/unmount a network share; can pass credentials.

Examples

  • net use Z: \\srv\data /persistent:yesPersistently map Z:
  • net use * /deleteRemove all mappings

Syntax

net use [<drive>] [\\server\share] [/delete]

Before you run it

/delete removes existing mappings.

Used when you see

Cannot access a file share
1
Check/remap the driveRemap with credentials
See the whole flow →

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store