Search code examples
windows-xpnet-use

Error 1219. Multiple connections to a server or shared resource by the same user


I am trying to map network drive, but get error 1219 on Windows XP:

net use z: \\serverA\tests password /user:serverA\alex

I have tried

net use * /del /yes

But it has no effect, and the

net use

shows empty list.

\\serverA\tests is a valid path, as I can open it in Explorer.

What can be done?

EDIT: After reboot it works. But any ideas are still very welcome.


Solution

  • This will usually be caused by a handle left open. Download Process Explorer to find it, and try to close the program that has it open (don't close the handle itself). If it turns out to be explorer.exe, it's probably a buggy preview handler/shell extension.

    If you can't find the handle, you can always try using the IP address of ServerA to create a new connection with different credentials, e.g.

    net use z: \\10.1.2.3\tests password /user:serverA\alex
    

    Yes, sorry - use Find Handle or DLL with \\ServerA to find the program.