Disallow special characters in Specops Password Policy

Disallow special characters in Specops Password Policy

In this post, we will demonstrate how to disallow the use of special characters in passwords, in this case Swedish character, by using the “regular expression” setting in Specops Password Policy. Before getting started, ensure that you have installed the Specops Password Policy Administration Tool.

Open the group policy management console, and browse to the GPO you want to edit. Under User Configuration\Policies\Windows Settings you will find Specops Password Policy settings.

Screenshot of Regular expression - configure specops password policy

Click configure Password Policy. Under tab Password Rules you will find regular expression. Tick use regular expression and click the edit button.

Screenshot of Regular expression - Specops password policy 2

screenshot of Regular expression - specops password policy 3

Write in ^[^åäöÅÄÖ]+$ in the regular expression field. You can also write a message for the end user in the client message field.

If  åäöÅÄÖ is in the new password, the user will receive the following feedback.

screenshot of feedback for Regular expression - Specops Password Policy 4

Going forward, the use of åäöÅÄÖ will be disallowed.

SPP trial CTA - v2_1080

(Last updated on October 30, 2023)


Written by


More Articles
Back to Blog

Related Articles

  • Rolling out new password policies: Changing the pwdlastset attribute

    Rolling out new Password Policies can require planning. Captain Obvious? Maybe. But planning, planning and planning will ensure you ask all your questions upfront. It is tortoise and hare right? “Less haste, more speed!” In discussing some planning with someone recently we began talking about an issue where users are forced to immediately change their…

    Read More
  • Inconsistencies in Password Settings

    I have had a couple of customers baffled when their default domain policy has one set of password settings but there is a different set of password settings listed for the Default Domain Policy when they look Specops Password Policy Domain Administration tool. In situations where I’ve seen this the customer had renamed the Default…

    Read More