I had the same problem but it wasnt actually with the mapping of the drive
but how I was gathering the group membership.
I was using:
'Set UserObj = GetObject("WinNT://" & wshNetwork.UserDomain & "/" &
wshNetwork.UserName)
I changed this to the LDAP format similar to this example:
http://www.microsoft.com/technet/scr...4/hey1210.mspx
Does this fix the issue you're having?
Thanks
Jason
"randyh@newsgroups.nospam" wrote:
> Hi,
>
> I am trying to get my organization's logon/logoff scripts working with
> Vista. I have found one problem that I need some assistance with.
>
> One of our logon scripts maps drives based on group membership. It works
> fine in Vista if it is ran once a user is fully logged in but does not work
> when ran via the logon script. I have tried the following things:
>
> - Map the drive using WScript.Network.MapNetworkDrive.
> - Map the drive using "net use".
> - Making the script sleep for 30 seconds before mapping the drives.
>
> Any ideas?
>