Real Geek Forums  

Go Back   Real Geek Forums > Archives > Operating Systems > Windows Vista > Windows Vista Networking & Sharing

Notices

Reply

Login Script Problems

 

LinkBack Thread Tools Display Modes
Old 09-14-2006, 12:55 PM   #1 (permalink)
Default Login Script Problems

I have Vista RC1 jopined to a domain. I can login with my domain id, but my
drive maps don't show up. The drives are mapped through a vbscript deployed
via gpo. I can see the scripts in my recent files, and can run them manually
with success. I have checked and/or disabled every security setting I can
think of but still can't get this to work at login.

Anybody else had this problem? Any thoughts on how to fix?

Thanks.
john
Guest
 
Posts: n/a
Reply With Quote  
Old 09-14-2006, 01:19 PM   #2 (permalink)
Default Login Script Problems

I have Vista RC1 jopined to a domain. I can login with my domain id, but my
drive maps don't show up. The drives are mapped through a vbscript deployed
via gpo. I can see the scripts in my recent files, and can run them manually
with success. I have checked and/or disabled every security setting I can
think of but still can't get this to work at login.

Anybody else had this problem? Any thoughts on how to fix?

Thanks.
john
Guest
 
Posts: n/a
Reply With Quote  
Old 09-15-2006, 03:12 AM   #3 (permalink)
Default Re: Login Script Problems

Sorry about the delay. Here's an explanation of what you are seeing and the
official recomendation.

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.

"john" <john@discussions.microsoft.com> wrote in message
news:C72E2C0F-900F-49AB-B145-D6E98B581B0F@microsoft.com...
Quote:
>I have Vista RC1 jopined to a domain. I can login with my domain id, but my
> drive maps don't show up. The drives are mapped through a vbscript
> deployed
> via gpo. I can see the scripts in my recent files, and can run them
> manually
> with success. I have checked and/or disabled every security setting I can
> think of but still can't get this to work at login.
>
> Anybody else had this problem? Any thoughts on how to fix?
>
> Thanks.

Prashanth Prahalad [MSFT]
Guest
 
Posts: n/a
Reply With Quote  
Old 09-15-2006, 01:39 PM   #4 (permalink)
Default Re: Login Script Problems

Thanks for the reply.

Just to make sure I understand, I will know need to write two scripts, and
run them through the scheduler in order to do what a single script ran from a
gpo is supposed to do. I also think this is the whole point of having an AD
Domain, centralized, and simplification of, management.

This sounds like a bad flaw, not to mention security vulnerability. If a
hacker can get a bad script ran through the scheduler, you are hosed.

There has to be a better way of getting a domain member to get mapped
drives. Not to mention, is Vista going to break all of my gpos? If so, MS
just gave open source a huge advantage.

All I want is my current gpos to run properly in Vista, not work around them.

Thanks for any help you can provide.


"Prashanth Prahalad [MSFT]" wrote:
Quote:
> Sorry about the delay. Here's an explanation of what you are seeing and the
> official recomendation.
>
> 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.
>
> "john" <john@discussions.microsoft.com> wrote in message
> news:C72E2C0F-900F-49AB-B145-D6E98B581B0F@microsoft.com...
Quote:
> >I have Vista RC1 jopined to a domain. I can login with my domain id, but my
> > drive maps don't show up. The drives are mapped through a vbscript
> > deployed
> > via gpo. I can see the scripts in my recent files, and can run them
> > manually
> > with success. I have checked and/or disabled every security setting I can
> > think of but still can't get this to work at login.
> >
> > Anybody else had this problem? Any thoughts on how to fix?
> >
> > Thanks.
>
>
>
john
Guest
 
Posts: n/a
Reply With Quote  
Old 10-09-2006, 03:01 PM   #5 (permalink)
Default Re: Login Script Problems

I have to agree with John on this issue. I've spent a lot of time perfect
and managing my GPO's and associated scripts so that my users receive the
proper drive and printer mappings. I would expect any NEW Microsoft
operating system, such as Vista, to adhere to the conventions in use and
defined on a Microsoft network operating system.

To think that deploying Vista would require me to re-engineer and re-script
all my GPO's is frustrating and would certainly be a HUGE strike in my
adoption of the new OS. After all, it's not like we're trying to pair Vista
with a non-Microsoft product! Vista should be able to take advantage of the
GPO's and scripts just as transparently and painlessly as XP.

Just for clarification: I am running Vista SC1 on a network with several
Windows 2003 servers and roughly a dozen or so GPO's.

"john" wrote:
Quote:
> Thanks for the reply.
>
> Just to make sure I understand, I will know need to write two scripts, and
> run them through the scheduler in order to do what a single script ran from a
> gpo is supposed to do. I also think this is the whole point of having an AD
> Domain, centralized, and simplification of, management.
>
> This sounds like a bad flaw, not to mention security vulnerability. If a
> hacker can get a bad script ran through the scheduler, you are hosed.
>
> There has to be a better way of getting a domain member to get mapped
> drives. Not to mention, is Vista going to break all of my gpos? If so, MS
> just gave open source a huge advantage.
>
> All I want is my current gpos to run properly in Vista, not work around them.
>
> Thanks for any help you can provide.
>
>
> "Prashanth Prahalad [MSFT]" wrote:
>
Quote:
> > Sorry about the delay. Here's an explanation of what you are seeing and the
> > official recomendation.
> >
> > 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.
> >
> > "john" <john@discussions.microsoft.com> wrote in message
> > news:C72E2C0F-900F-49AB-B145-D6E98B581B0F@microsoft.com...
Quote:
> > >I have Vista RC1 jopined to a domain. I can login with my domain id, but my
> > > drive maps don't show up. The drives are mapped through a vbscript
> > > deployed
> > > via gpo. I can see the scripts in my recent files, and can run them
> > > manually
> > > with success. I have checked and/or disabled every security setting I can
> > > think of but still can't get this to work at login.
> > >
> > > Anybody else had this problem? Any thoughts on how to fix?
> > >
> > > Thanks.
> >
> >
> >
Jamfo
Guest
 
Posts: n/a
Reply With Quote  
Reply

Tags
None

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
outlook 2003 rejecting login with secure password.. David Ulrich Windows Vista Mail 11 04-20-2007 04:49 AM
Login Scripts Not Running john Windows Vista Networking & Sharing 0 09-14-2006 12:54 PM
WLMail Desktop - can't login! James Windows Vista Mail 15 06-28-2006 03:34 PM
AD GPO log on script failure UCD-IT Windows Vista Networking & Sharing 1 06-27-2006 10:33 PM
WLMD Login Screen - Remember Password? Lynxy Windows Vista Mail 2 06-25-2006 04:11 PM


All times are GMT. The time now is 07:03 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright © 2005 - 2007 RealGeek.com. All rights reserved.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90