![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Logon Script 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? |
My System Specs![]() |
| | #2 (permalink) |
| | RE: Logon Script 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? > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Logon script | PowerShell | |||
| Logon Script Causing Laptops To Hang - Problems in script? | VB Script | |||
| Logon Script | VB Script | |||
| Logon script is not visible | Vista networking & sharing | |||
| Logon Script - VBScript | Vista General | |||