win11任务栏右击程序出现结束任务问题
<p style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent; color: rgb(52, 52, 52); font-family: "Microsoft YaHei", Arial, sans-serif, 宋体; background-color: rgb(255, 255, 255);">用户使用win11系统,任务栏处右击程序出现结束任务选项</p><p style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent; color: rgb(52, 52, 52); font-family: "Microsoft YaHei", Arial, sans-serif, 宋体; background-color: rgb(255, 255, 255);"><img src="https://chinakb.lenovo.com.cn/chinakb/prod-api/file/downloadFile?key=uniko/IMAGE/9bac25c52343b25a8c5bf66e7165402a-1735795036548.png&name=mceclip0.png" style="cursor: pointer; border: 0px; outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent; max-width: 100%; height: auto !important;"></p><p style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent; color: rgb(52, 52, 52); font-family: "Microsoft YaHei", Arial, sans-serif, 宋体; background-color: rgb(255, 255, 255);"> </p><p style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent; color: rgb(52, 52, 52); font-family: "Microsoft YaHei", Arial, sans-serif, 宋体; background-color: rgb(255, 255, 255);"><strong style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent;">原因:</strong>win11系统相对win10系统,新增开发者选项--结束任务--功能。</p><p style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent; color: rgb(52, 52, 52); font-family: "Microsoft YaHei", Arial, sans-serif, 宋体; background-color: rgb(255, 255, 255);">当开启该功能时,右击任务栏的程序,选择结束任务,相当于直接在任务管理器中结束了任务进程,会直接关闭该程序,而不是关闭当前窗口保持后台运行。</p><p style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent; color: rgb(52, 52, 52); font-family: "Microsoft YaHei", Arial, sans-serif, 宋体; background-color: rgb(255, 255, 255);"><strong style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent;">解决方法 一:</strong>按WIN+i 打开设置--系统--开发者选项--结束任务--关闭该选项即可恢复。</p><p style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent; color: rgb(52, 52, 52); font-family: "Microsoft YaHei", Arial, sans-serif, 宋体; background-color: rgb(255, 255, 255);"><img src="https://chinakb.lenovo.com.cn/chinakb/prod-api/file/downloadFile?key=uniko/IMAGE/71b749d501bf9a00f441f2b379e44414-1735795057330.png&name=mceclip2.png" style="cursor: pointer; border: 0px; outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent; max-width: 100%; height: auto !important;"></p><p style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent; color: rgb(52, 52, 52); font-family: "Microsoft YaHei", Arial, sans-serif, 宋体; background-color: rgb(255, 255, 255);"><img src="https://chinakb.lenovo.com.cn/chinakb/prod-api/file/downloadFile?key=uniko/IMAGE/13c56f2c1fe40f6b15449e8826cb81c7-1735795061705.png&name=mceclip3.png" style="cursor: pointer; border: 0px; outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent; max-width: 100%; height: auto !important;"></p><p style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent; color: rgb(52, 52, 52); font-family: "Microsoft YaHei", Arial, sans-serif, 宋体; background-color: rgb(255, 255, 255);"><strong style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent;">解决方法 二: </strong><strong style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent;">修改注册表涉及风险!!!务必提前备份数据!!!</strong></p><p style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent; color: rgb(52, 52, 52); font-family: "Microsoft YaHei", Arial, sans-serif, 宋体; background-color: rgb(255, 255, 255);">可以修改注册表,来启用或禁用任务栏中的「结束任务」快捷选项,操作步骤如下:</p><ul style="list-style: none; outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent; color: rgb(52, 52, 52); font-family: "Microsoft YaHei", Arial, sans-serif, 宋体; background-color: rgb(255, 255, 255);"><li style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent;">使用Windows + R快捷键打开「运行」对话框,执行regedit打开注册表编辑器。<br style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent;"><img src="https://chinakb.lenovo.com.cn/chinakb/prod-api/file/downloadFile?key=uniko/IMAGE/eebf07920bfca269e67698f2d70da9fa-1735795073383.png&name=mceclip4.png" style="cursor: pointer; border: 0px; outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent; max-width: 100%; height: auto !important;"></li><li style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent;">导航到以下路径:</li></ul><p style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent; color: rgb(52, 52, 52); font-family: "Microsoft YaHei", Arial, sans-serif, 宋体; background-color: rgb(255, 255, 255);">HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\TaskbarDeveloperSettings</p><p style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent; color: rgb(52, 52, 52); font-family: "Microsoft YaHei", Arial, sans-serif, 宋体; background-color: rgb(255, 255, 255);">双击名为TaskbarEndTask的 <strong style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent;">DWORD (32-</strong><strong style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent;">位)</strong> 值,将其十六进制值设置为:</p><ul style="list-style: none; outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent; color: rgb(52, 52, 52); font-family: "Microsoft YaHei", Arial, sans-serif, 宋体; background-color: rgb(255, 255, 255);"><li style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent;">0 禁用「结束任务」选项</li><li style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent;">1 启用「结束任务」选项</li><li style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent;">修改后立即生效<br style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent;"><img src="https://chinakb.lenovo.com.cn/chinakb/prod-api/file/downloadFile?key=uniko/IMAGE/7d8659e01def7c68f805bb54f9c2b89d-1735795085110.png&name=mceclip5.png" style="cursor: pointer; border: 0px; outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent; max-width: 100%; height: auto !important;"></li></ul><p style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent; color: rgb(52, 52, 52); font-family: "Microsoft YaHei", Arial, sans-serif, 宋体; background-color: rgb(255, 255, 255);"> </p><p style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent; color: rgb(52, 52, 52); font-family: "Microsoft YaHei", Arial, sans-serif, 宋体; background-color: rgb(255, 255, 255);">以上设置仅针对win11系统,win10系统测试注册表下无TaskbarDeveloperSettings</p><p style="outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: transparent; color: rgb(52, 52, 52); font-family: "Microsoft YaHei", Arial, sans-serif, 宋体; background-color: rgb(255, 255, 255);">选项。包括新建TaskbarDeveloperSettings,设置值也无效。</p> SF页:
[1]