Remove Microsoft Store apps and pre-installed bloatware from Windows endpoints automatically
This Automox Worklet™ removes Microsoft Store applications and pre-installed Windows bloatware from your endpoints using PowerShell. The Worklet targets all Microsoft apps that are removable and not part of the Windows Framework, while automatically excluding Office-related apps, extensions, and the Microsoft Store itself.
The Worklet processes all users on an endpoint simultaneously, verifying consistent application of the removal policy. You can customize which applications to remove and which to exclude, allowing fine-grained control over your endpoint environments.
You can target specific non-Microsoft apps by name or wildcard pattern. The Worklet also removes provisioned app packages from the Windows image to prevent automatic reinstallation when new user accounts are created.
Pre-installed and user-installed Microsoft Store apps consume system resources, storage space, and can create security risks. Removing unnecessary bloatware improves endpoint performance, speeds up system startup times, and reduces background process activity.
From a security perspective, applications on the Microsoft Store can pose risks if they contain malware, exploit vulnerabilities, or collect sensitive user data. Automating bloatware removal gives you consistent control over your endpoint software environment across your entire organization.
Storage space management is another critical benefit. Pre-installed apps often consume significant disk space, especially on endpoints with limited storage capacity. Removing bloatware frees resources for business applications and improves overall endpoint responsiveness.
Evaluation phase: Scans the endpoint using Get-AppxPackage with filters for removable Microsoft apps, non-Microsoft apps matching your configured list, and exceptions. If the Worklet finds apps that meet removal criteria, it returns a failure code triggering remediation.
Remediation phase: Removes each identified app using Remove-AppxPackage for all users, then removes the provisioned package from the Windows image using Remove-AppxProvisionedPackage to prevent automatic reinstallation on new user accounts.
Windows 10 or Windows 11 endpoints
PowerShell 5.1 or higher
Administrator permissions on the endpoint
Define exception apps if you want to exclude Microsoft Store apps from removal
Optionally specify non-Microsoft apps to remove using full names or wildcards
After the Worklet executes successfully, all configured bloatware applications are removed from every user profile on the endpoint. The removed applications no longer appear in Settings > Apps or the Microsoft Store, and they cannot be automatically reinstalled when new user accounts are created. You can verify this change through the Automox Activity Log or by checking the endpoint configuration directly.
Your endpoints gain immediate performance benefits including faster startup times, reduced background processes, and freed storage space. Applications listed in your exceptions configuration remain installed and functional. You can verify removal by checking installed apps in Windows Settings or by running Get-AppxPackage on the endpoint.
Run this Worklet on a pilot Windows endpoint and review evaluation output for uninstall apps and pre-installed windows bloatware from the microsoft store.
Confirm Automox activity logs show successful completion and exit code 0.
Verify endpoint state using checks aligned to evaluation script logic, such as Pre-Installed, Get-AppxPackage, Where-Object.
Validate remediation effects from script operations such as Pre-Installed, Get-AppxPackage, Where-Object, then rerun evaluation for compliance.


By submitting this form you agree to our Master Services Agreement and Privacy Policy.
Already have an account? Log in
Consider Worklets your easy button
A Worklet is an automation script, written in Bash or PowerShell, designed for seamless execution on endpoints – at scale – within the Automox platform. Worklet automation scripts perform configuration, remediation, and the installation or removal of applications and settings across Windows, macOS, and Linux.

AUTOMOX + WORKLETS™
Uncover new possibilities with simple, powerful automation.
By submitting this form you agree to our Master Services Agreement and Privacy Policy