Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Lost administrator access via registry

11 Apr 2012   #1
Chris4

Windows 7 Home Premium x64
 
 
Lost administrator access via registry

Hey guys,

I set up a netbook for my mother with Windows 7 Professional x84. She's a complete beginner.

I altered the registry so that:
  1. It hid my 'Chris' (admin) user account, leaving just her 'Mum' (restricted) account, and
  2. it would automatically log in to Windows with her account.

Now I can't seem to find a way to regain Administrator privileges / log into my account. I've tried:
  1. Changing the registry back - I can't as no admin privileges on her account.
  2. Booting to Windows Repair - I can login as myself, then I've tried various options such as:
    1. System Restore - doesn't go far back enough.
    2. Using the Command Prompt to make changes (e.g. Registry Editor, net user administrator /active:yes) - however the changes only affect the temporary (X:\) Windows Repair, not the actual Windows 7 installation, even when changed directory to C:\.
  3. Re-installation of Windows 7 via DVD (keeping files/settings as they are) - however to perform this it can't be run from boot, and you need to be logged in to an administrator account.
  4. Safe Mode - No help, the same problems occur.

Other than formatting and reinstalling the OS, are there any other options you can think of to regain admin access?

Thanks,

Chris


My System SpecsSystem Spec
.
11 Apr 2012   #2
seavixen32

Windows 7 Ultimate SP1 64-Bit
 
 

Welcome to Windows Seven Forums.

It's a great pity you didn't backup the registry before you edited it.

Really, you didn't need to hide your admin account, just give it a password so that no-one else can use it.

I'm hoping that others will have fresh ideas, but other than a format and reinstall I can't see any other way out.
My System SpecsSystem Spec
11 Apr 2012   #3
Chris4

Windows 7 Home Premium x64
 
 

Quote   Quote: Originally Posted by seavixen32 View Post
Welcome to Windows Seven Forums.

It's a great pity you didn't backup the registry before you edited it.
Indeed. I didn't realise I'd be so difficult to change it back. I'll know for future.

Quote   Quote: Originally Posted by seavixen32 View Post
Really, you didn't need to hide your admin account, just give it a password so that no-one else can use it.
I hid it so it was easier for her to get started with Windows, didn't require clicking on her account that way. Regret doing that now though.
My System SpecsSystem Spec
.

11 Apr 2012   #4
seavixen32

Windows 7 Ultimate SP1 64-Bit
 
 

If you know which registry key you deleted/changed, we could perhaps e-mail the correct one to you.
My System SpecsSystem Spec
11 Apr 2012   #5
Chris4

Windows 7 Home Premium x64
 
 

Quote   Quote: Originally Posted by seavixen32 View Post
If you know which registry key you deleted/changed, we could perhaps e-mail the correct one to you.
I wouldn't be able to import them on a restricted user though.
My System SpecsSystem Spec
11 Apr 2012   #6
writhziden

Windows 7 Home Premium 64 Bit
 
 

You could enable the Administrator account through the Recovery Environment (RE) and change the registry that way. Built-in Administrator - Enable from WinRE
My System SpecsSystem Spec
11 Apr 2012   #7
seavixen32

Windows 7 Ultimate SP1 64-Bit
 
 

Post #5: True, never thought of that one.

It seems a format and re-install is the only way out. Did the computer come with a recovery disc?

On the other hand, writhziden's idea seems a good call.
My System SpecsSystem Spec
11 Apr 2012   #8
Chris4

Windows 7 Home Premium x64
 
 

Quote   Quote: Originally Posted by writhziden View Post
You could enable the Administrator account through the Recovery Environment (RE) and change the registry that way. Built-in Administrator - Enable from WinRE
It worked! Thank you
My System SpecsSystem Spec
11 Apr 2012   #9
writhziden

Windows 7 Home Premium 64 Bit
 
 

You're welcome. I am happy it worked.

Oh, forgot to mention: Make sure you disable the built-in administrator account when you are done getting things set up the way you want them.

Built-in Administrator Account - Enable or Disable
My System SpecsSystem Spec
11 Apr 2012   #10
Chris4

Windows 7 Home Premium x64
 
 

Quote   Quote: Originally Posted by writhziden View Post
Oh, forgot to mention: Make sure you disable the built-in administrator account when you are done getting things set up the way you want them.

Built-in Administrator Account - Enable or Disable
Already done
My System SpecsSystem Spec
Reply

 Lost administrator access via registry




Thread Tools




Similar help and support threads
Thread Forum
registry editing has been disabled by your administrator
help me here please as i cannot access degedit.msc or regedit.exe as it tells me that registry editing has been disabled by your administrator. I am the administrator. Any ideas??
System Security
how to make appear administrator? help I messed up my registry
my brother is downloading so much stuff and it slowdown our internet, so I use a net limiter program to cut dl speed into half. so I have created admin account so the standard user cannot modify and uninstall the net limiter. I have now 1 admin and 1 standard user. I used this registry that I...
General Discussion
registry editing has been disabled by administrator.
1.whenever i try to open a cmd it show this message and ask to press any key after pressing any then cmd grts closed. . 2.folder options in control panel is also missing. . 3.whenever i try to run any .reg files again same message is displayed. plzzz help......:(:(
General Discussion
Lost access to my administrator account
Help....I uninstalled the games that came with my computer and lost access to my administrator account. I had two accounts, one admin and one guest. Everytime I try to make changes, it requests my administrator password - but doesn't recognize it. Any suggestions?????
General Discussion
registry editing disabled from administrator account
i cannot edit the registry from my administrator account. is it a default setting in windows 7 or something is wrongly configured???. if wrongly configured then what to do to enable it???thanks in advance!!
General Discussion
Lost Administrator Access to install Adobe Reader
Adobe told me it needed to install updates. So while installing updates it uninstalled the old Adobe. While installing the new one I get an Adobe 1303 error telling me I need admin access(see pic) I have admin access as this is my computer and I am logged in as I have always logged in. I also...
Software


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:55.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App