在某些情况下,您可能希望在Windows 10中禁用(Windows 10)任务管理器(Task Manager)。当您想要启用任务管理器时,也有相反的情况,例如当您的计算机被禁用(Task Manager)任务管理(Task Manage)器的恶意软件感染时。在这种情况下,每次您尝试启动它时,您只会收到一条消息,指出“任务管理器已被您的管理员禁用”。("Task Manager has been disabled by your administrator.")无论(Regardless)出于何种原因,您都可以通过以下四种不同方式启用或禁用任务管理器(Task Manager)。您可以选择使用我们的免费TaskMgrED工具来启用或禁用任务管理器(Task Manager)、Windows 注册表 (regedit)(Windows Registry (regedit)) 、命令提示符(Command Prompt)或PowerShell,甚至通过更改本地策略 ( GPO )。
注意:(NOTE:)为了能够在Windows 10中禁用(Windows 10)任务管理器(Task Manager),您需要以管理员身份登录。
1. 如何使用我们的TaskMgrEd 工具禁用(TaskMgrEd tool)任务管理器(Task Manager)
在Windows 10中禁用任务管理器(Task Manager)的最简单方法是使用我们为您制作的名为TaskMgrEd的工具。使用此链接(this link)或本节末尾的链接下载TaskMgrEd 。将其保存在 Windows 10 PC 上的某个位置,然后双击它。
当您启动TaskMgrEd时,SmartScreen 过滤器(SmartScreen filter)会警告您它来自不受信任的发布者。您收到此通知是因为它是我们创建的工具,而且在全球范围内使用它的人并不多。该工具是安全的,不会造成任何损坏。它只是我们在PowerShell中编写的一个脚本,我们将它封装在一个带有简单图形用户界面(user interface)的可执行文件中。为了能够使用我们的工具,请单击或点击(click or tap)“更多信息”("More info"),然后选择“仍然运行”。("Run anyway.")
每次打开TaskMgrEd时,UAC都会要求您以管理员身份运行它。单击(Click)或点击是(Yes)。
您应该会看到一个小窗口,如下图所示(image below)。要禁用Windows 10 PC 上的任务管理器,请单击(Task Manager)或点击(click or tap)“禁用任务管理器”。("Disable Task Manager.")
如果一切顺利,您应该会看到一条消息,让您知道“任务管理器已被禁用”。("Task Manager has been disabled.")
要在 Windows 10 计算机上启用或重新启用任务管理器,请单击或(Task Manager)点击(click or tap)“启用任务管理器”。("Enable Task Manager.") 然后TaskMgrEd(TaskMgrEd)应该会通知您“任务管理器已启用”。("Task Manager has been enabled.")
注意:虽然我们为(NOTE:)Windows 10创建了此工具,但它也应该适用于较旧的Windows操作系统,例如Windows 8.1、Windows 7、Windows Vista甚至Windows XP。如果您遇到任何问题,请通过本文底部的评论部分告诉我们。
下载:(Download:) TaskMgrED
2.如何使用Windows注册表禁用(Windows Registry)任务管理器(Task Manager)(regedit)
如果要禁用任务管理器(Task Manager),也可以使用Windows 注册表(Windows Registry)。为此,请打开regedit 并导航(regedit and navigate)到此位置:"Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System."然后,在窗口右侧,双击打开DisableTaskMgr属性。
在“编辑 DWORD(32 位)值”("Edit DWORD (32-bit) Value")窗口中,将“值数据”("Value data")设置为 1(一),如果要禁用任务管理器,请按(Task Manager)OK按钮。
要启用任务管理器(Task Manager),请遵循相同的路径,并将DisableTaskMgr的值设置为 0(零)。
请注意,如果您在Windows 注册表(Windows Registry)中没有找到DisableTaskMgr项,您可以并且应该通过使用右键菜单创建一个新的DWORD(32 位)值(DWORD (32-bit) Value)来自己创建它。
只需确保为项目键入正确的名称(correct name):DisableTaskMgr。
3. 如何使用命令行(Command Line)(cmd) 或PowerShell禁用(PowerShell)任务管理器(Task Manager)
如果您更喜欢使用命令行环境,请以管理员身份打开PowerShell或命令提示符。(Command Prompt)然后,要禁用任务管理器(Task Manager),请运行以下命令:reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableTaskMgr /t REG_DWORD /d 1 /f。
要从命令提示符(Command Prompt)启用任务管理器(Task Manager),请运行以下命令:reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableTaskMgr /t REG_DWORD /d 0 /f。
4.如何使用本地组策略编辑器(Local Group Policy Editor)(gpedit.msc)禁用任务管理器(Task Manager)
如果您使用的是Windows 10 专业版或企业版(Pro or Enterprise),您还可以使用本地策略来启用或禁用任务管理器(Task Manager)。打开本地组策略编辑器(Local Group Policy Editor)(gpedit.msc) 并导航到"User Configuration > Administrative Templates > System > Ctrl+Alt+Del Options."然后,在窗口右侧,双击或双击打开“删除任务管理器”。("Remove Task Manager.")
在“删除任务管理器”("Remove Task Manager")窗口中,选择启用(Enabled)并按确定(OK)或应用(Apply),如果您想禁用任务管理器(Task Manager)。
如果您想要启用任务管理器(Task Manager),请在“删除任务管理器”("Remove Task Manager")窗口中选择已禁用(Disabled)或“未配置”("Not configured"),然后按OK或应用(Apply)保存您的选择。
提示:(TIP:)有关使用本地组策略编辑器(Local Group Policy Editor)的更多信息,请阅读本指南:什么是本地组策略编辑器(Local Group Policy Editor),以及如何使用它?。
在Windows 10中禁用任务(Windows 10)管理器(Manager)会发生什么?
无论您选择哪种方法禁用它,如果您现在尝试使用其任何快捷方式(如开始菜单中的快捷方式)或使用搜索打开(Start Menu)任务管理器(Task Manager),您所得到的只是一条消息,告诉您“任务Manager 已被您的管理员禁用。”("Task Manager has been disabled by your administrator.")
如果您尝试使用键盘快捷键(keyboard shortcut) Ctrl + Shift + Esc打开它,则不会发生任何事情。此外,甚至曾经在"Ctrl + Alt + Del"任务管理器(Task Manager)的快捷方式也不见了。
而已!
为什么要禁用Windows 10中的任务管理器(Task Manager)?
我们很好奇您为什么要在 Windows 10 计算机上禁用任务管理器?(Task Manager)你这样做的原因是什么?或者您是否在寻找重新启用任务管理器(Task Manager)的方法时阅读了我们的文章?您可以在下面的评论部分与我们联系。
How disable the Task Manager in Windows 10
There are some cases in which you might want to disable Task Manager in Windows 10. There are also opposite situations, when you want to enable Task Manager, like when your computer was infected by malware that disabled the Task Manager. In such a case, every time you try to launch it, you only get a message saying that the "Task Manager has been disabled by your administrator." Regardless of your reasons, here are four different ways in which you can enable or disable Task Manager. You can choose to use our free TaskMgrED tool for enabling or disabling Task Manager, the Windows Registry (regedit), Command Prompt or PowerShell, or even by changing a local policy (GPO).
NOTE: To be able to disable the Task Manager in Windows 10, you need to be logged on as an administrator.
1. How to disable Task Manager using our TaskMgrEd tool
The easiest way to disable the Task Manager in Windows 10 is to use a tool that we made for you, called TaskMgrEd. Download TaskMgrEd using this link or the one at the end of this section. Save it somewhere on your Windows 10 PC, and then double-click on it.
When you launch TaskMgrEd, the SmartScreen filter warns you that it comes from an untrusted publisher. You get this notification because it's a tool that we created, and there aren't that many people using it worldwide. The tool is safe and doesn't do any damage. It's just a script that we wrote in PowerShell, and we encapsulated it inside an executable file with a simple graphical user interface. To be able to use our tool, click or tap on "More info" and then choose to "Run anyway."
Each time you open TaskMgrEd, UAC asks you to run it as an administrator. Click or tap on Yes.
You should see a small window like the one illustrated in the image below. To disable the Task Manager on your Windows 10 PC, click or tap on "Disable Task Manager."
If all worked out well, you should see a message letting you know that "Task Manager has been disabled."
To enable or re-enable Task Manager on your Windows 10 computer, click or tap on "Enable Task Manager." TaskMgrEd should then inform you that "Task Manager has been enabled."
NOTE: Although we created this tool for Windows 10, it should also work on older Windows operating systems such as Windows 8.1, Windows 7, Windows Vista, and even Windows XP. If you encounter any issues with it, let us know via the comments section from the bottom of this article.
Download: TaskMgrED
2. How to disable Task Manager using the Windows Registry (regedit)
You can also use the Windows Registry if you want to disable the Task Manager. To do so, open regedit and navigate to this location: "Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System." Then, on the right side of the window, double-click to open the DisableTaskMgr property.
In the "Edit DWORD (32-bit) Value" window, set the "Value data" to 1 (one) and press the OK button if you want to disable Task Manager.
To enable Task Manager, follow the same path, and set the value of the DisableTaskMgr to 0 (zero).
Note that, if you don't find the DisableTaskMgr item in your Windows Registry, you can and should create it yourself by using the right-click menu to create a new DWORD (32-bit) Value.
Just make sure that you type the correct name for the item: DisableTaskMgr.
3. How to disable Task Manager using Command Line (cmd) or PowerShell
If you prefer using a command-line environment, open PowerShell, or Command Prompt as an administrator. Then, to disable Task Manager, run the following command: reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableTaskMgr /t REG_DWORD /d 1 /f.
To enable Task Manager from Command Prompt run this command: reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableTaskMgr /t REG_DWORD /d 0 /f.
4. How to disable Task Manager using Local Group Policy Editor (gpedit.msc)
If you're using Windows 10 Pro or Enterprise, you can also use local policies to enable or disable Task Manager. Open the Local Group Policy Editor (gpedit.msc) and navigate to "User Configuration > Administrative Templates > System > Ctrl+Alt+Del Options." Then, on the right side of the window, double-click or double-tap to open "Remove Task Manager."
In the "Remove Task Manager" window, select Enabled and push OK or Apply if you want to disable Task Manager.
If what you want is to enable Task Manager, select Disabled or "Not configured" in the "Remove Task Manager" window and then save your choice by pushing OK or Apply.
TIP: For more about using the Local Group Policy Editor, read this guide: What is the Local Group Policy Editor, and how do I use it?.
What happens when you disable Task Manager in Windows 10?
Regardless of the method you chose to disable it, if you try now to open the Task Manager using any of its shortcuts (like the one in the Start Menu) or using search, all you get is a message that tells you that the "Task Manager has been disabled by your administrator."
If you try to open it using the keyboard shortcut Ctrl + Shift + Esc, nothing happens. Furthermore, even the shortcut for Task Manager that used to be shown on the "Ctrl + Alt + Del" screen is gone.
That's it!
Why did you want to disable the Task Manager in Windows 10?
We're curious why you wanted to disable Task Manager on your Windows 10 computer? What was your reason for that? Or did you get to our article while looking for ways to re-enable Task Manager? You can reach us on this subject in the comments section below.