Category filter

Scripts to uninstall Windows Store apps

Windows 10 comes with a set of pre-installed apps. However, not all apps might be useful in an organization. Using Hexnode, the administrators can deploy scripts to uninstall Windows store apps.

Disclaimer:

The Sample Scripts provided below are adapted from third-party Open-Source sites.

Batch Script

E.g., To remove the app Notepad saved in C drive,

msiexec /x "C:\TEMP\XmlNotepad.msi" /qn

Powershell Script

E.g., To remove the system app Alarms & Clock,

Get-AppxPackage * Microsoft.WindowsAlarms * | Remove-AppxPackage

Notes:

  • It is recommended to manually validate the script execution on a system before executing the action in bulk.
  • Hexnode will not be responsible for any damage/loss to the system on the behavior of the script.

  • Sample Script Repository