Net accounts

Modifies the user accounts database and changes logon and password requirements.

Syntax

 net accounts [/forcelogoff:{minutes | no}] [/minpwlen:length] [/maxpwage:[days | unlimited]] [/minpwage:days] [/uniquepw:number] [/domain] net accounts [/sync] [/domain] 

Parameters

 

Parameter

Purpose


None

Displays current domain, logon, and password settings.

[/forcelogoff:{minutes | no}]

Specifies the number of minutes to wait before terminating a user session with a server when the user's logon time expires. No prevents a forced logoff.

[/minpwlen:length]

Sets the minimum password length.

[/maxpwage:[days | unlimited]]

Sets the password expiration period.

Parameters

 

Parameter

Purpose


[/minpwage:days]

Specifies a minimum number of days that must pass before users can change passwords.

[/uniquepw:number]

Establishes a password history requirement that prevents users from reusing a password for the specified number of times.

[/domain]

Specifies that the operation should occur on a domain controller instead of locally.

[/sync]

Causes the primary domain controller to synchronize with all the backup domain controllers.



Microsoft Windows XP Professional Administrator's Guide
Microsoft Windows XP Professional Administrators Guide
ISBN: 1931841969
EAN: 2147483647
Year: 2005
Pages: 358

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net