Share this article
Improve this guide
Uninstall-package Not Working: How to Force it
Use a different command if uninstall-package is not working
3 min. read
Updated onOctober 4, 2023
updated onOctober 4, 2023
Share this article
Improve this guide
Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more
Key notes
InWindows, there are multiple ways to remove apps. And speaking of which, many reported that uninstall-package is not working in PowerShell.
This command allows you to remove even system apps, and if it’s not working you won’t be able todebloat Windowsor uninstall apps that are giving you trouble.
Luckily, there are few fixes that can help with this issue.
How do I force uninstall a program in PowerShell?
What can I do if uninstall-package is not working in PowerShell?
1. Use the cmdlet called Uninstall-Package
If this doesn’t happen and you cannot find the app listed, use theGet-Packagecmdlet instead. If you want to find the application named Camera, for example, enter this command:Get-Package -Provider Programs -IncludeWindowsInstaller -Name “Camera”.
PowerShellwill now be able to locate it. You can further use the cmdlet calledUninstall-Package.Broken down simply, you can get away with specifying the -Name parameter, followed by the package name most of the time.
2. Alternative PowerShell command to uninstall apps
Alternatively, you can create a PowerShell script using the same commands to automate the process.
IsWindows PowerShellunable to uninstall a certainprogram? We get your frustration, but let us offer this bit of wisdom. Some built-in apps are really integrated into the operating system and removing them will most likely cause more harm than good.
Your attempts eventually lead to getting the same message that readsThis app is part of Windows and cannot be uninstalled on a per-user basis.
There’s no question you could find some shady ways to remove them, but sometimes applications leave unwanted traces behind.
In case you have further issues, check our guide on what to do ifPowerShell is not workinganymore.
That said, if you finally succeed after reading this, please comment below. We’re eager to hear your opinion.
More about the topics:error,Microsoft PowerShell
Vlad Turiceanu
Windows Editor
Passionate about technology,Windows, and everything that has a power button, he spent most of his time developing new skills and learning more about the tech world.
Coming from a solid background in PC building and software development, with a complete expertise in touch-based devices, he is constantly keeping an eye out for the latest and greatest!
User forum
0 messages
Sort by:LatestOldestMost Votes
Comment*
Name*
Email*
Commenting as.Not you?
Save information for future comments
Comment
Δ
Vlad Turiceanu
Windows Editor
Coming from a solid background in PC building and software development, he’s a Windows 11 Privacy & Security expert.