Bạn đang xem: Lỗi the command prompt has been disabled by your administrator
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 khổng lồ Run. Users running Windows 10, Windows 8, Windows 7 or Vista, go khổng lồ Search. Alternatively, use Windows key+R keyboard shortcut.2) Type gpedit.msc và press Enter.3) Navigate to User Configuration/ Administrative Templates / System.4) In the work area on the right side, double click on "Prevent access to lớn the command prompt".5) In the popup dialog, encircle Disabled và click OK. 6) You should be able to immediately use the command prompt. If you still cannot access it, restart your computer.Home editions of Windows vị not contain the Group Policy Editor.Enable Command Prompt from Registry in Windows 10, Windows 8, 7, or XP
Registry Editor is an in-built tool in Windows which is used to view và edit the Windows registry. You can use it to easily enable the command prompt by simply modifying a registry key. To vị so, follow these steps.1) Users running Windows 8, Windows 7 and Windows Vista, go to Start>Search. Users of Windows 10, go lớn Start>Search.2) Type regedit & press Enter.3) Registry Editor will start. If it is disabled, you will need to lớn enable Registry Editor first.4) Navigate to lớn HKEY_CURRENT_USERSoftwarePoliciesMicrosoftWindowsSystem. If the Windows key is not there, you will need to lớn create a new key called Windows. Also, if the System key is not there, you will need to lớn create it.5) In the work area on right side, double click on DisableCMD và set its value lớn 0. If you cannot locate DisableCMD, you will need lớn create a new DWORD value called DisableCMD and set its value to 0.6) Close the Registry Editor.![]() |
The Command Prompt in Windows 8 |
Enable Command Prompt by simply running a command
If you are unfamiliar with directly editing the Registry, you can use a simple command lớn quickly enable the command prompt. Just follow these steps:-1) Click on Start and go to lớn Run. Users of Windows 10, Windows 8.1, Windows 8, Windows 7 and Windows Vista, go to Search. 2) Copy & paste the following command và execute it.REG showroom HKCUSoftwarePoliciesMicrosoftWindowsSystem /v DisableCMD /t REG_DWORD /d 0 /f3) This should enable the command prompt. If it is still not enabled, restart your computer.The methods mentioned in this article work on Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista & Windows XP.Xem thêm: Cách Khôi Phục Danh Bạ Trên Samsung J7 Prime Bị Mất Danh Bạ, Khôi Phục Làm Sao?
Get Updates:
Newer PostOlder PostHome

Akhilesh Sharma maintains & writes Tweak & Trick. He is a công nghệ enthusiast và a science student. You can tương tác himat daihoangde.vn