Digitalcandy
IS-IT--Management
Currently I'm using the following to disconnect map drives;
WSHNetwork.RemoveNetworkDrive "G:"
But all this does is "disconnect" the user from "G:" The user can still go into "My Computer", see the disconnected drive, double click it to go right in. Also, when the computer is restarted, "G:" will still be in "My Computer", but show as "disconnected" still allowing the user to access it.
How do you completely remove all traces of it showing in "My Computer" so you don't see it in there?
WSHNetwork.RemoveNetworkDrive "G:"
But all this does is "disconnect" the user from "G:" The user can still go into "My Computer", see the disconnected drive, double click it to go right in. Also, when the computer is restarted, "G:" will still be in "My Computer", but show as "disconnected" still allowing the user to access it.
How do you completely remove all traces of it showing in "My Computer" so you don't see it in there?