XP/2K/2003: View account policies

Contributor Icon Contributed by qmchenry Date Icon August 29, 2004  
Tag Icon Tagged: Windows security

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:

net account /domain

Previous recipe | Next recipe |
 

Viewing 1 Comment

 
close Reblog this comment
blog comments powered by Disqus