Saturday, June 15, 2024
HomeWindowsWindows securityXP/2K/2003: View Account Policies

XP/2K/2003: View Account Policies

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

Quinn McHenry
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.


Please enter your comment!
Please enter your name here

Most Popular


Recent Comments

error: Content is protected !!