From 146a6e89cd279942b36bdce635f9b5423b2263a4 Mon Sep 17 00:00:00 2001 From: xrgzs Date: Tue, 8 Oct 2024 14:53:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20=E5=8D=B8=E8=BD=BDMicrosof?= =?UTF-8?q?t.Windows.DevHome?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- osc/apifiles/uninstallAppx.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osc/apifiles/uninstallAppx.ps1 b/osc/apifiles/uninstallAppx.ps1 index 89a828b..c978827 100644 --- a/osc/apifiles/uninstallAppx.ps1 +++ b/osc/apifiles/uninstallAppx.ps1 @@ -26,6 +26,7 @@ Get-AppxPackage *MSTeams* -AllUsers | Remove-AppxPackage Get-AppxPackage *Microsoft.OutlookForWindows* -AllUsers | Remove-AppxPackage Get-AppxPackage *MicrosoftWindows.Client.WebExperience* -AllUsers | Remove-AppxPackage Get-AppxPackage *Microsoft.WidgetsPlatformRuntime* -AllUsers | Remove-AppxPackage +Get-AppxPackage *Microsoft.Windows.DevHome* -AllUsers | Remove-AppxPackage # Get-AppxPackage *Microsoft.BingWeather* -AllUsers | Remove-AppxPackage # Get-AppxPackage *Microsoft.GamingApp* -AllUsers | Remove-AppxPackage # Get-AppxPackage *Microsoft.MicrosoftOfficeHub* -AllUsers | Remove-AppxPackage @@ -68,6 +69,7 @@ Get-AppxProvisionedPackage -Online | Where-Object {$_.packagename -like "*Micros Get-AppxProvisionedPackage -Online | Where-Object {$_.packagename -like "*Microsoft.MSTeams*"} | Remove-AppxProvisionedPackage -Online Get-AppxProvisionedPackage -Online | Where-Object {$_.packagename -like "*MicrosoftWindows.Client.WebExperience*"} | Remove-AppxProvisionedPackage -Online Get-AppxProvisionedPackage -Online | Where-Object {$_.packagename -like "*Microsoft.WidgetsPlatformRuntime*"} | Remove-AppxProvisionedPackage -Online +Get-AppxProvisionedPackage -Online | Where-Object {$_.packagename -like "*Microsoft.Windows.DevHome*"} | Remove-AppxProvisionedPackage -Online # Import registry to disable Microsoft PC Manager reg.exe import .\mspcmgr.reg /reg:32