![uninstall mozypro by command line silently uninstall mozypro by command line silently](https://miro.medium.com/max/917/1*wj9URCjVJHos22kbgu7wig.png)
If you have PowerShell 3 (or higher) installed, you can issue a WMI call to get all programs named a certain thing (or 'like' a certain thing, to do wildcard searches), and then call the Uninstall method for each of them: You may want to experiment with using VBscript or PowerShell, as they have better options for getting data from the registry into a variable. You can use the reg command to get data from the registry, but it returns a lot of text around the actual value of a given key, making it hard to use. It gets tricky when you try to automate that process though. If you already know ahead of time what you will be uninstalling, it should be easy enough to just put that in your batch file. This contains the command to execute to uninstall the program. Within that key will be an entry called UninstallString. Usually, the key for the program will be its GUID, or else the name of the program. There's also reference documentation for WMIC on .Įvery program that properly installs itself according to Microsoft's guidelines makes a registry entry in HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall.
![uninstall mozypro by command line silently uninstall mozypro by command line silently](https://i.ytimg.com/vi/w8UytVXuj-g/maxresdefault.jpg)
Then you can use wmic product where name="_my_product_name" call uninstall It probably matches the one listed in the "Programs and Features" control panel, but not always. i dont see how it would be running anyways as its nothing more then a help file. nothing is referring to winzip or that file that is out of the ordinary nor anything running that would prevent that file from running. To see a list of the names of the programs as known internally by Windows: wmic product get name File activity is showing nothing more than winzip going through the process of trying to remove itself.
![uninstall mozypro by command line silently uninstall mozypro by command line silently](https://i.ytimg.com/vi/Zqm3K-tidl4/maxresdefault.jpg)
You can invoke the correct uninstaller without knowing the GUID, etc.