Script to Assign User Rights Policies 
Author Message
 Script to Assign User Rights Policies

G'day.  I'm in the middle of planning an NT system deployment.  To
minimize the amount of manual configuration our techs (untrained in NT)
have to do, I'm trying to automate as much as possible.  Using WSH,
VBScript (or VB), and ADSI, I can create users and groups.  What I have
not been able to do is figure out a way of scripting the assignment of
User Rights Policies to the groups.  I would like to automate the
creation of a special local group, to which our operators will belong,
that only has the following User Rights:  logon, shutdown, change time,
and backup.

The other item is that I would like write a script that changes the
access permissions on a single registry key that will give members of
the group full access to this key.  Again, this can be done via the
typical UI (regedt32), but I can't find a way to do it via scripting.  I
understand it can be done via command line (and thus as a .bat file)
with regini, but we don't have the NT Resource Kit.  The units are
standalone with the installs performed from CD-ROM.

Any advice on how to accomplish either or both of these two tasks is
welcome.  TIA.

Sent via Deja.com http://www.*-*-*.com/
Before you buy.



Sat, 22 Mar 2003 13:30:53 GMT  
 Script to Assign User Rights Policies

Is anything special needed for the addition of users to an NT server from
vbScript?


Quote:
> G'day.  I'm in the middle of planning an NT system deployment.  To
> minimize the amount of manual configuration our techs (untrained in NT)
> have to do, I'm trying to automate as much as possible.  Using WSH,
> VBscript (or VB), and ADSI, I can create users and groups.  What I have
> not been able to do is figure out a way of scripting the assignment of
> User Rights Policies to the groups.  I would like to automate the
> creation of a special local group, to which our operators will belong,
> that only has the following User Rights:  logon, shutdown, change time,
> and backup.

> The other item is that I would like write a script that changes the
> access permissions on a single registry key that will give members of
> the group full access to this key.  Again, this can be done via the
> typical UI (regedt32), but I can't find a way to do it via scripting.  I
> understand it can be done via command line (and thus as a .bat file)
> with regini, but we don't have the NT Resource Kit.  The units are
> standalone with the installs performed from CD-ROM.

> Any advice on how to accomplish either or both of these two tasks is
> welcome.  TIA.

> Sent via Deja.com http://www.deja.com/
> Before you buy.



Sat, 22 Mar 2003 03:00:00 GMT  
 Script to Assign User Rights Policies
OK, you don't have the Resource Kit. Do you have a TechNet
subscription? If so, your company already has the resource kit.
For scripting the User rights check out: ntrights.exe in there,
For setting security on the regkey, you could make use of system
policies.
For a very good article/description of this possibility check out:
http://www.*-*-*.com/ , an article
by Clayton Johnson, dec. 98
hth
Peter

On Tue, 3 Oct 2000 09:44:46 +0100, "Phil Winstanley"

Quote:

>Is anything special needed for the addition of users to an NT server from
>vbScript?



>> G'day.  I'm in the middle of planning an NT system deployment.  To
>> minimize the amount of manual configuration our techs (untrained in NT)
>> have to do, I'm trying to automate as much as possible.  Using WSH,
>> VBscript (or VB), and ADSI, I can create users and groups.  What I have
>> not been able to do is figure out a way of scripting the assignment of
>> User Rights Policies to the groups.  I would like to automate the
>> creation of a special local group, to which our operators will belong,
>> that only has the following User Rights:  logon, shutdown, change time,
>> and backup.

>> The other item is that I would like write a script that changes the
>> access permissions on a single registry key that will give members of
>> the group full access to this key.  Again, this can be done via the
>> typical UI (regedt32), but I can't find a way to do it via scripting.  I
>> understand it can be done via command line (and thus as a .bat file)
>> with regini, but we don't have the NT Resource Kit.  The units are
>> standalone with the installs performed from CD-ROM.

>> Any advice on how to accomplish either or both of these two tasks is
>> welcome.  TIA.

>> Sent via Deja.com http://www.*-*-*.com/
>> Before you buy.

-----
IO, IO
It's on the bus we go,
Save us a place,
In {*filter*}space,
IO, IO


Sat, 22 Mar 2003 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Script to Assign User Rights Policies

2. User Manager policies/rights via script

3. User rights policy

4. User Rights Policies on Member Servers

5. Remotely set user rights via script?

6. Scripting User rights...

7. wsh scripting and users right

8. Script to enumerate Group or User rights

9. Scripting User rights...

10. Listing an NT user's rights via script

11. Scripting User Rights

12. Assigning rights

 

 
Powered by phpBB® Forum Software