Password Settings


Configures password parameters

Password complexity: which characters are used when generating a new password
Default: Large letters + small letters + numbers + special characters

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

Password age in days
Minimum: 1 day
Maximum: 365 days
Default: 30 days

Supported on: At least Windows Vista
Password Complexity


  1. Large letters
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft Services\AdmPwd
    Value NamePasswordComplexity
    Value TypeREG_DWORD
    Value1
  2. Large letters + small letters
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft Services\AdmPwd
    Value NamePasswordComplexity
    Value TypeREG_DWORD
    Value2
  3. Large letters + small letters + numbers
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft Services\AdmPwd
    Value NamePasswordComplexity
    Value TypeREG_DWORD
    Value3
  4. Large 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 Value14
Min Value8
Max Value64
Password Age (Days)

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Microsoft Services\AdmPwd
Value NamePasswordAgeDays
Value TypeREG_DWORD
Default Value30
Min Value1
Max Value365

admpwd.admx

Administrative Templates (Computers)