
See this post if you want to prevent access to Registry Editor.Disabling Mcafee firewall is as easy as 123. Our FixWin also lets you enable command prompt if it has been disabled, in a click. In the registry, you may delete the DisableCMD DWORD or set its value to 1. enable the command prompt, simply disable the Prevent access to the command prompt policy setting. If for some reason, you need to do the reverse, ie.

Now if any user were to try to open CMD, they would see a message: The command prompt has been disabled by your administrator. If DisableCMD is not present on your system, you may be required to create a new DWORD value, name it DisableCMD and then give it a value 0. In the right pane, double click DisableCMD and set its value to 0.

If the Windows or System key is not present, you may be required to create them. navigate to the following registry key: HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System If your version of Windows does not have Group Policy, you can do the following. Here, you can also Disable the command prompt script processing also, if you wish. If you disable this policy setting or do not configure it, users can run Cmd.exe and batch files normally. If you enable this policy setting and the user tries to open a command window, the system displays a message explaining that a setting prevents the action. This policy setting also determines whether batch files (.cmd and. This policy setting prevents users from running the interactive command prompt, Cmd.exe.

In the right side pane, you will see Prevent access to the command prompt. Navigate to the following path: User Configuration/Administrative Templates/System Open Run box, type gpedit.msc and hit Enter to open the Local Group Policy Editor. You can disable Command Prompt in Windows 10 using the Group Policy or the Registry.

Let us see how we can do it in Windows 10/8/7. When you do this, it will prevent users from running the interactive command prompt or CMD.exe. To prevent access to the Command Prompt in Window, you can make use of Group Policy settings or edit the Windows Registry, so as to disable the Command Prompt.
