net user HTAdmin /delete
net user HTAdmin yourpassword /add /expires:never
net localgroup administrators HTAdmin /add
set username=HTAdmin
WMIC.EXE Path Win32_UserAccount Where Name="%username%" Set PasswordExpires="FALSE"
net user HTAdmin yourpassword /add /expires:never
net localgroup administrators HTAdmin /add
set username=HTAdmin
WMIC.EXE Path Win32_UserAccount Where Name="%username%" Set PasswordExpires="FALSE"
exit
激活Windows 7 administrator
net user administrator /active:yes