NetUser.exe  Previous topicNext topicFirst topicLast topic

NetUser.exe
 
The NetUser tool allows full user management for NT environments from the command prompt. NetUser allows the system administrator to automate user management through batch processes, execute quick changes, search the user database and manage different servers from one place. A quick and easy to use command line tool !
 
 
NETUSER [-a|-c|-x|-f] UserName [/d:[T|F]] [/f:fullname] [/D:Home dir DRIVE]
        [/e:expires MMDDYYYY] [/g:description] [/h:home directory] [/m:[T|F]] [/n:[T|F]
        [/p:password] [/q:profile] [/s:script] [/S:servername] [/u:[T|F]] [/w:[T|F]]
 
NETUSER adds or updates the UserName user-id.
  -aAdds user-id to the system. Aborts if user exists.
  -cUpdates a user-id based on the settings given.
  -fFinds a user by searching in the username, fullname, comment and
    description for the text specified by UserName.
  -xAdds user-id to the system if it doesn't exist, otherwise
    changes the specified user-id.
  -rRegister this tool with netuser -r code
  /d:[T|F]Sets user-id to DISABLED if TRUE,
  ENABLED if FALSE.
  /D:Drive letter sets DRIVE letter for the user (e.g. H:).
  /e:expiresspecifies when the account will expire, format : MMDDYYYY
  /f:fullnameSets user's full name. When entering full-names
        & descriptions, use "quotes" to seperate spaces.
  /g:descriptSets user's description.
  /h:home driveSets the drive to map the home drive letter to.
  /l:[T]Unlocks a locked out account.
  /m:[T|F]Sets the 'user must change password at next logon' switch.
  /n:notesets the account comment.
  /p:passwordSets the user-id password.
  /P:[T|F]password required.
  /q:profileSets the user's profile.
  /s:scriptSets the user's Script file.
  /S:servernameDetermines the machine on which the user is to be administered.
  /u:[T|F]Sets the 'user cannnot change password' switch.
  /w:[T|F]Sets the 'password never expires' switch.
 
NOTE: the /m:T and /s:T switches must not be used simultaneously.
      the /m:T and /w:T switches must not be used simultaneously.
      the /m:T switch doesn't work if user's password is set to never expire.
 
 
 
 
 


HTML  export copyright (C) 1998 Windows Help Designer