Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to query information in the computer local policy

Posted on 2011-03-16
9
Medium Priority
?
637 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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
 
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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
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 …
Starting up a Project
Suggested Courses

636 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