Skip to content

Commit

Permalink
卸载 Family UWP
Browse files Browse the repository at this point in the history
  • Loading branch information
xrgzs committed Apr 16, 2024
1 parent 6fc6871 commit e9424a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion osc/apifiles/uninstallAppx.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Get-AppxPackage *Microsoft.Print3D* -AllUsers | Remove-AppxPackage
Get-AppxPackage *Microsoft.Microsoft3DViewer* -AllUsers | Remove-AppxPackage
Get-AppxPackage *Microsoft.MicrosoftPCManager* -AllUsers | Remove-AppxPackage
Get-AppxPackage *Microsoft.549981C3F5F10* -AllUsers | Remove-AppxPackage
Get-AppxPackage *MicrosoftCorporationII.MicrosoftFamily* -AllUsers | Remove-AppxPackage
# Get-AppxPackage *Microsoft.BingWeather* -AllUsers | Remove-AppxPackage
# Get-AppxPackage *Microsoft.GamingApp* -AllUsers | Remove-AppxPackage
# Get-AppxPackage *Microsoft.Xbox* -AllUsers | Remove-AppxPackage
Expand Down Expand Up @@ -50,7 +51,7 @@ Get-AppxProvisionedPackage -Online | Where-Object {$_.packagename -like "*Micros
Get-AppxProvisionedPackage -Online | Where-Object {$_.packagename -like "*Microsoft.Microsoft3DViewer*"} | Remove-AppxProvisionedPackage -Online
Get-AppxProvisionedPackage -Online | Where-Object {$_.packagename -like "*Microsoft.MicrosoftPCManager*"} | Remove-AppxProvisionedPackage -Online
Get-AppxProvisionedPackage -Online | Where-Object {$_.packagename -like "*Microsoft.549981C3F5F10*"} | Remove-AppxProvisionedPackage -Online
Get-AppxProvisionedPackage -Online | Where-Object {$_.packagename -like "*MicrosoftCorporationII.MicrosoftFamily*"} | Remove-AppxProvisionedPackage -Online

# Import registry to disable Microsoft PC Manager
reg.exe import .\mspcmgr.reg /reg:32

0 comments on commit e9424a6

Please sign in to comment.