Disable registry editing

Disable registry editing tools in windows
Run Regedit
Go to the following key
Hkey_Current_User / Software / Microsoft / Windows / Curre Ntversion / Policies / System, then double click on Disable Registry Tools and change its value to 1.