# To Reinstall and Re-Register All Windows Apps for Current Account Only
Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
# To Reinstall and Re-Register All Windows Apps for All Accounts
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
参考1:https://blog.csdn.net/SarenTumulus/article/details/81152563
参考2:https://www.cnblogs.com/gkmeteor/p/11705171.html
评论已关闭