Re: Vista Logon Script
- From: taf@xxxxxxxxxxxxxxxx
- Date: 22 Nov 2006 11:17:27 -0800
I cannot possibly deploy Vista until this is fixed either. I've been
really happy with Vista so far, but I just can't believe that this is
even an issue. There should really be a group policy just for drive
mapping.
danshane wrote:
I agree that this "solution" is unwieldy and in fact unacceptable.
Drive mapping via login script is standard practice at hundreds of
organizations, and using Group Policy to do so has always been the
recommended method.
We need a *real* fix for this, not a workaround. I reported this issue
on every build of Vista betas, and still we have no solution. We won't
be upgrading to Vista on our campus until we have a satisfactory means
of performing this simple procedure.
Dan Shane
Network Systems Administrator
Indiana University
taf@xxxxxxxxxxxxxxxx wrote:
There must be a better way. The script works fine when launched
manually after logon. This solution is cumbersome to say the least and
would be a hassle to integrate with XP and 2K machines.
Richard Mueller wrote:
Seems many people report this problem. I found this posted on a Microsoft
Vista help group:
=========
Explanation for what you are seeing and workaround :
By default Group policy service executes scripts in an elevated mode. There
are some scripts like 'Map network drives' that would need to be run in UAP
mode. In order to launch such scripts in a UAP context from an elevated
process, you can leverage the Task scheduler API. Here is a sample script:
Launchapp.wsf
Usage: cscript launchapp.wsf <AppPath>
If the user wants to run a GP logon script Script-UAP.wsf and requires it
to run in UAP context because it is mapping drives for the user then, create
another script Launch-Script-UAP.wsf which will just use the sample script
above to launch Script-UAP.wsf in UAP mode. Deploy this script as GP logon
script.
I'm attaching the LaunchApp sample script too.
This change will also be communicated via KB, Vista GP document or
otherwise.
Let me know if you still have issues.
Thanks,
Prashanth
Vista Remote File Systems.
===========
This sounds like a big problem to me. I've never used wsf files myself. More
research needed, but this is crazy.
--
Richard
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
.
- References:
- Re: Vista Logon Script
- From: Richard Mueller
- Re: Vista Logon Script
- From: Richard Mueller
- Re: Vista Logon Script
- From: randyh@newsgroups.nospam
- Re: Vista Logon Script
- From: Richard Mueller
- Re: Vista Logon Script
- From: Richard Mueller
- Re: Vista Logon Script
- From: taf
- Re: Vista Logon Script
- From: danshane
- Re: Vista Logon Script
- Prev by Date: Re: Vista Logon Script
- Next by Date: Re: Unable to throw exception from method in encoded JS
- Previous by thread: Re: Vista Logon Script
- Next by thread: Re: Vista Logon Script
- Index(es):
Relevant Pages
|