Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am trying to connect to a remote server and deploy a service there, through a deploy script.

I start by stating "Net use" and send the credentials for the server.

But here I get system 1219 error:

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.

I am not aware that I have any connections other than this one to the server.

I have tried net "use /delete" but was told that no connections were open to the server.

What gives?

share|improve this question
    
Oh, a 1219 error!!!! of course!!! it's a 1219 error!.... maybe this one should be filed under 'help windows error messages' :-) –  The Unix Janitor Apr 15 '10 at 12:48

4 Answers 4

1. Fire up a command prompt

cmd.exe

2. View current network shares

C:\>net use
New connections will not be remembered.

Status       Local     Remote                    Network

-------------------------------------------------------------------------------
OK           G:        \\srv\share               Microsoft Windows Network
OK           H:        \\fqdn\user$              Microsoft Windows Network
                       \\zombie-srv\share        Microsoft Windows Network
The command completed successfully.

3. Remove zombie mounts

C:\>net use /DELETE \\zombie-srv\share
\\zombie-srv\share was deleted successfully.

4. Mount the share as another user

C:\>net use z: \\zombie-srv\c$ /USER:domain\admin_user
Enter the password for 'domain\admin_user' to connect to 'zombie-srv':
The command completed successfully.

You can also try

net help use
for more details on how to operate the net command.

share|improve this answer
2  
net use * /del /yes can be used in a script where you need to delete zombie shares with no intervention. –  Jeremy McGee Aug 27 '13 at 16:05
    
This was useful, just a small addition: I had started a Admin command window and before coming here already tried net use but it no connections. For some reason I thought to check from a non-admin command window and found a connection that I needed to delete. –  Miserable Variable Nov 15 '13 at 16:45
up vote 3 down vote accepted

This seemed to help: "net use * /del"

Still i do not know what was my initial mistake...

share|improve this answer

use IP address instead of server name? (see Multiple Credentials in a Single Windows NT Session http://support.microsoft.com/kb/q173199/ )

share|improve this answer

I had the same problem... a connection had been removed, and did not show up in a net use list was preventing a new connection.

Running net use * /del and then answering "N" seemed to clear it!

share|improve this answer

Your Answer

 
discard

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.