Re: Vista Logon Script

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I am working with the RTM release of Vista trying to get my organization's
logon/logoff scripts working. 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.

Can you post a snippet of your script that duplicates the problem? Also,
does the script run correctly as a logon script on XP or W2k clients?

--
Richard
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net


.



Relevant Pages

  • Re: troubleshoot a script
    ... I see you use the memberOf attribute. ... ' map appropriate drives. ... The part of the script that will not work for the 3 ...
    (microsoft.public.scripting.vbscript)
  • Re: MapNetworkDrive not working during first logon
    ... is mapped automatically as part of the users profile. ... if I open a command prompt and switch to one of the mapped drives I ... script runs I get the popup message ... No path is specified for the logon script itself. ...
    (microsoft.public.scripting.vbscript)
  • Unable to remove remembered drives
    ... The script is completely finished and works perfectly if I ... It turned out that it couldn't map the drive for some ... appears I cant remove these remembered drives, ... Set fso = Createobject ...
    (microsoft.public.scripting.vbscript)
  • Drive Mapping Script Not working
    ... I have a script that maps drives based on a machines name here is a sample ... net use and map the share correctly net use reports the share to already be ...
    (microsoft.public.windows.server.scripting)
  • RE: Drive map issues after SP1
    ... There was never a /persistent:yes in the script - I had to add the ... the logon script will try to map the drive again. ... > before the map drive command to delete all the mapped drives: ...
    (microsoft.public.windows.server.sbs)