Add Local admin account with password in MDT as a script

Hi All, I am trying to add in a local admin account with a password during my deployment. the account does get created and added to the Administrators group but the password does not work.

the script im using is

net user AccountName Password /add

net localgroup Administrators /add AccountName

can anyone shed any light on this

Thanks in advance.


  • Edited by Sukey2K Wednesday, October 29, 2014 3:10 PM
October 29th, 2014 3:08pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics