Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.9.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Can you uninstall software with ocsinventory ?

Hi, I need to know if it is possible to uninstall software through ocsinventory with the application deployment function

in Administrative console by (160 points)

7 Answers

0 votes
You can run a command on a machine. If you can uninstall the software via command line you can also uninstall it with OCS.
by (1.2k points)
0 votes
Could you help me with an example?
by (160 points)
0 votes
hy, you just have to launch a batch script which has the correct command to silently install or uninstall the program. The silent install / uninstall parameters are differnet for each program.

Juist search for silent installation + program name

Install Gimp

start /wait gimp-2.8.22-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-

uninstall Gimp

"C:\Program Files\GIMP 2\uninst\unins000.exe" /VERYSILENT

i normaly create a batch file  like install.cmd (which ist just a textfile with .cmd extension) with the complete install command.

by (20k points)
edited by
0 votes


You can also make a batch to remove appx with wmic command

@echo off
product where name="Software_Name" call uninstall /nointeractive
by (5.6k points)
0 votes

>>You can also make a batch to remove appx with wmic command

wmic is a very  good for removing many programms, but there is no way to guarantee that no restart is happening. So please be patient

some prgramms are not "seen" by wmic -you can check by executing the following command

wmic product get name,version

by (20k points)
0 votes

@Sokatra : you're absolutely right, thanks

by (5.6k points)
0 votes

hy, i want to recomend this amazing software, which solves the problem that wmic uninstalls tends to rebooting the system (for exampling Libreoffice)


The Solution to Uninstall Software En Masse

It isn't perfect, but you can unistall software without reboot.
Problem is that cpu-z or 7-zip ask for uninstall confirmation.
but i am sure this can be changed in the script.
cscript.exe Uninstall-Software.vbs /product:"Adobe Reader" /uninstall
Kind regards

by (20k points)
Powered by Question2Answer