MSFN Forum: Renaming or Disabling Admininstrator Account - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Renaming or Disabling Admininstrator Account

#1 User is offline   senathon 

  • Newbie
  • Group: Members
  • Posts: 15
  • Joined: 14-October 05

Posted 04 November 2009 - 01:52 PM

I would like to rename the Administrator Account Unattend to another name for example: Tom

or I would like to create though unattend a User Account for Tom with Administrator rights, so when the computer boots up the first time, Tom is the account active, then the Administrator account is disable.


The idea is Tom is an administrator account instead of Administrator.

This post has been edited by senathon: 04 November 2009 - 01:53 PM



#2 User is offline   MrJinje 

  • Tool™ Developer
  • Group: Developers
  • Posts: 862
  • Joined: 14-October 09
  • OS:none specified
  • Country: Country Flag

Posted 04 November 2009 - 02:04 PM

You want to use something like this in your Oobe System Pass (autounattend.xml) during Windows-Shell-Setup. But basically Adminsitrator is already disabled by default, this will create Tom Account (which is already Administrator). Can add password or leave blank.

<UserAccounts>
   <LocalAccounts>
	  <LocalAccount wcm:action="add">
		 <Password>
			<Value></Value>
			<PlainText>true</PlainText>
		 </Password>
		 <DisplayName>Tom</DisplayName>
		 <Group>Administrators</Group>
		 <Name>Tom</Name>
	  </LocalAccount>
   </LocalAccounts>
</UserAccounts>


If you want to encrypt your password you would need to install teh W7 WAIK and use WSIM (aka Windows System Image Manager)

#3 User is offline   MAVERICKS CHOICE 

  • The Guy from Aus
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,604
  • Joined: 14-November 03

Posted 04 November 2009 - 02:17 PM

Yes basically Vista or W7 doesn't allow anyone to be"superadmin" like we did in XP.

#4 User is offline   senathon 

  • Newbie
  • Group: Members
  • Posts: 15
  • Joined: 14-October 05

  Posted 04 November 2009 - 03:16 PM

View PostMAVERICKS CHOICE, on Nov 4 2009, 03:17 PM, said:

Yes basically Vista or W7 doesn't allow anyone to be"superadmin" like we did in XP.


Dang, that is what I was trying to do.

IF I setup "TOM" acount in /oobe, is it possible that TOM to have the same or very similar settings.

This configuration is for laptops to be used by admins, but the admins name (ex. TOM) is used instead of administrator.

I would like to do this with either unattend or a script(either I can run manually or runonce)

Any help is highly apprecated.

#5 User is offline   MrJinje 

  • Tool™ Developer
  • Group: Developers
  • Posts: 862
  • Joined: 14-October 09
  • OS:none specified
  • Country: Country Flag

Posted 04 November 2009 - 03:52 PM

View Postsenathon, on Nov 4 2009, 03:16 PM, said:

View PostMAVERICKS CHOICE, on Nov 4 2009, 03:17 PM, said:

Yes basically Vista or W7 doesn't allow anyone to be"superadmin" like we did in XP.


Dang, that is what I was trying to do.

IF I setup "TOM" acount in /oobe, is it possible that TOM to have the same or very similar settings.

This configuration is for laptops to be used by admins, but the admins name (ex. TOM) is used instead of administrator.

I would like to do this with either unattend or a script(either I can run manually or runonce)

Any help is highly apprecated.




No such thing as super admin account in windows - Is a myth started by comparison of Administrator account to linux root user - aka - Super User - aka SU. All accounts within the local Administrators group are equally powerfull. If "TOM" account gets hacked by malware, you are just as screwed as if Administrator gets hacked.

To enable the Administrator account in W7 is snap. Just run this line of code

Net user administrator /active:yes

Only real difference in W7 is that the account is set disabled, just like when Creating a new account in AD. Old Hat.

Some people say things about UAC and super-admin blah blah blah, but I haven't ran into any issues using MrJinje Account with a disabled Administrator on my machine yet.

#6 User is offline   MAVERICKS CHOICE 

  • The Guy from Aus
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,604
  • Joined: 14-November 03

  Posted 05 November 2009 - 01:24 PM

@MrJinje

Does that piece of code only required to be run once?

#7 User is offline   MrJinje 

  • Tool™ Developer
  • Group: Developers
  • Posts: 862
  • Joined: 14-October 09
  • OS:none specified
  • Country: Country Flag

Posted 05 November 2009 - 04:12 PM

View PostMAVERICKS CHOICE, on Nov 5 2009, 01:24 PM, said:

@MrJinje

Does that piece of code only required to be run once?


Ayup, only need be run once.

For future readers this can also can be done from GUI.

Open Computer Management > Local Users and Groups > Users > Administrator > Properties and uncheck the "Account is Disabled" check box.

Just a thought, but probably could run the NET USER snip from the SetupComplete.cmd and couple that with AutoLogin to avoid having to create a user account at all.

#8 User is offline   steve17 

  • Newbie
  • Group: Members
  • Posts: 20
  • Joined: 04-July 08

Posted 07 November 2009 - 07:16 AM

Be aware that the Administrator account has no password by default.

Personally I wouldn't mess around with the Administrator account because I assume (probably at my peril) that Microsoft knows what they are doing better than I know what they are doing. At least by a slim margin. :)

The Administrator account seems to be Win7's ace in the hole. You can log on to this disabled account from safe mode when all other admin accounts are disabled.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy