How to set the built-in admin password to never expires in an unattend file


i using waik deploy server 2008 r2.  found out how set built-in administrator password in unattend file.

does know how flag/set administrator password "never expires" in unattend file?

not directly, no. put .cmd file in image , reference firstlogoncommands object in answer file. in .cmd file:

wmic useraccount "name='administrator'" set passwordexpires=false



Windows Server  >  Setup Deployment



Comments

Popular posts from this blog

some help on Event 540

WMI Repository 4GB limit - Win 2003 Ent Question

Event ID 1302 (error 1307) DFS replication service encountered an error while writing to the debug log file