vote up 1 vote down star
1

I have a network drive that I originally set to automatically connect on login. However, now I need it to stop doing that. But even if I manually un-mount it as soon as I log back on it is back.

To mount the drives all I did was right click on My Computer and chose mount a network drive. Once I entered the path information I checked reconnect after login. Now it reconnects every time I log in.

I have multiple drives that I auto mount in this manner and I need to just prevent one from mounting on boot.

flag

67% accept rate
What method are you using to un-mount it? – JMD Nov 6 at 23:25
right click and choose unmount. – tvanover Nov 9 at 19:17

4 Answers

vote up 0 vote down check

How are you unmounting? Have you tried simply:

net use /d z:

link|flag
vote up 1 vote down

From How to connect and disconnect a network drive in Windows XP:

Disconnect from a mapped network drive

  1. Double-click My Computer.
  2. Right-click the icon for the mapped drive.
  3. Click Disconnect.

If it still returns, do :

net use /persistent:no

and then reboot. When you now log in, all of your mapped drives should be gone and you can remap the ones you need.

link|flag
How do I prevent this from stopping the rest of my drives from auto-mounting? – tvanover Nov 9 at 19:05
After executing the net use command, no network drive will auto-mount. You'll need to re-map the network shares that you want to have. So do this only if the first part of my answer didn't manage to disconnect the drive. – harrymc Nov 9 at 19:59
No, you can do this selectively as far as I know, just specify the drive letter, like you would for mounting/mapping in the first place, so: net use x: \\server\path /persistent:no will map this just once and not persist, then net use x: /del will get rid of that drive alone (you may have to do steps 2, 1, 2 since you already have it mapped) – AdamV Nov 9 at 20:12
vote up 0 vote down

Do you have it mounting from a batch in startup? When you map it do you add /persistent:no at the end?

link|flag
no I just mounted it by right clicking on my computer and told it to mount on login – tvanover Nov 7 at 7:16
vote up 0 vote down

How did you set it to Automatically logon? Was it a script? If so, delete / amend the script.

Another alternative would be to create a script which removednetworkdrive. This is an extension of Sean's idea.

link|flag
no script, just right click on my computer and frollow the mount network drive wizard. there is an option to mount on login that I chose. – tvanover Nov 9 at 19:06
Could it be as simple as unchecking 'Reconnect at logon' – Guy Thomas Nov 9 at 19:48

Your Answer

Get an OpenID
or
never shown

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