英文:
How to hide "Task Manager" in menu
问题
To hide the "Task Manager" entry in the menu that appears when you press CNTL-ALT-DEL, you can use the following batch file command:
要隐藏在按下CNTL-ALT-DEL时出现的菜单中的“任务管理器”条目,您可以使用以下批处理文件命令:
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v DisableTaskMgr /t REG_DWORD /d 1 /f
This command modifies the Windows Registry to disable the Task Manager. If you want to undo this change and show the Task Manager again, you can set the /d
value to 0
instead of 1
.
此命令修改Windows注册表以禁用任务管理器。如果您想撤销此更改并再次显示任务管理器,可以将/d
值设置为0
而不是1
。
英文:
For the menu that appears when you press CNTL-ALT-DEL, how do you hide "Task Manager" entry? Is there a registry setting that I can disable, etc? I would like to include a line in a batch file to hide, thanks.
答案1
得分: 1
注册表路径以自定义ctrl+alt+del选项为:-
> HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
双击要隐藏的值并将其值设置为1。这将禁用该选项的显示。
这些键是:
- DisableLockWorkstation
- HideFastUserSwitching
- NoLogoff
- DisableChangePassword
- DisableTaskMgr
如果其中任何一个不存在,而您想要隐藏它,那么您需要首先添加它。
要添加值 - 右键单击右侧的任何空白区域,创建一个新的DWORD值名称,如上所述,并将其值设置为1。
要恢复原状,您可以将值切换回0。
这适用于Windows:7/8/10
英文:
The registry path to customize ctrl+alt+del options is:-
> HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
Double click on value/s you want to hide & set its value as 1. This will disable the that option from appearing.
The Keys are:-
1) DisableLockWorkstation
2) HideFastUserSwitching
3) NoLogoff
4) DisableChangePassword
5) DisableTaskMgr
If any of them don’t exist and you want to hide it then you need to add it first.
To add value - right-click on any blank white space on the right side and create a New DWORD value name, as mentioned above, and set its value to 1.
To revert back, you may switch the value, back to 0.
This can work on Windows:- 7/8/10
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论