Enable Registry Editor using the Group Policy Editor
Click on Start. Go to Run. Alternatively, use Windows key+R keyboard shortcut.
Type gpedit.msc and press Enter.
Navigate to User Configuration/ Administrative Templates / System.
In the work area, double click on "Prevent Access to registry...