Situatie
If you’re using Windows 10 and need to free up some disk space, you can uninstall apps you no longer use straight from the Command Prompt.
Solutie
Pasi de urmat
First, you’ll have to run Command Prompt as an administrator to uninstall a program. In the Windows Search box, type “cmd,” and then right-click “Command Prompt” in the results.
Next, click “Run as Administrator” in the menu that appears.
Command Prompt will now launch with administrator permissions. To uninstall a program using Command Prompt, you have to use the Windows Management Instrumentation Command-line (WMIC) software utility.
At the prompt, type the following command, and then press Enter: wmic
You’ll now see the wmic:root\cli> prompt in the console. This means you can now use Windows Management Instrumentation (WMI) operations.
Next, you’ll want a list of the programs installed on your computer. Getting this list is essential because you must provide an accurate product name to successfully execute the uninstall command.
Type the following command to get the list: product get name
Find the name of the program you want to uninstall from the list. You can uninstall the program by running this command: product where name=”program name” call uninstall
Just replace program name with the name of the program you want to install. For example, if we want to uninstall the Skype Meetings App, we would type this command:
product where name="Skype Meetings App" call uninstall
You’ll then be asked to confirm if you really want to execute the command. Type Y to confirm, and then press Enter. Type N to cancel the operation.
After a few moments, you’ll receive a message telling you the method was successfully executed.
The application has now been uninstalled from your computer.
Leave A Comment?