Way to script Policy settings? Specifically the User Account Rights? 
Author Message
 Way to script Policy settings? Specifically the User Account Rights?

There has to be a means to script the User Account Rights... can't seem to
find it anywhere though...

Anybody been able to figure out how to modify the User Account Rights
(besides using the NTRights tools? I want to be able to deploy or
redistrubute it.).



Tue, 06 Dec 2005 04:10:23 GMT  
 Way to script Policy settings? Specifically the User Account Rights?
Im pretty sure there is a way to create a security template for a GPO and
then export the settings.  Using the new GPMC I think you can do this.  Then
you have a template with all of the settings that you want so you can use it
somewhere else.

Philip Nunn


Quote:
> There has to be a means to script the User Account Rights... can't seem to
> find it anywhere though...

> Anybody been able to figure out how to modify the User Account Rights
> (besides using the NTRights tools? I want to be able to deploy or
> redistrubute it.).



Tue, 06 Dec 2005 04:57:24 GMT  
 Way to script Policy settings? Specifically the User Account Rights?
You can't directly edit user rights from scripts.  You can create a script
that modifies a security template and then imports it into the GPO like
Philip mentions.  Or, you could wrap the LsaAddAccountRights call into an
exe or a com object to be called from scripts.

N

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


Quote:
> Im pretty sure there is a way to create a security template for a GPO and
> then export the settings.  Using the new GPMC I think you can do this.
Then
> you have a template with all of the settings that you want so you can use
it
> somewhere else.

> Philip Nunn



> > There has to be a means to script the User Account Rights... can't seem
to
> > find it anywhere though...

> > Anybody been able to figure out how to modify the User Account Rights
> > (besides using the NTRights tools? I want to be able to deploy or
> > redistrubute it.).



Wed, 07 Dec 2005 03:18:54 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Way to script Policy settings? Specifically the User Account Rights?

2. Script to Assign User Rights Policies

3. User Manager policies/rights via script

4. Script to Assign User Rights Policies

5. Setting Lcoal Account Policies on NT 4 Workstations

6. User rights policy

7. User Rights Policies on Member Servers

8. How to: Programatically set user rights policies in VB

9. setting user accounts to expire

10. Setting Up and Changing User Accounts

11. Win2000 - setting up users and email accounts in active directory

12. setting user rights problem using adsi

 

 
Powered by phpBB® Forum Software