Discussion Locked

Disconnecting Network Drives

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I would like to know how to disconnect network mapped drives.
There is a logon script that executes but the drive letters in the script do not match the letters on the local pc. I disconnected the drives and mapped new letters on a local pc. However, after rebooting the old mappings reconnected along with the new ones.
How can I disconnect the old mappings so that they will not reconnect?

5 replies

by dmiles

There is a Windows 2000 policy setting that will disconnect a network drive
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
NoNetConnectDisconnect
Reg_DWORD
Value=1
The other option
Start up File Manager
select options,click on the second option to Disconnect Network Drive
this apllies to appropiate OS

by dcadmin

In the beginning of your login script add the delete command for all the network drives that you want to map,

ie to delete the g: drive
must do this for each letter.
NET USE G: /delete
it will delete the network drive and then add the command to map the network drive

This discussion is closed to new replies.