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)

Need Repros, UAC breaks Domain GPO or Logon scripts.



 
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old August 30th 06, 07:46 AM posted to microsoft.public.windows.vista.networking_sharing
Steve Foster [SBS MVP]
external usenet poster
 
Posts: 25
Default Need Repros, UAC breaks Domain GPO or Logon scripts.

Kerry Brown wrote:

Steve Foster [SBS MVP] wrote:
Kerry Brown wrote:


On XP clients, this utility simply fails for non-administrative
users. It's only because of UAC/LUA/etc on Vista that there's an
opportunity to enter administrative credentials and have the
utility do its' thing (which is to install Outlook if necessary,
configure IE, create entries in Network Places, etc.)

I know that's the reason why. I still feel it's a bug. I don't like
the way it works with XP and it's worse with Vista. It is a big
security flaw forcing everyone to be a local administrator and goes
against the grain of the new security model in Vista. It will be a
major problem when deploying Vista workstations in a SBS environment
if you don't want everyone to be local administrators. There will be
no end of the users complaining about the UAC prompt, asking what
they should do, what's the password, etc. At least with XP you could
work around it. The SBS group rather than the Vista group will have
to fix it. If I complain about it every chance I get hopefully
sooner or later it will get through to the right people.


I disagree with the idea that ordinary users should be granted
administrative privileges on the workstation they use - so I don't do
so.


I don't think we disagree here. I wholeheartedly agree that standard users
shouldn't have administrator privileges or access to a password that
grants this.


You're right, I wasn't disagreeing with you. Users as local administrators
without good reason is not a sensible thing to do. Heck, even Microsoft
have finally recognised this. g




It's trivial to eliminate the problem:

* rename the standard SBS logon script, and put an empty script in
its' place (keeps the wizards happy), or
* comment out the invocation of the client setup utlity, or
* change it like this (use your favourite user account with local
administrative privileges):

if not "%username%"=="Installer" goto exit
\\server\clients\setup\setup.exe /s server
exit



That's three ways to fix it off the top of my head.


I also agree it's pretty easy to get around the problem. My point is it
shouldn't be a problem in the first place. In a properly designed
client/server network once the client is joined to the network there
shouldn't be any need for users to ever have local administrator
privileges. Programs should be able to install for the user with user
privileges. Updates should be able to be pushed out by the server without
any interaction from the users. I know this is a ways off with Windows
based networks and SBS in particular but if we all complain loud enough
the wait for it to happen will be shorter :-)


It's going to happen - but it'll be a while - as it takes new releases or
major service packs for Microsoft to roll out significant changes to
applications.

--
Steve Foster [SBS MVP]
---------------------------------------
MVPs do not work for Microsoft. Please reply only to the newsgroups.
  #12 (permalink)  
Old August 30th 06, 09:03 PM posted to microsoft.public.windows.vista.networking_sharing
John [MS]
external usenet poster
 
Posts: 13
Default Need Repros, UAC breaks Domain GPO or Logon scripts.

This is also fixed if the logon script is executed from a Computer/startup
GPO instead.

"Steve Foster [SBS MVP]" wrote in message
...
Kerry Brown wrote:

Steve Foster [SBS MVP] wrote:
Kerry Brown wrote:


On XP clients, this utility simply fails for non-administrative
users. It's only because of UAC/LUA/etc on Vista that there's an
opportunity to enter administrative credentials and have the
utility do its' thing (which is to install Outlook if necessary,
configure IE, create entries in Network Places, etc.)

I know that's the reason why. I still feel it's a bug. I don't like
the way it works with XP and it's worse with Vista. It is a big
security flaw forcing everyone to be a local administrator and goes
against the grain of the new security model in Vista. It will be a
major problem when deploying Vista workstations in a SBS environment
if you don't want everyone to be local administrators. There will be
no end of the users complaining about the UAC prompt, asking what
they should do, what's the password, etc. At least with XP you could
work around it. The SBS group rather than the Vista group will have
to fix it. If I complain about it every chance I get hopefully
sooner or later it will get through to the right people.

I disagree with the idea that ordinary users should be granted
administrative privileges on the workstation they use - so I don't do
so.


I don't think we disagree here. I wholeheartedly agree that standard users
shouldn't have administrator privileges or access to a password that
grants this.


You're right, I wasn't disagreeing with you. Users as local administrators
without good reason is not a sensible thing to do. Heck, even Microsoft
have finally recognised this. g




It's trivial to eliminate the problem:

* rename the standard SBS logon script, and put an empty script in
its' place (keeps the wizards happy), or
* comment out the invocation of the client setup utlity, or
* change it like this (use your favourite user account with local
administrative privileges):

if not "%username%"=="Installer" goto exit
\\server\clients\setup\setup.exe /s server
exit


That's three ways to fix it off the top of my head.


I also agree it's pretty easy to get around the problem. My point is it
shouldn't be a problem in the first place. In a properly designed
client/server network once the client is joined to the network there
shouldn't be any need for users to ever have local administrator
privileges. Programs should be able to install for the user with user
privileges. Updates should be able to be pushed out by the server without
any interaction from the users. I know this is a ways off with Windows
based networks and SBS in particular but if we all complain loud enough
the wait for it to happen will be shorter :-)


It's going to happen - but it'll be a while - as it takes new releases or
major service packs for Microsoft to roll out significant changes to
applications.

