Password Settings

Configures password parameters

Password complexity
Which character sets are used when generating a new password
Default: Capital letters + small letters + numbers + special characters

Password length
Minimum: 8 characters
Maximum: 64 characters
Default: 12 characters

Password age in hours
Default: 720 hours (30 days)


Supported on: At least Windows Vista
Password Complexity


  1. Capital letters
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft Services\AdmPwd
    Value NamePasswordComplexity
    Value TypeREG_DWORD
    Value1
  2. Capital letters + small letters
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft Services\AdmPwd
    Value NamePasswordComplexity
    Value TypeREG_DWORD
    Value2
  3. Capital letters + small letters + numbers
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft Services\AdmPwd
    Value NamePasswordComplexity
    Value TypeREG_DWORD
    Value3
  4. Capital letters + small letters + numbers + specials
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft Services\AdmPwd
    Value NamePasswordComplexity
    Value TypeREG_DWORD
    Value4

Password Length

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Microsoft Services\AdmPwd
Value NamePasswordLength
Value TypeREG_DWORD
Default Value12
Min Value8
Max Value64
Password Age (Hours)

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Microsoft Services\AdmPwd
Value NamePasswordAge
Value TypeREG_DWORD
Default Value720
Min Value
Max Value

admpwd.e.admx