Hi Wilson,
Welcome to Microsoft Q&A and thank you for providing the details of the issue.
I understand that you're unable to remove the provisioned application using Remove-AppxProvisionedPackage, even when running PowerShell with administrator privileges.
To identify the root cause, I recommend carrying out the following checks:
- Verify the package configuration: Run
Get-AppxProvisionedPackage -Onlineto confirm the exact package name and provisioning status. - Check existing user registrations: Use
Get-AppxPackage -AllUsersto determine whether the application is registered to existing user profiles. - Review deployment and servicing logs: Examine the AppX Deployment logs in Event Viewer, along with
C:\Windows\Logs\DISM\dism.logandC:\Windows\Logs\CBS\CBS.log, for relevant errors or HRESULT codes. - Check dependencies and system health: Verify whether the application is a dependency of other packages and assess Windows image integrity using DISM and SFC.
- Validate the removal approach: Confirm that the package can be safely removed without affecting existing user profiles, system functionality or future servicing operations.
For additional guidance, please refer to the following Microsoft documentation:
- Remove-AppxProvisionedPackage – Microsoft Learn
- Get-AppxProvisionedPackage – Microsoft Learn
- Troubleshooting Windows App Deployment
- Deployment Troubleshooting and Log Files
If you find this information helpful, please click Accept Answer. This helps other
community members identify useful solutions to similar issues.
Thank you for choosing Microsoft Q&A.