Lỗi the command prompt has been disabled by your administrator

     

After you mở cửa Command Prompt in Windows 10, the window immediately exits when you press any key. You open CMD again wanting to see the cause và find "The command prompt has been disabled by your administrator" showing on the screen.

Bạn đang xem: Lỗi the command prompt has been disabled by your administrator

*

Then what should be done khổng lồ fix the problem so that you can mở cửa and use CMD normally? Now, this post will show you three options to re-enable Command Prompt disabled by the administrator in Windows 10. The methods also work on other Windows versions.

Option 1: Use GPEDIT to enable Command Prompt disabled by the administrator

Step 1: In the Windows 10 Start menu, type gpedit.msc. Then click gpedit in the program list to open Local Group Policy Editor.

Step 2: Navigate lớn User Configuration > Administrative Templates > System. Click on the System entry, then on the right-side pane, double-click on Prevent access lớn the command prompt.

*

Step 3: check Not Configured or Disabled, and then click ApplyOK. Then you can xuất hiện and use Command Prompt normally.

*

Option 2: Use REGEDIT khổng lồ fix "The command prompt has been disabled by your administrator"

Tips: You will need lớn edit Registry. It"s a good idea to lớn firstly backup your Windows 10 registry if you fear khổng lồ make a mistake.

Step 1: Press Win + R keys lớn bring out the Run dialog. Type regedit & click OK to open Registry Editor.

Xem thêm: Cách Xóa Table Trong Word 2007 2010 2013, Cách Xóa Bảng Trong Word

Step 2: Navigate to lớn HKEY_CURRENT_USERSoftwarePoliciesMicrosoftWindowsSystem. Click on the System entry, & then on the right-side pane, double-click on the DisableCMD key.

*

Tips: If you can"t find the System key under Windows, you need to create a new key & name it System. If you can"t find the DisableCMD key, create a new DWORD value and name it DisableCMD.

Step 3: mix the value data to lớn 0 và click OK. Then you can open and use Command Prompt normally.

*

Option 3: Use Run command lớn enable command prompt disabled by the administrator

Tips: This way only works when you"ve signed into Windows 10 as the built-in administrator.

Step 1: Press Win + R to bring out the Run dialog. Then type REG địa chỉ cửa hàng HKCUSoftwarePoliciesMicrosoftWindowsSystem /v DisableCMD /t REG_DWORD /d 0 /f in the box & then click OK.

*

Step 2: When you see a command prompt window flash by, the disabled Command Prompt is re-enabled successfully and you can use it to lớn work normally.


Chuyên mục: Domain Hosting