Name

net accounts

Synopsis

net accounts /sync			

Force an update of the user accounts database.

net accounts options [/DOMAIN]

Modify the system or domain password policy settings. /DOMAIN says to operate on the primary domain controller rather than on the local system. (The local system is the default on Windows 2000 server systems.)

Options

/MINPWLEN:n

Set the minimum password length to n characters (the default value is 0, and the allowed range is 0-14).

/MAXPWAGE:n

Set the maximum password lifetime to n days (the default value is 42, and the allowed range is 1-49,710). The keyword UNLIMITED may be specified for n to remove any limit.

/MINPWAGE:n

Set the minimum number of days between password changes (the default value is 0, and the allowed range is 0-49,710).

/UNIQUEPW:n

Remember n previous passwords (the default value is 0, and the maximum value is 24).

/FORCELOGOFF:mins | NO

Force users to logoff mins minutes after their permitted logon times have expired; NO disables forced logoffs (this is the default).

Get Windows 2000 Commands Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.