Editing and Modifying Local Security settings using VBscript

G

Guest

Hi,

I am unable to change the audit policy, user rights in local security
settings in windows 2000 particularly. The RSOP stuff works only on XP and
later versions. Or where are these details stored in OS?? It is not in
registry or any other inf files(I suppose)

Thanks,
 
R

Roger Abell [MVP]

Thilak said:
Hi,

I am unable to change the audit policy, user rights in local security
settings in windows 2000 particularly.

Why? What are you experiencing when trying to do so?

?The RSOP stuff works only on XP and
later versions.

That is correct. W2k does not have the plumbing to support this.
You can however use GPMC to model in "What if" fashion against a Wk2.
Or where are these details stored in OS?? It is not in
registry or any other inf files(I suppose)

With W2k one had to use detail logging and read the logs
 
R

Roger Abell [MVP]

OK, so I just noticed the "using VBscript" in the subject.
There is, in general, no public API, no scriptable interface for
direct manipulation of policy settings. Policy settings are stored
under system32\GroupPolicy with just were depending on their
origin, applicability, and which policy.
User rights can be manipulated from C++ or by use of such as
NTrights utility.
 
G

Guest

Roger,

Now I m trying to write a c++ program. Can you give me the name
of the object or class with which we can access the user rights in local
security settings.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top