Discussion Locked

Disable profile-based map drives

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

Hi,

I made a mistake of connecting network drive during the configuration on an image. The Default User profile contains a U:\ drive.

Now the server on which the drive is connected was removed from the network. So, everytime a new user log on to a computer, the network drive is conencted, but point to nowhere... That make Windows Explorer and Office applications buggy because they try to reconnect the drive and a time out occur, and then the programs opens (it can take up to 1 min).

I want to know if there a way to disconnect this network drive based on 2 conditions :

1- the network drive must be connected to U:
2- if the condition 1 is true, the network drive is disconnected

I'm not a programming guru, so if you can help, it will be greatly appreciated.

Thanks for your help !

2 replies

by shasca

If the U: drive is not being loaded by a login script. You can disconnect the drive in the profile that image was created under then in the system user profiles copy that per that profile to the default user profile under C:documents and settings. Then all new users wil get a profile without the hard mapping.

by msavignac

Yes I know it's possible to modify the profile by overwriting it with a new one... The problem is with the computers on the field : everytime a new user log on the U: drive is connected. If an help desk technician forget to disconnect manually the drive when customizing the user profile once the user is logged, the problem isn't fixed.

I want to know if it exists a command that can :

Verify if a map drive connected to U: and if that U: is conneted to a specific server, then disconnect it.

I know the simpliest solution could be to disconnect the U: and then reconnect it to the new server but I want to make it -- > CONDITIONAL.

Again, thank for your help.

This discussion is closed to new replies.