System error 5 Access denied

Page 1 of 2 12 LastLast

  1. Posts : 7
    windows 10
       #1

    System error 5 Access denied


    Hello,
    When setting up a user account for my wife, which works fine, however I now cannot access my account which had administrator rights. I do not show up as an option. I tried using the default administer account via command prompt and I get a "system error 5" "Access denied" result.
    Any ideas?
    Thanks, Steve
      My Computer


  2. Posts : 31,470
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #2

    saddlebum13 said:
    ...I tried using the default administer account via command prompt and I get a "system error 5" "Access denied" result.
    Any ideas?
    Welcome to TenForums.

    You have to run that command in an elevated command prompt, otherwise you'll get that 'access denied'. Right-click on Start and choose 'Command Prompt (admin)'.
      My Computers


  3. Posts : 7
    windows 10
    Thread Starter
       #3

    When I tried this a box opens that asks if I want to allow this app to make changes to this computer. There is only a "NO" choice. No way to allow it and continue.
      My Computer


  4. Posts : 31,470
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #4

    saddlebum13 said:
    When I tried this a box opens that asks if I want to allow this app to make changes to this computer. There is only a "NO" choice. No way to allow it and continue.
    Oh dear. That is a very bad sign.

    The normal behaviour of this UAC prompt is to offer a Yes/No choice if your account is an administrator or, if you are a standard user, to give you the chance to give the password for another account that is an administrator. If it doesn't offer the Yes option it means that there are NO administrator accounts to be found on your PC any more.

    You may have accidentally downgraded your account to a standard user, or (worst case) accidentally deleted it. You need at least one admin account to be able to manage your PC. The only way to create a new administrator account or promote an existing account to an administrator would be to enable the built-in Administrator account. Use Administrator to sort out your problems then when you have made one or more administrator accounts, disable it again. The only way to enable it without an existing administrator is Option Four in this Tutorial.
    https://www.tenforums.com/tutorials/...a.html#option4
      My Computers


  5. Posts : 7
    windows 10
    Thread Starter
       #5

    Thanks, I will give that a try.
    Last edited by saddlebum13; 02 Feb 2017 at 15:49.
      My Computer


  6. Posts : 7
    windows 10
    Thread Starter
       #6

    I tried option 4 under "administrator account-enable or disable in windows 10". Everything went ok until I went to C:\Windows\System32\config in step 5. when I tried to open the config file a box opened stating I needed to click on continue to have access to this file. When I clicked on continue it opened another box that said..Do you want to allow this app to make changes? And it says to enter an admin user name and password to continue. There is no way to enter any answer and only a NO box for a choice. Dead in the water from here.
      My Computer


  7. Posts : 31,470
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #7

    saddlebum13 said:
    I tried option 4 under "administrator account-enable or disable in windows 10". Everything went ok until I went to C:\Windows\System32\config in step 5. when I tried to open the config file a box opened stating I needed to click on continue to have access to this file...
    How did you boot to get to the Command Prompt? Did you boot from a Windows 10 installation USB or Recovery drive? If so it would probably have asked you to choose an account and password. You may have better luck if you follow the 'Tip' given in Option Four to use OPTION SIX here to boot into the recovery environment. You will not be asked for a name/password, you will be using the built-in Administrator account and should have no such restrictions.
      My Computers


  8. Posts : 7
    windows 10
    Thread Starter
       #8

    I used the command prompt after the starting the computer. I will reread and try option 6. Thanks.
      My Computer


  9. Posts : 7
    windows 10
    Thread Starter
       #9

    Success!!! I now have an administrator account. Now I need to figure out what happened to my user account and where it is. Thank you for all your help.
      My Computer


  10. Posts : 31,470
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #10

    saddlebum13 said:
    Success!!! I now have an administrator account. Now I need to figure out what happened to my user account and where it is. Thank you for all your help.
    Excellent! Well done.

    I would suggest the first thing to do would be create a new local account and make that an administrator. It's always useful to keep a 'spare' administrator account as a way in in emergencies. When you have sorted out your problems it would be a good idea to disable the built-in Administrator again.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:40.
Find Us




Windows 10 Forums