This video will show you how to stop another user from editing the registry in Windows 10
1. Go into the settings / accounts / family and other people and set the account you want to change to administrator.
2. Hit Ctrl+Alt+Del and switch to the user that you want to block access.
3. Use the Windows + R key to bring up the run menu and type regedit
4. Navigate through HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Policies
5. Right click on the folder Policies and add a new key and type System (with the capital S).
6. Right click on the system folder and add a new DWORD 32-BIT value and rename to DisableRegistryTools.
7. Double click on the DisableRegistryTools and change the binary value from 0 to 1.
8. Now use the Windows + R key and type regedit to see if the changes have been made. If this has been done correctly you should see a warning box come up saying you are unable to edit the registry.
Revert Changes Back:
1. You will need to make the other account to administrator again and start the command prompt.
2. To start the command prompt press the Windows + R key and type in cmd. This will bring up a black window with white writing where you will need to type the following:
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /t Reg_dword /v DisableRegistryTools /f /d 0
3. Once this has been done use the Windows + R key and type regedit, if this opens the changes have been reset.
I am not responsible for anything that happens on your machine and these tutorials are to be used at your own risk. If in doubt contact an IT professional.