--
Steve Foster [SBS MVP]
---------------------------------------
MVPs do not work for Microsoft. Please reply only to the newsgroups.


  #13 (permalink)  
Old August 30th 06, 10:03 PM posted to microsoft.public.windows.vista.networking_sharing
Steve Foster [SBS MVP]
external usenet poster
 
Posts: 25
Default Need Repros, UAC breaks Domain GPO or Logon scripts.

John [MS] wrote:

This is also fixed if the logon script is executed from a Computer/startup
GPO instead.


Hmmm, not sure that's entirely safe.

* the client setup utility can be configured to allow interaction with the
user
* it applies some settings to the users' profile

I suspect neither of those aspects would work under the solution you're
suggesting (mind you, we'd lose the user-specific bits with an installer
account too).

--
Steve Foster [SBS MVP]
---------------------------------------
MVPs do not work for Microsoft. Please reply only to the newsgroups.
  #14 (permalink)  
Old September 19th 06, 01:45 AM posted to microsoft.public.windows.vista.networking_sharing
B. Getreu
external usenet poster
 
Posts: 1
Default Need Repros, UAC breaks Domain GPO or Logon scripts.

John,

I am an SBS 2003 SP1 user and am also testing Vista RC1. I, too, could not
connect using the connectcomputer facility through IE7 until I enabled the
Administrator account, logged in as Administrator and re-ran connectcomputer.
That worked, but then I noticed the default SBS logon script would hang
awaiting UAC approval. So, I disabled UAC.

I know that circumvents most of the new security in Vista, but the hassle of
having to approve the logon script at each logon is too much.

I am also a consultant to the local county school district. We use logon
scripts - the good old fashioned kind - in each school. We have a few that
run as part of a GPO. If these won't run without the user having to
"approve" each one when logging into the network, UAC will disappear
immediately, I'm certain.

"John [MS]" wrote:

I've been tracking an issue regarding UAC breaking logon scripts and I
need Repro's/scripts/examples. From what I've seen if you have your script
in the User/Logon GPO it pops UAC on some operations such as installing
antivirus or executing remote monitoring clients, cancelling on the UAC
prevents the domain policy from being fulfiled.

In some cases I have seen that moving these scripts to the Computer/Startup
GPO fixes the problem. Anybody had issues with similar cases? Have a bug
that was closed By Design, Not Repro relating to this type of issue, chime
in. Windows 2003 SBS connection issues welcome too.

Thanks,

John
Microsoft Windows Beta Team



  #15 (permalink)  
Old September 19th 06, 01:50 PM posted to microsoft.public.windows.vista.networking_sharing
Steve Foster [SBS MVP]
external usenet poster
 
Posts: 25
Default Need Repros, UAC breaks Domain GPO or Logon scripts.

B. Getreu wrote:

John,

I am an SBS 2003 SP1 user and am also testing Vista RC1. I, too, could not
connect using the connectcomputer facility through IE7 until I enabled the
Administrator account, logged in as Administrator and re-ran
connectcomputer.
That worked, but then I noticed the default SBS logon script would hang
awaiting UAC approval. So, I disabled UAC.

I know that circumvents most of the new security in Vista, but the hassle
of
having to approve the logon script at each logon is too much.

I am also a consultant to the local county school district. We use logon
scripts - the good old fashioned kind - in each school. We have a few that
run as part of a GPO. If these won't run without the user having to
"approve" each one when logging into the network, UAC will disappear
immediately, I'm certain.


They will run, that's not an issue.

But if they attempt to do anything that requires administrative
privileges, UAC will kick in.

This is why the default SBS logon script generates a UAC warning - it
invokes an executable that requires administrative privileges to do its'
work.

--
Steve Foster [SBS MVP]
---------------------------------------
MVPs do not work for Microsoft. Please reply only to the newsgroups.
  #16 (permalink)  
Old October 12th 06, 11:37 AM posted to microsoft.public.windows.vista.networking_sharing
Attila
external usenet poster
 
Posts: 6
Default Need Repros, UAC breaks Domain GPO or Logon scripts.

Every one have tested SBS logon with RC2?

"John [MS]" wrote:

I've been tracking an issue regarding UAC breaking logon scripts and I
need Repro's/scripts/examples. From what I've seen if you have your script
in the User/Logon GPO it pops UAC on some operations such as installing
antivirus or executing remote monitoring clients, cancelling on the UAC
prevents the domain policy from being fulfiled.

In some cases I have seen that moving these scripts to the Computer/Startup
GPO fixes the problem. Anybody had issues with similar cases? Have a bug
that was closed By Design, Not Repro relating to this type of issue, chime
in. Windows 2003 SBS connection issues welcome too.

Thanks,

John
Microsoft Windows Beta Team



  #17 (permalink)  
Old October 12th 06, 03:43 PM posted to microsoft.public.windows.vista.networking_sharing
Steve Foster [SBS MVP]
external usenet poster
 
Posts: 25
Default Need Repros, UAC breaks Domain GPO or Logon scripts.

Attila wrote:

Every one have tested SBS logon with RC2?


It's still the same - the SBS client deployment application causes a UAC
prompt.

--
Steve Foster [SBS MVP]
---------------------------------------
MVPs do not work for Microsoft. Please reply only to the newsgroups.
 




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 03:55 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.