XP/2K/2003: View Account Policies

Posted August 29, 2004 by Quinn McHenry in Windows security

Last Updated on

The net command provides an easy way to view and set account policies from the command line.

To view the current account policy settings, run the command net account from a command window. The output will look something like this:

Force user logoff how long after time expires?: Never
Minimum password age (days): 30
Maximum password age (days): 90
Minimum password length: 8
Length of password history maintained: 3
Lockout threshold: Never
Lockout duration (minutes): 60
Lockout observation window (minutes): 30
Computer role: WORKSTATION
The command completed successfully.

The account policies for the domain can be viewed by running the following:

net account /domain


About Quinn McHenry

Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
View more articles by Quinn McHenry

The Conversation

Follow the reactions below and share your own thoughts.

Leave a Reply