J Jasper Recto May 17, 2004 #1 Is there a policy that can disconnect any mapped drives when the user logs off or shuts down? Thanks, Jasper
Is there a policy that can disconnect any mapped drives when the user logs off or shuts down? Thanks, Jasper
N Niclas Lindblom May 17, 2004 #2 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
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