Skip to main content

Set Workstation Local Password Policy

Overview​

Sets the local password policy for the workstation.

Sample Run​

  • Search for the script Set workstation local password policy

Sample Run 1

  • Click Run to execute
    Sample Run 2

Dependencies​

Custom Fields​

Field NameTypeMandatoryScopeDescription
cpvalEnableMaximumLocalPasswordAgeCheckboxtrueOrganizationCheck this box to activate the maximum password age policy for local users
cpvalEnableMinimumLocalPasswordLengthCheckboxtrueOrganizationCheck this box to activate the minimum password length policy for local users.
cpvalEnforceLocalPasswordComplexityCheckboxtrueOrganizationCheck this box to activate the password complexity policy for local users.
cpvalMinimumPasswordLengthTexttrueOrganizationProvide the minimum length for the local password length policy. The valid range is between 8 and 14.
cpvalMaximumPasswordAgeTexttrueOrganizationProvide the maximum age in days for the maximum local password age policy. The valid range is between 4 and 360.

Automation Setup/Import​

Automation Configuration

Output​

  • Activity Details

Changelog​

2026-10-07​

  • Initial version of the document