This commit is contained in:
USER
2023-03-30 20:50:43 +01:00
parent 586c89e6cf
commit ddd9ba7a17
10 changed files with 246 additions and 0 deletions

View File

@ -0,0 +1,58 @@
$applist = @(
"*BingWeather*"
"*ZuneMusic*"
"*ZuneVideo*"
"*4DF9E0F8.Netflix"
"*9E2F88E3.Twitter"
"*CandyCrush*"
"*E046963F.LenovoCompanion"
"*Lenovo*"
"Microsoft.3DBuilder"
"Microsoft.Advertising*"
"Microsoft.Appconnector"
"Microsoft.Bing*"
"Microsoft.CommsPhone"
"Microsoft.ConnectivityStore"
"Microsoft.DesktopAppInstaller"
"Microsoft.Getstarted"
"Microsoft.Messaging"
"Microsoft.MicrosoftSolitaireCollection"
"Microsoft.MixedReality*"
"Microsoft.People"
"Microsoft.Services.Store.Engagement"
"Microsoft.SkypeApp"
"Microsoft.WindowsAlarms"
"Microsoft.windowscommunicationsapps"
"Microsoft.WindowsFeedbackHub"
"Microsoft.WindowsMaps"
"Microsoft.WindowsPhone"
"Microsoft.Xbox*"
"Microsoft.ZuneMusic"
"Microsoft.ZuneVideo"
"Microsoft.YourPhone*"
"TuneIn.TuneInRadio"
"Microsoft.MicrosoftOfficeHub"
"Microsoft.Office.OneNote"
"Microsoft.Office.Sway"
"Microsoft.OneConnect"
"Microsoft.WindowsStore"
"Microsoft.StorePurchaseApp"
)
ForEach($app in $applist){
Add-AppxPackage -AllUsers -Name $app -ErrorAction SilentlyContinue
Add-AppxPackage -Name $app -ErrorAction SilentlyContinue
Add-AppxProvisionedPackage -Online | where {$_.PackageName -like $app} | Remove-AppxProvisionedPackage -Online -ErrorAction SilentlyContinue
}
https://akosbakos.ch/reinstall-windows-store-app/
https://community.spiceworks.com/topic/2176027-how-to-add-windows-10-apps-back-with-powershell
Add-AppxProvisionedPackage -Online -PackagePath "E:\x86fre\Microsoft.Windows.Photos_8wekyb3d8bbwe.appxbundle" LicensePath "E:\x86fre\Microsoft.Windows.Photos_8wekyb3d8bbwe.xml"
https://www.winhelponline.com/blog/restore-windows-store-windows-10-uninstall-with-powershell/
https://www.guidingtech.com/fix-microsoft-store-missing-windows-10/
PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *WindowsStore*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"