右键左下角的‘开始’按钮,点击运行‘Windows PowerShell(管理员)’,然后在Windows PowerShell中输入以下命令: Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
转载于:https://my.oschina.net/u/3755998/blog/1809452