Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to delete a network connection. When I type net use I get this:

 Microsoft Windows XP [version 5.1.2600]
 (C) Copyright 1985-2001 Microsoft Corp.

 C:\Documents and Settings\toto>net use

 État         Local     Distant                   Réseau

 OK           M:        \\\share  Réseau Microsoft Windows
 OK           R:        \\\tools   Réseau Microsoft Windows
 OK                     \\\data   Réseau Microsoft Windows
 La commande s'est terminée correctement.

The syntax for deleting a network map is net use /delete X: if I want to delete one specific connection, or net use /delete ** if I want to delete all connections.

How can I delete the \\\data connection which, as you can see, is not linked to any logical letter?

share|improve this question
up vote 12 down vote accepted
net use \\\data /delete
share|improve this answer
perfect! I tried *net use /delete \ and it didn't work..... – Martin Delille Apr 15 '10 at 12:05
Ahh, got ya. Yeah, you need to make sure that the actual resource is specified. You can, obviously, put the /delete pretty much anywhere after net use. – MDMarra Apr 15 '10 at 15:04
You can also add /Y to prevent confirmation from blocking. – Nick Westgate Feb 1 '13 at 1:52
@MDMarra, Why doesn't this work when you have it mapped? E.g. if you have it mapped to Z:, trying to net use \\\data /delete doesn't work. – Pacerier Jan 23 '15 at 16:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.