Jefro is right. The proper way to do this is to go to the notepad.exe -> right-click on it -> select security -> add administraor -> remove everyone. Now only the admin can use it. I do this when ever I need to setup a keyosc box and want to remove the ability to run CMD.exe and other programs.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.