#192197 - 2009-02-12 05:23 PM
USE command not mapping drives in logon script Vista 64
|
DWhitehurst
Just in Town
Registered: 2009-02-10
Posts: 4
Loc: Plano, Texas
|
I am deploying Vista64 and have a kix logon script. When a user logs on the script runs but does not map drives. What is wierd is that if you manually run the script after they logon it will map the drives.
USE X: "\\$SITEFS1\corp" USE Y: "\\$SITEFS1\data"
I have displayed the error codes and it returns a 0 but no mapped drive. seems to work fine on Vista32 and XP It also works most of the time logged on as a domain admin. I have tried version 4.6 and 4.53 Any suggestions? Anyone else come across this?
If i use a net use command in the script it will map correctly too I would just prefer using the Kix command
|
|
Top
|
|
|
|
#192206 - 2009-02-12 08:06 PM
Re: USE command not mapping drives in logon script Vista 64
[Re: DWhitehurst]
|
DWhitehurst
Just in Town
Registered: 2009-02-10
Posts: 4
Loc: Plano, Texas
|
The problem only occurs running the logon with the group policy. If after I log on as the user I run the logon script it will map all of the drives correctly! Thanks for replying!
|
|
Top
|
|
|
|
#192296 - 2009-02-16 03:24 PM
Re: USE command not mapping drives in logon script Vista 64
[Re: Lonkero]
|
DWhitehurst
Just in Town
Registered: 2009-02-10
Posts: 4
Loc: Plano, Texas
|
I have noticed that the drives are mapped if you list drives using the net use command but they do not show up in Explorer.
|
|
Top
|
|
|
|
#192299 - 2009-02-16 06:16 PM
Re: USE command not mapping drives in logon script Vista 64
[Re: DWhitehurst]
|
DWhitehurst
Just in Town
Registered: 2009-02-10
Posts: 4
Loc: Plano, Texas
|
For anyone else that may have this issues. The issue has to do with the UAC and permissions. Microsoft has a script to delay running the logon script allowing it to run with the proper security token. In the following artical look for launchapp.wsf. I have tested this and it is working for me. Although i did have to comment out a few lines so it would run without user interaction.
http://technet.microsoft.com/en-us/library/cc766208.aspx
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 406 anonymous users online.
|
|
|