I would like to understand the difference between this registry key,


and the local computer policy settings via mmc,

Local Computer Policy -> Computer Configuration -> Windows Settings -> Security Settings -> Account Policies -> Maximum Password Age

why are there 2 different values, and when I change one it doesn't affect the other/

  • The Registry showing a value of "4, 30" is odd. That key is a REG_DWORD, which means you should only be seeing a hex value and its decimal equivalent. The Windows default is 0x0000001e (30). (Though, interestingly enough that does not match the default Local Policy value of 42.)
    – Iszi
    Aug 3, 2014 at 21:43
  • Related
    – Iszi
    Aug 3, 2014 at 21:49

2 Answers 2


The first one is a Machine Password setting, it controls the age of a silently configured 'machine password', which is used when machines connect to each other.

The second one is an Windows Password setting, which controls User Account Passwords.


I don't know about this particular case, but most of the times windows stores policy settings (configured in mmc) in the registry.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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