The Command prompt is an effective tool. It is also a godsend for managing and controlling most of options around your Windows if we accept the system administrator’s word for it.
However, the Cmd can be abused just like any other useful tool out there. Hackers may use it to cause all sorts of destruction remotely, and if a user with permission were to gain access, there are enough commands to seriously harm your PC.
So, depending on your situation, turning off the command prompt might be a clever idea. Examining the most effective approach will help.
How to Use Registry Editor to Disable the Command Prompt
Your Windows Registry serves as a repository for all of the key data and files of the Windows operating system, as well as other associated settings on your computer. You can disable the Command prompt and make it unreachable until you undo the settings in the Registry Editor.
It goes without saying that you should back up your register first. This backup will be useful if there is any data loss in your registry as a result of the adjustments.
If you’ve completed the backup, you can safely proceed to make the adjustments. Here’s how you can begin:
- Head to the Start menu search bar, type ‘run’, and select the best match.
- In the run dialog box, type in ‘regedit’, and hit Enter.
- Now head to the following path and hit Enter:
- Right-click on the Windows key, select New, and click on Key.
- Name the new key system and hit Enter.
- Now right-click on the System key, select the New submenu, and choose DWORD (32-bit) Value option.
- Name the new key DisableCMD and hit Enter.
- Double-click the newly created DWORD and set its value from 0 to 2. This will disable the cmd on your PC.
- Finally, click on OK.
To make sure all the changes get finalized, give your PC a quick restart. Now go ahead and try to launch the command prompt. If you followed all the above steps as it is, then cmd will not open.
Disabling the Windows Command Prompt.
The command prompt is a useful tool for all power users. However, if it is made available to everybody and everyone, it can be abused. Hopefully, the previous procedure enabled you to effortlessly disable the Command prompt on your PC. To re-enable it, replace the DWORD value from above to 0 and save it.