Solved

How to query information in the computer local policy

Posted on 2011-03-16
9
630 Views
Last Modified: 2012-05-11
I am currently looking for a script which allows me to query the two values or more in the local security setting of Windows 2003 and XP on my network:

The first value that I am looking for is Store passwords using reversible encryption which you can configure this security setting by opening the appropriate policy and expanding the console tree as such: Computer Configuration\Windows Settings\Security Settings\Account Policies\Password Policy\

And the second value that I would like to query is "Anonymous SID/Name Translation" which can be located at "Windows Settings\Security Settings\Local Policies\Security Options\ and the Value is "Network access: Allow anonymous SID/name translation"

The script that I am looking for should query the values on the specific policy and return the answer, I would like to run it against a Server/Workstation List.

0
Comment
Question by:Islandr
  • 4
  • 3
  • 2
9 Comments
 
LVL 23

Expert Comment

by:ComputerTechie
ID: 35153382
0
 
LVL 23

Expert Comment

by:ComputerTechie
ID: 35153383
0
 
LVL 51

Expert Comment

by:Netman66
ID: 35153384
Why would you want this?

If your GPOs have this value set then all the domain members (clients and servers) will have the identical setting as long as Group Policy is applying.  If you need it for SOX, then make the settings the way they must be on the Default Domain Policy or a new GPO that affects your clients and apply them.  This will guarantee they are the same.

Other than that, there isn't really a way to do this unless you dump the policy using SECEDIT and parse it completely as a text file searching for the information you are looking for - this is quite intensive.



0
 

Author Comment

by:Islandr
ID: 35156018
ComputerTechie,

How do I run a query, because this sample script modify the values, I would like to query.

Thanks,
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 51

Expert Comment

by:Netman66
ID: 35156142
That link is for modifying Process Security levels - absolutely nothing to do with what you're asking.

0
 

Author Comment

by:Islandr
ID: 35156372
Netman66,

We know that we have a group policy in place to mitigate and prevent changes to the host, however there is a scan that has come up with a list of systems that might not be complaint, and is either to check them individually or run a script.

Any suggestions?
0
 
LVL 51

Expert Comment

by:Netman66
ID: 35156428
Well, the password policy comes from the Default Domain Policy and if a computer is joined to the domain it's getting that one - there isn't any way around that and there's no way to override, block or change that.

The second setting (if set at the Default Domain Policy) can be overridden on lower-level GPOs, but the way to mitigate that from happening is to Enforce the policy making that setting (hopefully, it's the Default Domain Policy too).  By Enforcing it, any settings made explicitly in this policy cannot be overridden or blocked anywhere else.


As for a script - there's nothing I know of unless there's something buried deep in WMI I haven't seen before.

0
 

Accepted Solution

by:
Islandr earned 0 total points
ID: 35403566
This is unresolved.  There is no solution for this.
0
 

Author Closing Comment

by:Islandr
ID: 35431203
There was no solution
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

A short article about a problem I had getting the GPS LocationListener working.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now