net user syntax

  • Thread starter Thread starter William Hymen
  • Start date Start date
William Hymen wrote in @newsread1.news.atl.earthlink.net:
Hi All,

How do I reset a locked user account
with NET USER ?

Try not only net user /?
but also either
net help net user
net user /help
for the full syntax.

eg:

NET USER [username [password | *] [options]] [/DOMAIN]
username {password | *} /ADD [options] [/DOMAIN]
username [/DELETE] [/DOMAIN]
....
Options Description
------------------------------------------------------------------
/ACTIVE:{YES | NO} Activates or deactivates the account.
If the account is not active, the user
cannot access the server. The default
is YES.
....
 
Hi All,

How do I reset a locked user account
with NET USER ?

net user USERNAME /active:yes

add /domain if necessary.

Clay Calvert
(e-mail address removed)
Replace "W" with "L"
 
Back
Top