Re: Is it possible to make changes to a group policy through script
- From: Brian Nielsen <BrianNielsen@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 18 Oct 2006 08:43:02 -0700
Hi Roger
Thanx for the answer.
The primary reason for using the setting is that some of the users on the
network must have special rights (the rights are given through group
membership).
When these users login, they select a 'profile' to work as and then re-logon
to have the proper rights.
In this case group membership must be updated and take effect at that next
logon. And this only happens on Windows 2000 WS or if this GPO setting is
enabled on the client in Windows XP.
If there are easier an easier way to make this happen, I would like to know...
I'm not completely sure about templates.
Can I make a template that only contains this single change (and be sure
that there not other machine specific stuff in the template).
And then apply it to the client by a script?
(it is to be used as part of an installation MSI file)
/Brian
"Roger Abell [MVP]" wrote:
"Brian Nielsen" <BrianNielsen@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message.
news:35C2EC26-DEAC-49C7-8E26-E70CD2CAE2F8@xxxxxxxxxxxxxxxx
Hi
I need to set the group policy setting "Always wait for the network at
computer startup and logon" on all Windows XP machines in the network, to
make XP apply group policies at logon time and alter group memberships on
each logon.
The policy you mention will not have the effect that you mention.
It will cause what you say only when policies are applied, which in default
settings will be when a change is detected in the applied policies.
I can't do it on the domain controller because XP be default apply group
policies asynchronously and therefore the setting will not be active when
a
user logon.
This does not follow.
Apply the setting to the client machines using a GPO if those machines
are in a domain. Once the machines have processed the new settings
those settings will thereafter be used.
The question 2-sided:Not really. One could define a template and have that applied with secedit.
1. Is there a way to change this setting using a script on the local
machine?
Otherwise there is no scripting API available to do this.
2. If it is not possible to do it by script, what is the easiest way to
apply this change in an environment consisting of Win2k3 DC's and Windows
XP
workstations?
Use a GPO that applies to that set of workstations
- Follow-Ups:
- Re: Is it possible to make changes to a group policy through script
- From: Roger Abell [MVP]
- Re: Is it possible to make changes to a group policy through script
- References:
- Re: Is it possible to make changes to a group policy through script?
- From: Roger Abell [MVP]
- Re: Is it possible to make changes to a group policy through script?
- Prev by Date: GPO to Block Clients Connecting to Domain
- Next by Date: Re: Default Domain Policy settings
- Previous by thread: Re: Is it possible to make changes to a group policy through script?
- Next by thread: Re: Is it possible to make changes to a group policy through script
- Index(es):
Relevant Pages
|