1. Using Regedit find the key below, creating it if it doesn't already exist.
2. Create a new DWORD value, and name it 'Disabled'.
3. To disable the command prompt modify the value of 'Disabled' to '1', and to re-enable it again later change the value to '0'.
Note: You need to reboot for this restriction to come into force.
Key:[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\WinOldApp]
Value Name: Disabled
Data Type: REG_DWORD
Data:(0 = disable, 1 = enable)




