Editing and Modifying Local Security settings using VBscript

  • Thread starter Thread starter Guest
  • Start date Start date
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,
 
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
 
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.
 
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.
 
Back
Top