Jump to content

How can I change Administrator name before install


Recommended Posts


I don't know if this will work because I haven't tried it.

But I call a file in cmdlines.txt to set up accounts.

accounts.bat

net user administrator /delete
net user newadmin password /add
net localgroup Administrators newadmin /add

Link to comment
Share on other sites

I don't know if this will work because I haven't tried it.

But I call a file in cmdlines.txt to set up accounts.

accounts.bat

net user administrator /delete
net user newadmin password /add
net localgroup Administrators newadmin /add

That won't work, because Administrator is a built-in account, so you can't delete it. There are alot of programs to rename the Administrator account. Just search.

Link to comment
Share on other sites

To change cluster size is more complex - its best to use partition magic or something manually....

But if you do need to do something about it, check out "fsutil" - run it from a command prompt.

And as for the Admin name change, the netuser.exe tool is an easy way to do it.

netuser Administrator /name:NEWNAME

A search of the forum will bring up the download.

Link to comment
Share on other sites

"net user" is a command obtained from NET.exe - it doesn't allow you to rename built-in accounts.

Administrator and guest are built-in accounts.

I use netuser.exe to rename both accounts to improve security (because known user accounts is a security hole).

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...