Page 1 of 2 12 LastLast
  1.    29 Jan 2017 #1
    Join Date : Jan 2017
    Posts : 7
    windows 10

    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 ComputerSystem Spec
  2.    29 Jan 2017 #2
    Join Date : Aug 2016
    S/E England
    Posts : 4,734
    10 Home x64 (1709) (10 Pro on 2nd pc)

    Quote Originally Posted by saddlebum13 View Post
    ...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 ComputersSystem Spec
  3.    30 Jan 2017 #3
    Join Date : Jan 2017
    Posts : 7
    windows 10
    Thread Starter

    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 ComputerSystem Spec
  4.    30 Jan 2017 #4
    Join Date : Aug 2016
    S/E England
    Posts : 4,734
    10 Home x64 (1709) (10 Pro on 2nd pc)

    Quote Originally Posted by saddlebum13 View Post
    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 ComputersSystem Spec
  5.    30 Jan 2017 #5
    Join Date : Jan 2017
    Posts : 7
    windows 10
    Thread Starter

    Thanks, I will give that a try.
    Last edited by saddlebum13; 02 Feb 2017 at 15:49.
      My ComputerSystem Spec
  6.    02 Feb 2017 #6
    Join Date : Jan 2017
    Posts : 7
    windows 10
    Thread Starter

    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 ComputerSystem Spec
  7.    02 Feb 2017 #7
    Join Date : Aug 2016
    S/E England
    Posts : 4,734
    10 Home x64 (1709) (10 Pro on 2nd pc)

    Quote Originally Posted by saddlebum13 View Post
    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 ComputersSystem Spec
  8.    02 Feb 2017 #8
    Join Date : Jan 2017
    Posts : 7
    windows 10
    Thread Starter

    I used the command prompt after the starting the computer. I will reread and try option 6. Thanks.
      My ComputerSystem Spec
  9.    02 Feb 2017 #9
    Join Date : Jan 2017
    Posts : 7
    windows 10
    Thread Starter

    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 ComputerSystem Spec
  10.    03 Feb 2017 #10
    Join Date : Aug 2016
    S/E England
    Posts : 4,734
    10 Home x64 (1709) (10 Pro on 2nd pc)

    Quote Originally Posted by saddlebum13 View Post
    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 ComputersSystem Spec

 
Page 1 of 2 12 LastLast


Similar Threads
Thread Forum
system disk root folder all access denied
So having been bit by the "upgrade fails" bug because \users is a junction point to the root of a different drive , I decided to try to move users back to C:\Users until after the upgrade and I'd then move it back. Don't ask. I do it because...
General Support
system.io.ioexception access to the path is denied
Tried to install a program and getting this. Anyone know what it mean and how to fix it, thanks
General Support
net share brings up System Error 5 – “Access Is Denied”
Hi, I have a "server" that ran win 7 and which I now updated to Win 10. On this server, there is truecrypt installed and a batch file which I call from a remote computer using psexec. This batch file mounts a truecrypt volume and shares this...
Network and Sharing
Access Denied Error. Can't erase photos after import...
Hello Everyone, I have the iPhone 6s plus. I am using windows 10 pro. I am having an access denied error when trying to erase the photos-videos after import. I can't find the answer anywhere. I am hoping you guys can throw out some ideas. I...
General Support
Access denied, contact system admin
I just have a (I hope) simple question. I upgraded to Windows 10, and now any time I create a new doc, new excel sheet, try to scan something in to folders I have spent moths setting up and organizing - all tell me "access denied", contact system...
General Support
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 04:42.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums