Steps:--
- Go to Start and then RUN or keyboard Shortcut WIN+R. Then type gpedit.msc(small letters only).
- A window will be opened. In User configuration filter, click on Administrative templates.
- Then click on System.
- Here, you can see "Prevent access to registry editing tools" option. Double click on that and a new window will be popped out.
- Select "Disabled" option and then click Apply.
End of the steps. You will be able to open Registry Editor now.
Thank you.