some times few people will use it & they make something fuzzy! so prevent users to access Registry editor am gonna share you this article.
Follow the steps:
1.Open RUN (Press Windows key+R)
2.Now type "gpedit.msc" without quotes and press Enter.
3.Navigate to below path
Code: Select all
User Configuration => Administrative Templates => System
5.Now check the Enable and press Ok.

That's it.
If anyone tries to open Registry editor it will pop by a message like

