XP/2K/2003: View account policies

Contributor Icon Contributed by qmchenry  
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

 

1 Comment -


  1. vinoth said on May 13, 2009

    its net accounts

 

RSS feed for comments on this post. TrackBack URL

Leave a comment -