469,097 Members | 1,600 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,097 developers. It's quick & easy.

Local Security Policy

I am trying to write a vb.net app that can read and/or write local
security policy settings on standalone workstations. BTW, counting on
domain group policy is not an option, since some of our workstations
do not sit on the network.

Anyway, I've been trying to use DirectoryServices to get at the
local security policy, but found I must specify the computer name and
a valid local user account to enumerate all of the values that I need
to check. This works, but it also implies that the settings such as
MinPasswordLength and PasswordAge are user specific, rather than set
at the computer level. Also, can someone tell me, are setting such as
MinPasswordLength written in the registry anywhere? I am convinced
they are not! Also, I am trying to setup Auditing, plus disable
several windows services that are not needed. Clearly I am missing
something here. Can someone school me, please!
Nov 21 '05 #1
1 2558
Jack,

Did you know that there is a special securitiy newsgroup

microsoft.public.dotnet.security

I think that you have there a better change for an answer

Cor

"Jack" <ja***********@yahoo.com>
I am trying to write a vb.net app that can read and/or write local
security policy settings on standalone workstations. BTW, counting on
domain group policy is not an option, since some of our workstations
do not sit on the network.

Anyway, I've been trying to use DirectoryServices to get at the
local security policy, but found I must specify the computer name and
a valid local user account to enumerate all of the values that I need
to check. This works, but it also implies that the settings such as
MinPasswordLength and PasswordAge are user specific, rather than set
at the computer level. Also, can someone tell me, are setting such as
MinPasswordLength written in the registry anywhere? I am convinced
they are not! Also, I am trying to setup Auditing, plus disable
several windows services that are not needed. Clearly I am missing
something here. Can someone school me, please!

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Jack | last post: by
reply views Thread by Mark Broadbent | last post: by
5 posts views Thread by bjarne | last post: by
1 post views Thread by Mike L | last post: by
6 posts views Thread by Michael | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by kglaser89 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.