win11 恢复任务栏copilot图标, 亲测有效

1、修改C:\Windows\System32\IntegratedServicesRegionPolicySet.json,解除中国不能使用copilot的限制。

使用Notepad++搜索copilot全文搜索,将下面两处的"CN,"删除,删除后如下:

复制代码
    {
      "$comment": "Show Copilot on taskbar by default when definitive answer is not received from Bing on user eligibility",
      "guid": "{ff9e2d65-8af9-4235-a8c0-e4126475fb99}",
      "defaultState": "enabled",
      "conditions": {
        "region": {
          "disabled": ["RU" , "BY", "IR", "CU", "KP", "SY"]
        }
      }
    },

    {
      "$comment": "Copilot PWA is available on Windows in these countries",
      "guid": "{e0b9c4fb-0f29-4cd5-9ef1-a198cbe10a49}",
      "defaultState": "enabled",
      "conditions": {
        "region": {
          "disabled": ["RU" , "BY", "IR", "CU", "KP", "SY"]
        }
      }
    },

注意,该文件存在权限问题,无法直接修改,先copy到其他地方进行修改,修改完后再粘贴替换,也会因为报权限问题无法替换,以管理员身份运行poweshell,执行以下命令后,即可替换成功。

复制代码
$filePath = "$env:WINDIR\System32\IntegratedServicesRegionPolicySet.json"
$acl = (Get-Item $filePath).GetAccessControl()
$accessRule = New-Object System.Security.AccessControl.FileSystemAccessRule("Administrators", "FullControl", "Allow")
$acl.SetAccessRule($accessRule)
Set-Acl -Path $filePath -AclObject $acl

2、修改注册表

创建一个copilot.bat文件,主要用于开机修改注册表,以打开copilot。内容如下:

复制代码
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Copilot\BingChat" /v IsUserEligible /t REG_DWORD /d 1 /f

然后运行WIN+R,打开 "shell:Common Startup"进入C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup, 将copilot.bat文件拷贝到Startup下

完成以上两步后,重启电脑,在开始菜单搜索copilot,即可搜索到copilot应用,将其加入到任务栏即可。

效果图:

相关推荐
MicrosoftReactor3 天前
技术速递|GitHub Copilot CLI:快速上手指南
github·copilot
std860216 天前
微软升级Copilot Actions,可对本地文件执行操作
microsoft·copilot
硬汉嵌入式10 天前
专为 MATLAB 优化的 AI 助手MATLAB Copilot
人工智能·matlab·copilot
MicrosoftReactor12 天前
技术速递|GitHub Copilot 和 AI Agent 如何拯救传统系统
人工智能·github·copilot·agent
500佰14 天前
Copilot、Codeium 软件开发领域的代表性工具背后的技术
人工智能·github·gpt-3·copilot·个人开发·xcode
Blossom.11815 天前
AI Agent记忆系统深度实现:从短期记忆到长期人格的演进
人工智能·python·深度学习·算法·决策树·机器学习·copilot
赴遥18 天前
[出现错误 2147942402 (0x80070002) (启动“ubuntu2004.exe”时)]
ubuntu·win11·wsl2
极智-99622 天前
win11系统下载?【图文详解】win11系统微软官方下载?win11系统下载安装?
win11·win11安装·win11升级·win11系统下载·win11系统下载安装·win11官方下载·win11系统微软官方下载安装
mrsyf22 天前
VSCode中Copilot的询问、编辑、代理有啥区别?
ide·vscode·copilot
诗水人间23 天前
可替代Github Copilot的插件分享CodeGeeX
copilot·ai工具·codegeex