Written By Sourabh Priyadarshi on Saturday, October 5, 2013 | 10/05/2013 07:20:00 PM
Enable Command Prompt Disabled by Administrator or
Command Prompt is the tool in Windows
which allows users to interact with their computer from a character user
interface(CUI). It allows users to bypass most restrictions that are enforced
on the Windows explorer based GUI. Hence, it can also be used to remove viruses
and malware and also undo their effects. To avoid this, most viruses disable
command prompt. Some administrators also purposefully disable it to avoid users
changing critical settings of the computer.
In these situations, if you run the command prompt (cmd.exe), you will get an
error saying "The command prompt has been disabled by your
Administrator". However, there are ways in which you can re-enable it.
This article contains some such few simple techniques using which you can
easily enable the command prompt.
Enable Command Prompt using the Group Policy Editor
1) Click on Start. Go to Run. Users
running Windows 8, Windows 7 or Vista, go toSearch.
3) Navigate to User Configuration/ Administrative Templates / System.
4) In the work area on the right side, double click on "Prevent access
to the command prompt".
5) In the popup dialog, encircleDisabledand
6) You should be able to immediately use thecommand prompt. If you still cannot access it, restart your
Home editions of Windows do not contain the Group Policy Editor.
Enable Command Prompt from Registry in Windows 8,
7, XP or Vista
Registry Editor is an in-built tool
in Windows which is used to view and edit the Windows registry. You can use it
to easily enable the command prompt by simply modifying a registry key. To do
so, follow these steps.
1) Users running Windows 8, Windows 7 and Windows Vista, go to Start>Search.
Users of Windows XP, got to Start>Run.
3) Registry Editor will start. If it is disabled, you will need toenable Registry Editorfirst.
4) Navigate to HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System. If
the Windows key is not there, you will need to create a new key called Windows.
Also, if the System key is not there, you will need to create it.
5) In the work area on right side, double click onDisableCMDand
set its value to 0. If you cannot locate DisableCMD, you will need to create a
new DWORD value called DisableCMD and set its value to 0.
6) Close the Registry Editor. The command prompt should immediately be
accessible. If it isn't, restart your computer.
Enable Command Prompt by simply running a command
If you are unfamiliar with directly
editing the Registry, you can use a simple command to quickly enable the
command prompt. Just follow these steps:-
1) Click on Start and go to Run. Users of Windows 8, Windows 7 and Windows
Vista, go to Search.
2) Copy and paste the following command and execute it.