G
Guest
I have a logon script (VBScript) that maps drives persistently based on group
membership.
Problem is when a user is moved to a different group (i.e. they no longer
have access to the drive that was mapped persistently), the drive;
• Is not enumerated via EnumNetworkDrives
• Cannot be disconnect via RemoveNetworkDrive, error; drive not found
• Is unable to be replaced via MapNetworkDrive, error; attempt to remember
drive previously remembered
I believe the error is somewhat identified by Microsoft here
(http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q303209&ID=KB;EN-US;Q303209).
I have however found the problem to be not specific to WScript but all drive
mapping tools (NET USE, manual mapping via Explorer).
In an attempt to workaround I would like to;
• Change the persistent status of the drives being mapped at logon (i.e. not
persistent)
• Create a logoff script that makes persistent any network drives that
contains offline files. While this might not be a fix it will help cut down
occurrences of the mapping problem mentioned above to a acceptable level.
My questions;
1. Can anyone identify a solution for the mapping problem mentioned?
2. Is there anyway to interact with Offline Files (list them) with VBScript
via the registry or otherwise?
membership.
Problem is when a user is moved to a different group (i.e. they no longer
have access to the drive that was mapped persistently), the drive;
• Is not enumerated via EnumNetworkDrives
• Cannot be disconnect via RemoveNetworkDrive, error; drive not found
• Is unable to be replaced via MapNetworkDrive, error; attempt to remember
drive previously remembered
I believe the error is somewhat identified by Microsoft here
(http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q303209&ID=KB;EN-US;Q303209).
I have however found the problem to be not specific to WScript but all drive
mapping tools (NET USE, manual mapping via Explorer).
In an attempt to workaround I would like to;
• Change the persistent status of the drives being mapped at logon (i.e. not
persistent)
• Create a logoff script that makes persistent any network drives that
contains offline files. While this might not be a fix it will help cut down
occurrences of the mapping problem mentioned above to a acceptable level.
My questions;
1. Can anyone identify a solution for the mapping problem mentioned?
2. Is there anyway to interact with Offline Files (list them) with VBScript
via the registry or otherwise?