Re: Accessing Local Security Policy Programatically



There is not public interface, scriptable or not, for doing so.
Some things can be accessed with older APIs from C++, for
example the User Rights.
If you are only after one or a few settings, then read in the
sceregvl.inf file and find the targetted reg value and read that.
However, be aware that setting that value will not change
what policy tries to make it become, and what you set will
get wiped out as soon as any policy (local or GPO) defines
that setting.

"Rupesh" <rupesh.khetawat@xxxxxxxxx> wrote in message
news:1154619322.383534.298150@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

I am NOT finding a way to access Local Security Policy settings
programatically.

The Local Security Policy setting which I'm trying to access is:
"Network Access: Allow anonymous SID/Name translation"

Does anybody have an idea about accessing this settting
programmatically?

Regards,
Rupesh



.



Relevant Pages

  • Re: Debugger not working in Vs.net 2003
    ... ASPNET user account) is not assigned the "Impersonate a client after ... after authentication" user right in the Local Security Policy settings. ...
    (microsoft.public.vsnet.debugging)
  • RE: Local security policy Settings
    ... this happens when a trust have disappeared, is corrupted or when group or user have been deleted in an another container with which the box have an implicit trust. ... Under the local security Policy settings I was seeting up a user and I found these ...
    (Focus-Microsoft)
  • Accessing Local Security Policy Programatically
    ... I am NOT finding a way to access Local Security Policy settings ... The Local Security Policy setting which I'm trying to access is: ... Does anybody have an idea about accessing this settting ...
    (microsoft.public.windows.server.security)
  • Local security policy Settings
    ... Under the local security Policy settings I was seeting up a user and I found these ... entries - like they where users: ...
    (Focus-Microsoft)

Loading