How to Uninstall a Program on Windows 10 from Command Prompt

  1. right click Command Prompt and select“Run as Administrator”. At the prompt, type the following command: wmic
  2. in wmic prompt, you can use below command to list apps you installed:
    product get name
  3. command to uninstall, don’t forget to confirm with Y:
    product where name=”program name” call uninstall
wmic:root\cli>product where name="Oracle VM VirtualBox 6.1.10" call uninstall
Execute (\\HANS-T430\ROOT\CIMV2:Win32_Product.IdentifyingNumber="{0359AF05-E674-4ED4-B9FB-B77918617667}",Name="Oracle VM VirtualBox 6.1.10",Vendor="Oracle Corporation",Version="6.1.10")->Uninstall() (Y/N/?)? Y
Method execution successful.
Out Parameters:
instance of __PARAMETERS
{
        ReturnValue = 1618;
};

NOTE: we can use PowerShell command to remove Win10 built-in apps, use GameServices as example:
Get-AppxPackage -AllUsers Microsoft.XboxGamingOverlay | Remove-AppxPackage
ref: https://www.majorgeeks.com/content/page/remove_windows_10_apps_using_powershell.html

2 Replies to “How to Uninstall a Program on Windows 10 from Command Prompt”

  1. Hello it’s me, I am also visiting this web page daily, this website is really good and the people are in fact
    sharing good thoughts.

Leave a Reply

Your email address will not be published. Required fields are marked *