To configure the password policies in ServiceNow, create a policy, choose its password strength preset, and set the length, character, and pattern restrictions. Test candidate passwords before saving, then select the intended policy for the relevant credential store. Use the Admin Center route or the Password Policies module with the role required for that procedure.
Choose the route to configure the password policies
A password policy defines the requirements a password must satisfy. The Password Policy plugin, com.glide.password_policy, is enabled by default, and policy enforcement takes effect when a user changes or resets a password. Treat configuration, assignment, and verification as separate checks: a completed form does not by itself prove that the intended credential store uses that policy.
The Admin Center procedure requires the admin role. Creating and testing criteria through All > Password Policy > Password Policies requires password_policy_admin. Plan access for the actual procedure you intend to perform rather than assuming that a role mentioned for one screen describes permissions across the entire password reset area.
The steps and field values below come from the Brazil release. The Australia release describes the same presets and form fields without listing their length or character-count values, so check the values on your own instance before relying on a specific number. Check the available controls on your instance and release before making changes, especially if the instance uses the ValidatePasswordStronger installation exit or customized pwd_cred_store behavior. Review those customizations as part of the change plan so a new policy does not rest on assumptions about the existing validation path.
Create the policy through Admin Center
Use this route when you are configuring Service Desk Assisted Password Reset from Service Operations Workspace. With the admin role, follow these steps:
- Navigate to All > Service Operations Workspace > Overview.
- In Admin Center, open the Overview tab and select Configure on the Service Desk Assisted Password Reset card. Alternatively, use the Configurations tab and select the Service Desk Assisted Password Reset card.
- On the Password policies card, select Configure. The default policy appears.
- Select New to create a policy, then enter a Name that your administrators can distinguish from other policies.
- Review Password Strength Preset, the minimum and maximum length fields, Excluded Special Characters, Disallow User Data, and both pattern thresholds.
- Select Submit when the policy fields are ready.
Before entering values, write down the intended acceptance rules. For example, distinguish a length requirement from a requirement for special characters. They address different aspects of a password, and raising one does not establish the other.
Where password reset enrollment and credential stores also need attention, use the separate guidance on password reset credential stores and enrollment to plan that neighboring work.
Select a preset by its actual criteria
For the Password Policies module procedure, use password_policy_admin, navigate to All > Password Policy > Password Policies, and select New. Enter Name, then choose Password Strength Preset in the Password Policy Criteria section. The initial preset is Default Strong. Compare the populated values rather than relying on the names to imply a simple progression in strength.
- Default: minimum length 8 and maximum length 100, with at least one uppercase, one lowercase, and one numeric character. Its minimum special character count is zero.
- Medium: minimum length 12 and maximum length 40, with at least one character in each of the uppercase, lowercase, numeric, and special categories.
- High: minimum length 8 and maximum length 100, with one uppercase character, two lowercase characters, one numeric character, and three special characters as minimums.
- Default Strong: minimum length 8 and maximum length 100, with one character required in each of those four categories.
- Custom: starts with lengths of 8 and 100 and one character in each category, and exposes Password Policy Script for customization.
- Advanced: exposes Password Rule Script and Password Strength Script for requirements handled through scripts.
Medium therefore starts with a longer minimum password than High, while High requires more special characters. Decide which criteria meet your approved requirements before selecting a preset. If a preset populates values that differ from the intended policy, resolve that difference before testing or assigning it.
Minimum Password Length and Maximum Password Length appear for the presets other than Advanced. The minimum count fields for uppercase, lowercase, numeric, and special characters each support values from zero to ten. When reviewing the form, check both the category counts and the total length limits so the proposed combinations can actually fit.
Control special characters, user data, and patterns
Included Special Characters restricts which special characters a password may contain. Excluded Special Characters identifies special characters that a password must not contain. These fields serve different purposes from Minimum Special Character(s), which determines the required count. Test the allowed character set and the count separately so a failure points to a specific rule.
Excluded Special Characters appears on the form only when its enabling property is set, and the two names used for that property do not agree: glide.password_policy.use_excluded_special_char and glide.password_policy.user_excluded_special_char. Confirm which name exists in System Properties on your instance before you rely on it. Do not compensate by changing an unrelated count field: requiring more special characters does not establish an exclusion list.
Disallow User Data excludes authentication-related user data from passwords. Sequence Length Threshold and Repetition Length Threshold address predictable sequences and repeated characters. Each threshold supports a maximum of eight characters; Default Strong initializes both thresholds to four. These controls add checks beyond the uppercase, lowercase, number, and special character requirements.
Build a test plan that isolates those rules. Use one candidate to examine a sequence and another to examine repetition, while keeping the remaining criteria satisfied. A candidate that fails several requirements at once is harder to diagnose because changing one feature may still leave another failure in place.
For help planning this work, see ServiceNow implementation.
Test the criteria and select the credential store policy
In the Password Policies procedure, use Test Your Password to check a candidate before selecting Submit. Use disposable test values rather than a person’s working secret when preparing a shared test record. Record the rule being checked and the result without retaining the candidate password in screenshots, tickets, or handover notes.
Run a small set of deliberate checks instead of accepting one successful candidate as sufficient evidence:
- Test a candidate that meets the planned criteria to establish an expected success.
- Test below the minimum length and above the maximum length to examine both boundaries.
- Remove a required character category while preserving the other requirements.
- Try a special character outside the intended allowed set or inside the excluded set.
- Check sequence, repetition, and user-data restrictions separately.
After validating the policy, navigate to All > Password Reset > Credentials Stores, select the relevant credential store, and change Password policy to the intended policy. Check the selected record by name, especially where similar names exist. The active password policy is highlighted for the instance, which provides another configuration check.
A tester needs to know which reset path to exercise, not just which policy record was created. Related administration work can be planned with the guidance on ServiceNow Password Manager.
Before you rely on the store’s password policy, confirm that the glide.enable.password_policy property exists in System Properties and is set to true. Without that value, password standards are not enforced when a user changes a password on the change password form. The property does not apply when an administrator sets a password or adds a user through a script, so script-driven changes need their own checks. Treat the value as a safe harbor setting: once it is changed, it cannot be reverted, so confirm the intended value before you edit it.
If the policy must also block reuse, select Enforce history policy on the credential store and add a password_history_limit parameter to the Password Reset Credential Store Parameters list. The value is the number of previous passwords that cannot be reused, up to a maximum of 10, and the default of 0 allows any previous password. That option appears only for AD Credential Store or Local ServiceNow Instance types, so check the store type before you look for it.
Finish by exercising the intended password change or reset journey with a designated test account. Compare its acceptance and rejection results with the form tests. If results differ, inspect the chosen credential store and known validation customizations before adjusting the strength requirements. Use the test account’s own records, and delete any test credentials after the run.
Questions to resolve before the policy handover
Resolve conflicting requirements before choosing form values by naming the approver who can settle the final rule and writing that rule down as something a tester can check. Plan a review for any script customization that covers its failure cases as well as its form settings, and give each script requirement an expected result so a later administrator can tell an intended rejection from a defect. The service desk needs the accepted requirements, the affected reset journey, and a clear route for reporting unexpected failures, but never reusable password strings.