Command Prompt Disabled


*Nirbhau Nirvair*

Command Prompt Disabled

Use this method to enable the Command Prompt.

There are three methods:

Method 1: (Run method)

1. Select Run from Start menu.

2. Type the following: (better copy and paste)

REG add HKCU\Software\Policies\Microsoft\Windows\System /v DisableCMD /t REG_DWORD /d 0 /f

and press Enter.(Click OK)

Method 2: (Registry Editor method)

1. Open Registry Editor.

2. Get to this key:


3. In the right pane, double click on DisableCMD and set it's data to 0.

4. Close Registry Editor.

Method 3: (Group Policy method)

1. From Start menu, select Run. Type gpedit.msc and press Enter.

Group Policy editor opens.

2. Get to:

User Configuration > Administrative Templates > System

3. From the right pane, double click open Prevent access to the command prompt.

4. Set Disable and click OK.

5. Exit Group Policy editor.