mchipser Posted November 16, 2011 Posted November 16, 2011 (edited) I am trying to disable the built in admin account and create a new admin account with the settings etc into a new account.. Is there a easy way to do this?Here is what i am thinking but someone else probably knows an easier way..EDIT: I think i may try and explore USMT.. REM rename default adminwmic UserAccount where Name="administrator" call Rename Name="backupadmin"REM create new account newadminNET USER newadmin passwordREM Add new account to admin groupnet localgroup administrators newadmin /addREM Enable system to change password at next loginWMIC.EXE Path Win32_UserAccount Where Name="newadmin" Set PasswordExpires="TRUE"net user newadmin /logonpasswordchg:yesREM copy all stuff from backupadmin to new newadmin copy c:\users\backupadmin\* c:\users\newadmin\REM disable old adminnet user backupadmin /active:no Edited November 16, 2011 by mchipser
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now