Re: Drive letters not disconnecting properly.



MFLR wrote:
>
The network drives are simply not disconnecting any way any how when the user simply logs into the network, ie logging out then logging back in. A Reboot clears the connections and the login works fine mapped drives etc. work fine. From there if I clear or disconnect the drives using either explorer or a net use * /del the drive letters still show up but show up as disconnected,
<snip>


I ran into this same issue recently - I feel your pain!

This WSH script will disconnect and then Map the drives properly:

http://www.ss64.com/wsh/drivemap.txt

Save it as DriveMap.vbs

'Usage
' cscript DriveMap.vbs <drive> <fileshare> //NoLogo

e.g.
cscript DriveMap.vbs H: \\MyServer\MyShare //NoLogo


.



Relevant Pages

  • RE: Mapped drives say DIsconnected and cannot disconnect them
    ... Test it in Safe Mode with Network ... some mapped drives listed in the registry keys. ... Disconnect mapped drives it says there ...
    (microsoft.public.windows.file_system)
  • Re: Getting rid of disconnected network drives (Explorer)
    ... Mapped drives do not appear to connect or disconnect in Windows Explorer ...
    (microsoft.public.windowsxp.general)
  • Persistent map drive with VBScript
    ... I'm trying to map drives with VBScript persistently so that even after ... disconnect from network I will still see the mapped drives except they ... ' Function to map network share to a drive letter. ...
    (microsoft.public.scripting.vbscript)
  • Login script
    ... id like to use ruby to process my login script. ... how do you read all mapped drives, map a drive or disconnect a mapped ...
    (comp.lang.ruby)
  • Re: Mapped drives show disconnected when users log off and log on
    ... > I created roaming profile for all the users but since the wireless would ... > disconnect once in a while and they would loose their roaming profiles I ... > I have a vbs logon script which maps drives according to what groups the ... > computer they have two session starting, one is with the name of the computer ...
    (microsoft.public.windows.server.active_directory)

Quantcast