MapNetworkDrive not working during first logon
- From: Greg <Greg@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 29 Apr 2008 14:37:01 -0700
Greetings All,
I am having a problem with mapping network drives the very first time a user
logs onto a computer while their profile is being created. For some reason,
during the very first interactive logon when a new user logs onto a PC they
do not get their network drives. Other parts of the logon script (vbscript)
appear to be working correctly. I can test for group memberhip, display a
pop-up message, write to a log file etc. just not map a drive.
If I manually run the logon script again once the desktop is up then all of
the drives map correctly and every time after that first logon the drives get
mapped properly.
I have tried explicitly specifying the value for bUpdateProfile instead of
relying on the default, which should be false, as indicated here:
http://msdn2.microsoft.com/en-us/library/8kst88h6(VS.85).aspx
I have tried enabling userenv logs but I don't really know what to look for
and I nothing jumped out as an obvious error.
My environment is a Windows 2003 native mode domain, Windows XP Pro with SP2
on the destktops and the logon script is a vbscript that is specified on the
Profile tab of the user account in active directory users and computers.
Any thoughts or suggestions would be appreciated. Work arounds would be ok
too. Perhaps if there is a way for the logon script to detect that a new
profile is being created then I can take some other actions.
Thanks in advance,
Greg Brown
.
- Follow-Ups:
- Re: MapNetworkDrive not working during first logon
- From: Al Dunbar
- Re: MapNetworkDrive not working during first logon
- Prev by Date: Re: Need a script to compare two files
- Next by Date: Re: Logon Scripts for Dept. and Printers based on Groups and IP
- Previous by thread: Re: Need a script to compare two files
- Next by thread: Re: MapNetworkDrive not working during first logon
- Index(es):
Relevant Pages
|