Mundy

IT Knowledge Base

User Tools

Site Tools


set_password_never_expires_in_a_script

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

set_password_never_expires_in_a_script [2018/04/09 09:56] (current)
Line 1: Line 1:
 +See also: [[Find all groups with "​Password Never Expires"​]]
 +
 +== Freeware command line / batch account rename ==
 +
 +[http://​windowsitpro.com/​article/​dl%5Cnetuser.zip Netuser] is a freeware command line / batch program that will rename a uer account.
 + 
 +<source lang=text>​
 +usage: netuser username
 +
 +     /​name:​newname
 +     /​pwnexp:​{y|n} ​    sets Password Never Expires
 +</​source>​
 +
 +Examples:
 +
 +<source lang=dos>​
 +netuser Administrator /​name:"​My Domain Admin"
 +
 +netuser "John Doe" /name:DoeJ
 +</​source>​
 +
 +Source: http://​windowsitpro.com/​article/​articleid/​71895/​jsi-tip-0570---freeware-command-line--batch-account-rename.html
  
set_password_never_expires_in_a_script.txt ยท Last modified: 2018/04/09 09:56 (external edit)