When mapping a drive in Microsoft Windows, you may receive an error that says:

The mapped network drive could not be created because the following error has occurred:

Multiple connections to a server or shared resource by the same user, using more than one user name are not allowed. Disconnect all previous connections to the server or shared resource and try again.

Clicking “OK” yielded another error.

The network folder specified is currently mapped using a different user name and password. To connect using a different user name and password, first disconnect any existing mappings to this network share.

To solve this problem, try the following steps:

  1. Select the “Start” button, then type “cmd“.
  2. Right-click the “Command Prompt” option, then choose “Run as administrator“.
  3. Type “net use“, then press “Enter“.
  4. Look for any drives listed that may be questionable. In many cases where this problem occurs, the drive may not be assigned a letter. You’ll want to remove that drive.
  5. From the Command Prompt, type:
    net use /delete \\servername\foldername
    (where the servername\foldername is the drive that you wish to delete.)

In some extreme cases, you may want to simply use the command net use * /delete. This will delete all mapped drives though, so be careful that you know what you’re doing.

Post applies to most modern versions of Microsoft Windows.