Hi there,

I would like to know if it is possible and how to use WMIC  with KACE 6.3 ?

For further information, i would like to use this command on some computer: wmic.exe product where "name like ‘Java%%'" call uninstall /nointeractive

The line looks like: Launch "SYS\cmd.exe" using parameters wmic.exe product where "name like ‘Java%%'" call uninstall /nointeractive

This will uninstall every version of Java installed on the target computer.
Also, this command run fine with an admin command without using KACE.

Answer Summary:
1 Comment   [ + ] Show Comment


  • Please remove your duplicate post on this topic.
Please log in to comment

Answer Chosen by the Author

this is from http://www.itninja.com/question/script-work-on-some-pc-but-not-others

I have switched to using wmic to uninstall old java in my search and destroy java script.
Just make sure to check "wait for completion" for each step.

/c wmic product where "name like 'Java 7 Update%%'" call uninstall /nointeractive

Answered 11/20/2015 by: SMal.tmcc
Red Belt

Please log in to comment


Most usefull, i forget to tell you that for now, using this command just pop a MS-DOS windows. Without anything in it except the path C:\Windows\System32>.
Answered 11/20/2015 by: Olendis
Orange Belt

Please log in to comment
Thank you SMal.tmcc ! 
That's work perfectly.
Answered 11/23/2015 by: Olendis
Orange Belt

  • can you mark this answered, thanks
Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja