Want to disable the command prompt in Windows 7? Don't Worry! It is easy as 123...
1. Press Windows Logo Button + R
2. Type "gpedit.msc" and press enter
3. Navigate to User Configuration > Administrative Templates > System and on the right pane double click on "Prevent access to the command prompt" and click on enabled.
4. That's All!