Skip to content

Instantly share code, notes, and snippets.

@bbenetskyy
Created August 1, 2019 06:37
Show Gist options
  • Save bbenetskyy/12f46e933e675453e579f4bb33e476e6 to your computer and use it in GitHub Desktop.
Save bbenetskyy/12f46e933e675453e579f4bb33e476e6 to your computer and use it in GitHub Desktop.
Remove Appx Package from System
#Run it as Administrator!!!
get-appxpackage -all | Where-Object {$_.Publisher -like '*mgi*' } ;
# Name : ec2da877-a252–49ba-b198-dfbe4c62b264
# Publisher : CN=mgi***ki
# Architecture : X86
# ResourceId :
# Version : 1.0.0.0
# PackageFullName : ec2da877-a252–49ba-b198-dfbe4c62b264_1.0.0.0_x86__cmp0vtb8yqdft
# InstallLocation :
# IsFramework : False
# PackageFamilyName : ec2da877-a252–49ba-b198-dfbe4c62b264_cmp0vtb8yqdft
# PublisherId : cmp0vtb8yqdft
# PackageUserInformation : {S-1–12–1–3985218058–1139711788–2545276824–1396086447 [S-1–12–1–3985218058–1139711788–2545276824–1396086447]: Installed}
# IsResourcePackage : False
# IsBundle : False
# IsDevelopmentMode : True
# IsPartiallyStaged : False
# SignatureKind : None
# Status : Ok
remove-appxpackage -Package 'ec2da877-a252–49ba-b198-dfbe4c62b264_1.0.0.0_x86__cmp0vtb8yqdft' -AllUsers
# Now just check for be sure if it's removed
get-appxpackage -all | Where-Object {$_.Publisher -like '*mgi*' }
#
get-appxpackage -all | Where-Object {$_.Publisher -like '*mgi*' }
#
# Ok, it's removed )))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment