Where can I find the local password policies?
The answer you are looking for can be found on Server Fault, here.
Even Anderson wrote:
The items you wnat [sic] to change are stored in the registry, but not in a place that you really want to be playing around "by hand".
Since these aren't domain-member computers, you'll want to change these items in the local security policy. You can get there quickly by running "SECPOL.MSC" from the "Start" button. Dig into "Account Policies" and "Password Policy" and you'll find the settings you're looking for.
After you modify the settings either reboot or run "GPUPDATE" to cause the changed settings to take effect.
If you have any number of machines to do this to you can use the "Export Settings..." functionality in the Security Policy editor to export the settings to an INF file. To apply that INF file on other servers, copy the INF file over to them and execute:
SECEDIT /configure /db secedit.sdb /cfg
Related videos on Youtube
Seth
User of Ubuntu since 11.04. Currently running 16.04 because Unity is awesome ;). Amateur CLI geek. Ubuntu member. Unity lover. Interested in information systems and security. I like sailing, the outdoors, books, and cooking. Email: sethj AT ubuntu (.com). We're all mad here. I'm mad. You're mad. How do you know I'm mad? You must be. Or you wouldn't have come here. -Alice in Wonderland
Updated on September 18, 2022Comments
-
Seth over 1 year
I would like to export the password policy keys to a
.reg
file so I can apply them across multiple systems easily.Are the password policies stored in the registry? If so, where?
-
Keltari over 10 yearsIs this a domain environment?
-
Seth over 10 years@Keltari No it is not.
-