Disconnect Mapped Drives

Forum Windows 2000/NT : Windows 2000/NT General Discussion - Disconnect Mapped Drives

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.win2000.group_policy (More info?)

 

Is there a policy that can disconnect any mapped drives when the user logs
off or shuts down?

Thanks,
Jasper

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.win2000.group_policy (More info?)

 

Hi Jasper,

You could add a logoff script to a group policy that removes drives. Here is
a sample that removes a mapped drive letter I:

'##SCRIPT START
Dim oWshNetwork

Set oWshNetwork=CreateObject("WScript.network" )

oWshNetwork.RemoveNetworkDrive "i:",True

'##SCRIPT END

Regards

Niclas Lindblom




"Jasper Recto" <jrecto99@yahoo.com> wrote in message
news:u2SgUYDPEHA.2452@TK2MSFTNGP11.phx.gbl...
> Is there a policy that can disconnect any mapped drives when the user logs
> off or shuts down?
>
> Thanks,
> Jasper
>
>

Reply to Anonymous
Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > Disconnect Mapped Drives
Go to:

There are 1181 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them