none
Windows 7: Lost admin rights (prob after trying homegroup)

    Question

  • Hi

    This afternoon I tried to install homegroup. When I did so I got a message that windows could not setup homegroup for this pc. (im not sure if this is relavant, but it is the last thing I did with windows before my problems started.)
    - At this moment when I try to go to c:\ i get an access denied message.
    - When i go to c:\Users\Patrick then it shows my files and directorys.
    - When I open a word document from that directory it works (so I have read access).
    - I cannot make a new directory in my home directory.
    - When i start for instance mmc i get Windows cannot access...... error code 0x800704b3 After diagnose i get a error that troubleshooter could not start error code 0x80070005. (it happens with all windows utilities.
    - When i start safe mode it reboots after a secons (after it displayed the users)
    - When i try to enable the admin account in the command prompt it says access denied.
    - when i try to access settings with UAC, it does not respond.
    - When i start a program normal (like VS2008) it starts up, when i do it as administrator I get the same error as when im starting mmc.

    I upgraded my PC from Vista, and everything worked fine for around a 10 days.

    Thank god I have a backup from my old Vista machine. I cant wait long with this problem, but im willing to try some things out to figure it out. Hope anyone can help me.

    Regards,
    Patrick


    Tuesday, May 26, 2009 6:58 PM

Answers

  • step by step.

    - boot with F8, go to the domain controller restore mode. (not sure what the exact name is.)
    - Log in
    - start regedit
    - goto HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies
      Find EnableLUA and set it to 0
      Find ConsentPromptBehaviorAdmin and set it to 0.
    restart your pc.
    - Now start MMC
    - add the snapin Computer Management
    - goto storage -> diskmanagement
    - rightclick your windows partition and click properties
    - goto security
    - click advanced
    - goto owner
    - click edit
    - select the owner (in my case i used my personal account who is administrator)
    - click mutlipe times op ok.
    - close MMC
    - reboot pc
    - log in normally
    - start regedit
    - restore uac settings EnableLUA = 1   and ConsentPromptBehaviorAdmin = 3.

    This is how I did it.

    Hope it works for you!
    Thursday, May 28, 2009 8:49 AM

All replies

  • update. I could login in the (i think it was called) domain controller problems option when booting F8. From there it was possible for me to get into the regedit. Now i turned of UAC. Things work a little better. Started MMC and could turn on the administrator account. Here I could change users, add users and everything, but still, when i go to the C:\ i dont have the right permissions. At this moment I still get loads of errors. Also as administrator i cant start eventvwr.

    Patrick

    Tuesday, May 26, 2009 8:12 PM
  • Solved it.

    In MMC i could go to manage the computer. There in disks, properties I could set the Owner of the disk again. From that moment everything worked again.
    Tuesday, May 26, 2009 8:37 PM
  • Also after that i turned on UAC again and it seems to work fine now.

    My guess is that the HomeGroup option changes the disk owner and when it failes to install it dont change it back....
    Tuesday, May 26, 2009 8:45 PM
  • Btw, is there any place to drop this as a bug? Or does microsoft read these forums to gather bugs?
    Tuesday, May 26, 2009 8:51 PM
  • Hi

    This afternoon I tried to install homegroup. When I did so I got a message that windows could not setup homegroup for this pc. (im not sure if this is relavant, but it is the last thing I did with windows before my problems started.)
    - At this moment when I try to go to c:\ i get an access denied message.
    - When i go to c:\Users\Patrick then it shows my files and directorys.
    - When I open a word document from that directory it works (so I have read access).
    - I cannot make a new directory in my home directory.
    - When i start for instance mmc i get Windows cannot access...... error code 0x800704b3 After diagnose i get a error that troubleshooter could not start error code 0x80070005. (it happens with all windows utilities.
    - When i start safe mode it reboots after a secons (after it displayed the users)
    - When i try to enable the admin account in the command prompt it says access denied.
    - when i try to access settings with UAC, it does not respond.
    - When i start a program normal (like VS2008) it starts up, when i do it as administrator I get the same error as when im starting mmc.

    I upgraded my PC from Vista, and everything worked fine for around a 10 days.

    Thank god I have a backup from my old Vista machine. I cant wait long with this problem, but im willing to try some things out to figure it out. Hope anyone can help me.

    Regards,
    Patrick



    I have the same or worse problem after trying to set up homegroup! I had the W7 beta up and running fine, then I installed the RC.. Nothing but problems since. The networking setup is a nightmare to try & get working.

    I have last all administrator priveleges, can't look at contents of drives, change anything, run troubleshooters, device manager or get into MMC.  On top of that it screwed up my Vista installation on another seperate hard drive.
    This is a monumental screwup by Microsoft.. 
    I could sure use some help on this if anyone has figured this mess out.
    Thanks
    Dallas
    • Edited by detexb Wednesday, May 27, 2009 6:33 PM
    Wednesday, May 27, 2009 6:27 PM
  • step by step.

    - boot with F8, go to the domain controller restore mode. (not sure what the exact name is.)
    - Log in
    - start regedit
    - goto HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies
      Find EnableLUA and set it to 0
      Find ConsentPromptBehaviorAdmin and set it to 0.
    restart your pc.
    - Now start MMC
    - add the snapin Computer Management
    - goto storage -> diskmanagement
    - rightclick your windows partition and click properties
    - goto security
    - click advanced
    - goto owner
    - click edit
    - select the owner (in my case i used my personal account who is administrator)
    - click mutlipe times op ok.
    - close MMC
    - reboot pc
    - log in normally
    - start regedit
    - restore uac settings EnableLUA = 1   and ConsentPromptBehaviorAdmin = 3.

    This is how I did it.

    Hope it works for you!
    Thursday, May 28, 2009 8:49 AM
  • step by step.

    - boot with F8, go to the domain controller restore mode. (not sure what the exact name is.)
    - Log in
    - start regedit
    - goto HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies
      Find EnableLUA and set it to 0
      Find ConsentPromptBehaviorAdmin and set it to 0.
    restart your pc.
    - Now start MMC
    - add the snapin Computer Management
    - goto storage -> diskmanagement
    - rightclick your windows partition and click properties
    - goto security
    - click advanced
    - goto owner
    - click edit
    - select the owner (in my case i used my personal account who is administrator)
    - click mutlipe times op ok.
    - close MMC
    - reboot pc
    - log in normally
    - start regedit
    - restore uac settings EnableLUA = 1   and ConsentPromptBehaviorAdmin = 3.

    This is how I did it.

    Hope it works for you!

    Thanks, I will try this evening and let you know if it works for me.  Thanks for the reply.
    Thursday, May 28, 2009 1:30 PM
  • I tried the fix the way you posted and got most of my admin rights restored.. Thanks a million.

    I played around some more with permissions, etc in that area and I think I am going to be able to work it out.

    I did an image restore on my Vista drive & it works fine so far, I am installing ser pack 2 on it at this time.

    I will not play around with the networking & homegroup on the windows 7 drive until I see some fixes posted in here for problems it causes.  It sure seems strange to regress from the beta to an ubstable rc but that's MS for ya.

    Thanks again for all your help.
    Dallas

    7:23pm add

    Back to no admin rights for many things again. I guess I will do a reinstall this weekend.
    Thursday, May 28, 2009 10:04 PM
  • Thanks! It worked for me and helped me skip a windows reinstall!
    Wednesday, June 03, 2009 10:04 AM
  • Hi.
    I've got this same problem, but when I click on the properties of the drive in the MMC, the security tab is not there!

    I've looked for the "Simple File Sharing" checkbox in the folder options (like the in the past with Vista and XP) but its not there.

    Please help me fix this!
    Thursday, June 25, 2009 11:49 AM
  • what a terrible bug --  Thanks for the suggested steps and though not all the steps matched,  somehow there is enough info above to get back access to the boot drive c:
    Sunday, June 28, 2009 7:47 AM
  • Hi,
    i have attempted all of the suggestions above and have met with no success. I have even tried to reinstall windows over the old install and it is denying me. Are there any other options on fixing this without reformatting the drive? I have also tried installing the hdd in question into another computer running 7 so i could pull the files off of it, however the second computer was unable to access the hdd as well.
    Thursday, July 23, 2009 5:33 AM
  • Thanks for the fix .. win7 RC .. removed homegroup, etc ... no admin rights, etc ..

    When I rebooted into windows, I still didn't have the ability to browse my 2 drives (C: and D:) that had been shared. Looking at the security, I didn't mess with the ownership, I loked at the effective permissions .. there were no users or groups defined .. added Administrators, Authenticated Users, Users, and SYSTEM with the correct permission sets and all started working correctly again.
    Wednesday, July 29, 2009 1:42 AM
  • I have the same problem, do all the steps but I do not have the voice  security....
    Saturday, August 01, 2009 4:15 PM
  • when u sed you restrat it is that in safe mode still or normally?
    Sunday, August 22, 2010 3:47 AM
  • It is a long time ago, but I think it was normally. 
    Sunday, August 22, 2010 9:58 AM
  • step by step.

    - boot with F8, go to the domain controller restore mode. (not sure what the exact name is.)
    - Log in
    - start regedit
    - goto HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies
      Find EnableLUA and set it to 0
      Find ConsentPromptBehaviorAdmin and set it to 0.
    restart your pc.
    - Now start MMC
    - add the snapin Computer Management
    - goto storage -> diskmanagement
    - rightclick your windows partition and click properties
    - goto security
    - click advanced
    - goto owner
    - click edit
    - select the owner (in my case i used my personal account who is administrator)
    - click mutlipe times op ok.
    - close MMC
    - reboot pc
    - log in normally
    - start regedit
    - restore uac settings EnableLUA = 1   and ConsentPromptBehaviorAdmin = 3.

    This is how I did it.

    Hope it works for you!

    man that worked reall i had a tech that couldnt figure that out it was drivibg me nuts
    Sunday, April 24, 2011 6:10 AM
  • (This is an English translation from Google Translate)

    Hi
    There is a solution:

    Use a boot disk usb: Hiren Boot CD (remember to enable the boot sequence in BIOS)

    http://www.hiren.info/pages/bootcd-on-usb-disk

    Once connected with Hiren Boot:

    1. Click on the local disk C with the right mouse button and reset the attributes of the disc (-s-h-a). An option that gives you the menu.
    2. On the "security" tab, add permission "total control" to authenticated users and authenticated users with domain (domain \ users)
    3. Restart the computer

    Greetings From Valencia (Spain)
    Tuesday, June 28, 2011 5:07 PM
  • Hi guys

    using the answer from still_the_same some time it works to gain access to you C: drive, but the problem to gain the Administrator rights to your account or even to enable the built-in Administrator account will not work if you dont have account with Admin Rights

    i had a really complicated situation as follow

    i removed a machine from a Domain and add it to workgroup and BANG all admin rights lost and i have no other admin account, the Built-in administrator is disabled.

    •  i can not enable the Built-administrator account by the Windows installation DVD because Access Denied ( repair my computer way- the wizard ask for username/password )
    •  Restore doesn't help.
    • I used Still-the-same and no good.

     

    the only way is to use Linux as follow

    1. Boot the computer using the Live USB stick or Live CD
    2.  Once booted into the system; proceed to mount the windows file system
    3.  Once mounted browse to \Windows\System32
    4.  Here will we be renaming the file named ‘Utilman.exe’ to something like ‘Utilman.exe.backup’ I do not suggest deleting this, you will need it later to restore the system back to its normal behavior
    5. Once the ‘Utilman.exe’ has been renamed, make a copy of ‘cmd.exe’ and name it ‘Utilman.exe’.

    At this point you can reboot into Windows as you would do normally.

    -After the reboot-

    Windows will start up to the normal logon screen.  At this point you will press the ‘Windows key’ and ‘U’

     A command prompt window will open and be running at system level access (you have windows root)

     

     From here you will be able to create a new account and give it administrator rights on the system:

     

     

    How-To:  add account via the command prompt:

     net user username password /add

     net localgroup administrators username /add 

     

     After you have created your new logon account and granted it administrator rights, reboot and logon, you now are the administrator and can reset your other windows account password.

     

    Hope this help.

    Mohamed


    • Edited by mo_anas Thursday, November 17, 2011 2:09 PM
    Thursday, November 17, 2011 2:09 PM
  • Patrick  I had a similar experience with Explorer 9 and using Windows 7. Lost my registeration License Key.  I upgraded from XP on a 1995 Dell 3000. Natrually no 8 or 10 because I still have a VGA card and not a 3D card.  You know, sometimes the new machine is the wa to go but due to financial situation, I fix her upper.

    Charles C. Glasgow III

    Friday, November 30, 2012 1:49 PM
  • Hi,

    I am not an IT expert, or even a computer wiz, but this actually worked.  I had tried everything I could find in discussion forums, but ran into "access denied" every time.  I went through a couple of other steps in the regedit application that I can't recall or describe the exact steps.  It was a step in drive management that populated the drive (which was showing up as being there but containing no space free or used).  I also made changes to permissions on accessing the drive which I was unable to do in Windows.

    Thanks for the tip.  My only other option was to reload Windows.

    Brad

    Sunday, November 03, 2013 7:10 PM