When you try to log on to your Windows account, you would possibly encounter the error “The group Policy Client service failed the logon. Access is denied.”If you have searched at “Bing” and “Google” for help, however, unfortunately, did not notice any thus after the many trial and error, I have managed to fix this problem. I am posting it thus if any of you run into it, you may give the following to try and hopefully, this may work for you.
When you click on the OK, the system will return you back to the login screen itself. Looking for this on the net gave a lot of answers however none of them seemed to solve it. In the end, we have discovered that it is a permissions problem and not a corrupt profile problem. Here are the two methods available to fix this issue.
Before getting started, you are required to log on to your PC with a working administrator account. Then follow the methods given below to fix the problem for your affected account.
Method 1: Regain the Registry Permissions:
- First Press the Windows key + R to display the Run box. Then type regedit and hit the Enter.
- Once when the Registry Editor opens, select the HKEY_USERS in the left pane. Now, pull down the File menu and select the Load Hive option.
- Once the Load Hive dialog appears, choose All Files in the Files of type box. Now Navigate to your affected profile folder, for example, C:\Users\<user_name> and choose the NTUSER.DAT hive. Click on the Open.
Note: if the NTUSER.DAT file does not show up, you would possibly be required to configure Windows to display the hidden files.
4. It will ask you for a name. Give it any name, it does not matter what it is.
5. You will currently see the hive you simply loaded with the name you gave it below the HKEY_USERS key. In my example, the complete NTUSER.DAT hive has been loaded into the Registry Editor below the registry location: HKEY_USERS\NTUSER.
6.Right-click on the HKEY_USERS\NTUSER and choose Permissions.
7.Here you must see at least three accounts: System, Administrators and therefore the name of your affected user account who is profiled you’re fixing. If ANY of these are not shown it will not work. You are required to add all the three and then give them full control within the Permissions section.
8. When you have added all the three and given them the correct permissions, click on the File menu and choose Unload Hive. And Close the Registry Editor.
9. Log off or restart your PC. You must be able to log in successfully along with your account that you simply were having trouble with.
Method 2: Deleting the Local Profile
This method will work by deleting your affected local profile, thus you will then log back on. After successfully logging on, Windows will immediately create a new profile for your account. Here is the way how to delete your profile for your affected Windows account in Windows 10, 8, 7 and Vista:
- Right-click on the My Computer icon on your desktop, and then choose the Properties.
- From there, click on the Advanced System Settings link which is on the left-hand side.
- When you see the System Properties dialog, click on the Settings button in the User Profiles section.
- In the User Profiles dialog box, choose the profile of your affected user account and click on the Delete button.
- Click on the OK button to confirm. Now you have successfully deleted a user profile. Your problem may be fixed by now.