1、方法1
用管理员权限打开 CMD
输入 powershell 回车
输入 Set-ExecutionPolicy Unrestricted 回车


2、方法2
用管理员权限 打开powershell
输入
((Get-ChildItem “HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\InboxApplications”) | Get-ItemProperty).Path | Add-AppxPackage -Register -DisableDevelopmentMode
回车

