1. Backup your Data and the Registry from your operating system
2. Download and install the SubInACL utility from this link:
https://www.microsoft.com/downloads/details.aspx?FamilyId=E8BA3E56-D8FE-4A91-93CF-ED6985E3927B&displaylang=en
3. Create a new text file named fix_registry_permissions.bat and add the following text to it (you can copy/paste it) and save it in program filesWindows Resource KitsTools
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f
subinacl /subdirectories %SystemDrive% /grant=administrators=f
subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f
subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f
subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f
subinacl /subdirectories %SystemDrive% /grant=system=f
cd “C:Program FilesWindows Resource KitsTools”
after this press enter and enter the following command
fix_registry_permissions.bat
press enter