Microsoft KB Archive/194739

= INFO: Undocumented "Net Accounts" Switches =

Article ID: 194739

Article Last Modified on 2/27/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows NT Workstation 4.0 Developer Edition
 * Microsoft BackOffice Small Business Server 4.0
 * Microsoft BackOffice Small Business Server 4.0a
 * Microsoft Windows NT Server 4.0 Standard Edition
 * Microsoft Windows NT Server 4.0 Enterprise Edition

-



This article was previously published under Q194739





SUMMARY
The NET ACCOUNTS command modifies password and logon requirements for all accounts, and can synchronize the user accounts database. The Netlogon service must be running on the computer where you are changing account settings.



MORE INFORMATION
To display the utility's documented parameters, type net accounts /? at the command prompt. The documented parameters are:

  NET ACCOUNTS [/FORCELOGOFF:{minutes | NO}] [/MINPWLEN:length]

[/MAXPWAGE:{days | UNLIMITED}] [/MINPWAGE:days] [/UNIQUEPW:number] [/DOMAIN]

To synchronize a domain user account database, at the command prompt type:

NET ACCOUNTS /SYNC

However, the following parameters are not documented:

/LOCKOUTTHRESHOLD:

This parameter allows you to configure the number of failed logon attempts before the account is locked. The range is 1 to 999.

/LOCKOUTDURATION:

This parameter specifies the number of minutes accounts remain locked before automatically becoming unlocked. The range is 1 to 99999.

/LOCKOUTWINDOW:

This parameter lets you configure the maximum number of minutes between two consecutive failed logon attempts before an account is locked. The range is 1 to 99999.

NOTE: Failed logon attempts on workstations or member servers that are secured using either Lock Workstation, or a screensaver using password protection, do not increment the account lockout setting entered via the NET ACCOUNTS command.

Keywords: kbinfo KB194739

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.