
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