473,396 Members | 1,967 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 2760
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jack | last post by:
I am working on a dotnet project to write an application that can audit and write registry and local security policy entries on multiple standalone (not networked) and domain computers. Since...
0
by: Mark Broadbent | last post by:
Could someone who has active experience of assigning Security Policys please clarify my follow comments... Having gone through the MSDN documentation on this subject, my condensed version of the...
5
by: bjarne | last post by:
I´ve made a desktop application in C# (.NET 1.1) and now I would like it to run in a local intranet. I know that I can change the .NET configuration on each client and give the specific application...
1
by: Mike L | last post by:
How do I push out a new version of my C# exe file to all the client computers? The client computers are in my local area network, and I have administrator rights. Currently I walk over to each...
6
by: Michael | last post by:
I am running an application that requires "Full Trust" which is declared in the assembly. How do I trap for the System.Security.Policy.PolicyException that is raised by a local machines CAS if...
1
by: Michael | last post by:
Is there any way for a program when loaded to query the local machine zone to determine what the security policy settings are and what permissions are available. The program I have written...
2
by: ali | last post by:
I have a program that has hand written database connections and DataGridView that connects to my database on sql server using computer's name .this works fine locally BUT problem occures when...
2
by: Sreekanth | last post by:
I am trying to write an application which users will run from intranet network to determine if some of the software installed or not. Basically I am getting this information from registry. If...
0
by: Shiamak | last post by:
Hi , is there a way to use VB to add an existing user to "log on as a service" of local Security policy? i want to do this in VB /VB .net??? TIA
2
by: daz_oldham | last post by:
Hi everyone I'm trying to lock my SQL Server Desktop Edition down which is running on a relatively fresh install of Windows 2003 Server Standard Edition which is a dedicated server from...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.