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应用,将其加入到任务栏即可。
效果图: