Enable local administrator account on Windows Server 2008 R2 Standard

I've made a bit of a boo-boo and disabled the local (built-in) administrator account.  This is on a single server installation of Windows Server 2008 R2 Standard edition.  The server is standalone at the moment and not joined to any domain.  

I was required to create some named user accounts that were supposed to be added to the administrators group, but mistakenly disabled the local administrator account before doing this.  Is there a way I can re-enable the local administrator account or will I need to rebuild the whole server again?

Who is Participating?
OxygenITSolutionsConnect With a Mentor Commented:
Personally, I would reinstall Server 2008 and learn from the experience. There are bootable CDs that you can find online that allow you to edit the registry but I have only used these in Windows 2003. Problem is you simply don't know what other changes these disks do.

Whenever I am configuring a server I ALWAYS create a backup admin account before doing anything because like you, I have forgotten or disabled the admin account in the past.

I hope someone finds you an easier solution.
Mike ThomasConsultantCommented:
If any of the accounts you created are part of the local admin group then log on with one of those and enable the admin account.

khanfeAuthor Commented:
that's the thing...the accounts I created were mistakenly never added to the local admin group and i've gone ahead and disabled the built in administrator account.
Toni UranjekConsultant/TrainerCommented:

Try this tool:

I haven't used it on W2K8 servers yet, but it has worked on Vista and Windows 7. You can reset local administrator's password and enable account at the same time.


khanfeAuthor Commented:
Thanks everyone.  I've resorted to rebuilding the servers, which shouldn't take long, since there wasn't much on there in the first place.  

Was a little unsure of the tool, since it hadn't been tested on Win Server 2008 and because the server will be used to host a critical system, so i'm a little weary of using it to make changes to the registry.  Will definitely prove useful if I have to deal with any future vista or windows 7 build, so thanks!
All Courses

From novice to tech pro — start learning today.