
When prompted, input y to confirm that you wish to uninstall the application and press Return. Product where name="Adobe Reader 9" call uninstallĥ. You can use System Preferences or Terminal (command line) to remove a. Where application name is the name of the program you wish to uninstall (use the exact name provided by the previously generated list).įor example, if I were wanting to uninstall Adobe Reader 9, my command would look like this: To remove an MDM enrollment profile from a macOS computer, you have three options. At the prompt, execute the following command: This will generate a list of installed applications.Ĥ. Added /Columns command-line option, which allows you to set the columns to.
Remove applications in command line for mac windows#
Uninstalling apps on macOS Monterey still requires getting rid of leftovers, despite the fact that it's the latest and the most sophisticated system for Mac. Starting from version 1.30, you can also view and uninstall Windows Apps if. At the new prompt, execute the following command: Click the Empty button in the upper-right corner of the window. You will see a prompt that looks like this:ģ. This Tech-Recipe applies to Windows XP Professional, Windows Vista, Windows Server 2003 and Windows Server 2008.Ģ. Once you become familiar with the steps, it will be much faster than having to access the Add/Remove Programs applet in the Control Panel.

Example: code2caremac Desktop rm -r myDir.

By using the Windows Instrumentation command-line interface (WMIC), you can easily uninstall an application without having to use the GUI. As you can see the myDir directory is not deleted as it is not empty, in order to delete the directory with files and folders in it you can make use of rm command with -r parameter.
