Skip to content

Commit

Permalink
增加 卸载Microsoft.Windows.DevHome
Browse files Browse the repository at this point in the history
  • Loading branch information
xrgzs committed Oct 8, 2024
1 parent 4a5c471 commit 146a6e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions osc/apifiles/uninstallAppx.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 146a6e8

Please sign in to comment.