Would you like to learn how to show the password policy using the command line? In this tutorial, we are going to show you how to use the command line to display the password policy on a computer running Windows.

• Windows 2012 R2
• Windows 2016
• Windows 2019
• Windows 10
• Windows 11

Equipment list

Here you can find the list of equipment used to create this tutorial.

This link will also show the software list used to create this tutorial.

Windows Related Tutorial:

On this page, we offer quick access to a list of tutorials related to Windows.

Tutorial Windows - Display the password policy

As an Administrator, start an elevated command-line.

Windows - Elevated command prompt

Show the password policy.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

There are multiple ways to display the password policy of Windows.

Copy to Clipboard

Here is the file content.

Copy to Clipboard

Congratulations! You are able to display the password policy of a computer running Windows.