用管理員身份運行CMD,輸入:
start powershell
輸入后打開了Windows PowerShell,在WindowsPowerShell中輸入
Get-AppXPackage -Name Microsoft.Windows.Cortana | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
原文地址:https://blog.csdn.net/qq_41571056/article/details/82928919