run “gpedit.msc”, navigate to “user configuration > administrative templates > system” and deactivate the option “prevent access to registry editing tools”