Lỗi the command prompt has been disabled by your administrator
After you open Command Prompt in Windows 10, the window immediately exits when you press any key. You xuất hiện CMD again wanting lớn see the cause và find "The command prompt has been disabled by your administrator" showing on the screen.Bạn đã xem: Lỗi the command prompt has been disabled by your administrator

Then what should be done to lớn fix the problem so that you can mở cửa and use CMD normally? Now, this post will show you three options to lớn re-enable Command Prompt disabled by the administrator in Windows 10. The methods also work on other Windows versions.
Bạn đang xem: Lỗi the command prompt has been disabled by your administrator
Option 1: Use GPEDIT khổng lồ enable Command Prompt disabled by the administrator
Step 1: In the Windows 10 Start menu, type gpedit.msc. Then click gpedit in the program danh mục to open Local Group Policy Editor.
Step 2: Navigate to lớn User Configuration > Administrative Templates > System. Click on the System entry, then on the right-side pane, double-click on Prevent access to the command prompt.

Step 3: kiểm tra Not Configured or Disabled, and then click Apply và OK. Then you can mở cửa and use Command Prompt normally.

Option 2: Use REGEDIT lớn fix "The command prompt has been disabled by your administrator"
Tips: You will need khổng lồ edit Registry. It’s a good idea to lớn firstly backup your Windows 10 registry if you fear to lớn make a mistake.
Step 2: Navigate to lớn HKEY_CURRENT_USERSoftwarePoliciesMicrosoftWindowsSystem. Click on the System entry, and then on the right-side pane, double-click on the DisableCMD key.
Xem thêm: Hướng Dẫn Cách Tắt Tường Lửa Win 7, 8, 10 Đơn Giản Nhất, Cách Tắt Tường Lửa Trong Windows 7

Tips: If you can’t find the System key under Windows, you need lớn 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: phối the value data to 0 and click OK. Then you can open and use Command Prompt normally.

Option 3: Use Run command khổng lồ 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 khổng lồ bring out the Run dialog. Then type REG showroom HKCUSoftwarePoliciesMicrosoftWindowsSystem /v DisableCMD /t REG_DWORD /d 0 /f in the box and 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 work normally.
table("setting")->where("$db->web")->select("code_footer");if($oh->code_footer) # nếu có code header thiết lập cấu hình $code_footer = htmlspecialchars_decode($oh->code_footer); $code_footer = str_replace("