8

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.

alex2k8
  • 42,496
  • 57
  • 170
  • 221

2 Answers2

15

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.

Mark
  • 6,269
  • 2
  • 35
  • 34
  • 1
    With 'Find > Find Handle Or Dll...' I can find processes using the shared folder. Thought I can't reproduce the issue again, this is a good idea. Thank you! – alex2k8 Apr 13 '09 at 22:59
  • 1
    Solved for me too but search for ServerA not \\ServerA – 9swampy May 27 '14 at 18:38
  • Just wanted to say, use the "Find > Find Handle Or DLL" as @alex2k8 pointed out. I couldn't find squat with all the info Process Explorer presented, but using the find tool, I was able to quickly search for the server I was attempting to connect to "ServerA" EX, and found the process easily, and mapping worked. Hours pulling my hair out (couldn't restart) and this post saved me, thank you! – russds Oct 13 '14 at 19:29
-2

To open it in Explorer it has to be able to logon using your credentials (or the ones you provide when it eventually asks you for credentials).

After that you have a connection and would have to disconnect before you could remap the share with different credentials. (see "Disconnect network share")

You could map it persistently - that way it would always use the credentials you provide.

Shea
  • 11,085
  • 2
  • 19
  • 21