mchipser Posted November 16, 2011 Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now