Win7 running CMD error "Command prompt has been disabled by the system administrator" What should I do?

  
                

When we use a computer, we often need to make some settings on the system, so running a command prompt is inevitable. Recently, when a user runs a CDM command under the Win7 system, the system prompts that the command prompt has been disabled by the system administrator. As shown in the figure, the command function cannot be used normally. How to solve this situation? The following small series provides you with three solutions.

Method a:

1, the input block in the Start Search & ldquo; regedit & rdquo; command to open the window registry;

2, the left pane tree expand to HKEY_CURRENT_USER \\ Software \\ Policies \\ Microsoft \\ Windows \\ System;

3, double-click the name & ldquo; DisableCMD & rdquo; keys, modify the & ldquo; 0 & rdquo ;, click the & ldquo; OK”.

Method two:

1, according to & ldquo; Win + R & rdquo; Run dialog box open, enter & ldquo; gpedit.msc & rdquo; Group Policy command invokes a window;
< Br>

2. Double-click “Manage Module” under User Configuration, click ““System”, right-click on the right side of the system project, “Block Access Command Prompt”, click “Edit” & rdquo; button;

3, the pop-up window, select & ldquo; disabled & rdquo; project, click & ldquo; OK & rdquo; to complete the modification;

4, then Double-click the project following & ldquo; Do not run specified Windows applications & rdquo ;;

5, to see if enabled, if enabled, there is no name in the list of applications allowed to display For the project "“cmd.exe”, if it is deleted.

Method three:

1, the new text document on the desktop;

2, the following code to copy the text in the document;

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER \\ Software \\ Policies \\ Microsoft \\ Windows \\ System]

& ldquo; DisableCMD & rdquo; = dword: 00000000

3, click on the menu bar & ldquo; file & mdash; & mdash; save as & rdquo ;;

4, saved on your desktop, type the name of the .reg file extension, and finally click on the & ldquo; save & rdquo; change;

5, then generate on the desktop called & ldquo; 1 & rdquo; registry file, double-click the file, suggesting that & ldquo; Add information may be inadvertently changed or deleted The value and cause the component to continue to work normally, "Don't worry about it, just click “ is ”.

error if you run CMD command in Win7 system & ldquo; the command prompt has been disabled by the system administrator & rdquo ;, do not worry, the above three methods can help you solve the problem.

Copyright © Windows knowledge All Rights Reserved