How to query information in the computer local policy
Posted on 2011-03-16
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.