Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
Is this a domain environment? – Keltari Nov 10 '13 at 22:51
@Keltari No it is not. – Seth Nov 10 '13 at 22:54
up vote 3 down vote accepted

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

share|improve this answer

This link might be of use:

In XP, they are stored in the registry. To get a clear read on them all, download and run Regmon. As per the former, start here: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.