Wmic product uninstall silent


















Spiceworks Help Desk. The help desk software for IT. Track users' IT needs, easily, and with only the features you need. Learn More ».

IT This person is a verified professional. And modify the following command's ProductName section. Hitting enter will begin the uninstallation process for the desired software.

The uninstallation will automatically run silently with no user interaction. For example Adobe Reader versions 7, 8, and 9 could be installed on machines in your organization.

Simply replace computername with the desired target computer. It is also possible to target multiple computers. Simply separate the computername strings with commas. For instance, this command line uninstalls multiple versions of Adobe Reader and it does it on a remote computer: Tip: Using WMIC in a batch file startup script This is probably the tip administrators will find the most useful.

The commands mentioned above target a single machine locally, a single remote machine, and a specified group of remote machines all entered manually. In a large environment you will not want to manually enter all the computernames.

WMIC can also be called from within a standard batch file. If using WMIC in a batch file you will want to use the local commands since each machine will be running the batch file individually. To have WMIC successfully uninstall a product, you can set the script as a computer startup script. Active 2 years, 1 month ago. Viewed 16k times. Compo It prompts you, asking if you are sure you want to uninstall "X" program. You can either enter Y or N.

Entering Y worked normally. And when you enter Y , does the script continue. If not what is the next line you are expecting should run, because you didn't include it in your snippet, despite it being relevant to your question? Tough it should not ask you shuch a thing.

Show 3 more comments. Active Oldest Votes. Compo Compo To see a list of the names of the programs as known internally by Windows: wmic product get name Look for your product name.

Peter Mortensen Be sure that you use "" around the name or you will run into the "Invalid Global Switch" error. Great answer, but small caveat is that WMIC can take a fair amount of time to execute a command. Listing products took about 3 minutes on my PC. Duly noted, SmacL. I have only had occasion to use this a few times, and depending on what's on your system I can believe it would take a while.

Stephen Jennings Stephen Jennings Steve Steve 2, 15 15 gold badges 62 62 silver badges bronze badges. Marcus Zheng Marcus Zheng 71 1 1 silver badge 2 2 bronze badges. A VBScript script will help you to uninstall the require program. To use this script you will require software name which is located in your registry. So in that case you will have to find another way to uninstall the application.

Vino Vino 4 4 bronze badges. Sign up or log in Sign up using Google.



0コメント

  • 1000 / 1000