A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Networking with Windows Vista
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Networking with Windows Vista Networking issues and questions with Windows Vista. (microsoft.public.windows.vista.networking_sharing)

Login Script Problems



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old September 14th 06, 01:19 PM posted to microsoft.public.windows.vista.networking_sharing
John
external usenet poster
 
Posts: 563
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.
  #2 (permalink)  
Old September 15th 06, 03:12 AM posted to microsoft.public.windows.vista.networking_sharing
Prashanth Prahalad [MSFT]
external usenet poster
 
Posts: 13
Default 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" wrote in message
...
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.



  #3 (permalink)  
Old September 15th 06, 01:39 PM posted to microsoft.public.windows.vista.networking_sharing
John
external usenet poster
 
Posts: 563
Default 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:

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" wrote in message
...
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.




  #4 (permalink)  
Old October 9th 06, 03:01 PM posted to microsoft.public.windows.vista.networking_sharing
Jamfo
external usenet poster
 
Posts: 1
Default 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:

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:

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" wrote in message
...
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.




  #5 (permalink)  
Old December 6th 06, 04:39 PM posted to microsoft.public.windows.vista.networking_sharing
Shane
external usenet poster
 
Posts: 42
Default Login Script Problems

I cannot believe this has happened. I understand the UAC benefits, but was no
thought given to admins who have many many GPOs that simply cannot be easily
changed like this.

How far away from a _proper_ resolution is this issue?

Shane

"Jamfo" wrote:

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:

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:

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" wrote in message
...
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.



  #6 (permalink)  
Old January 18th 07, 01:38 PM posted to microsoft.public.windows.vista.networking_sharing
Les
external usenet poster
 
Posts: 32
Default Login Script Problems

You can get round this by making sure the user you log on with is NOT in the
Administrators group of the local machine. If you go to perform an activity
that needs Administrative status it will ask you for a user name and password
of a user that is.

"Shane" wrote:

I cannot believe this has happened. I understand the UAC benefits, but was no
thought given to admins who have many many GPOs that simply cannot be easily
changed like this.

How far away from a _proper_ resolution is this issue?

Shane

"Jamfo" wrote:

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:

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:

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" wrote in message
...
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.



 




Thread Tools
Display Modes

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

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



All times are GMT. The time now is 08:09 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.