Nice work.
It prompted me search again and found list below.

http://www.74k.org/java-uninstall-remove-guids-strings


From: [email protected] [mailto:[email protected]] On 
Behalf Of Johns, Damon (DoJ)
Sent: Tuesday, February 24, 2015 8:36 PM
To: [email protected]
Subject: RE: [mssms] RE: java uninstall with wmic

Hi Guys,

I’m using this process:

http://blogs.technet.com/b/jchalfant/archive/2014/05/13/uninstalling-all-previous-versions-of-java-runtime-environment-using-application-supersedence-in-configuration-manager.aspx

works really well. I’ve added a kill process into the uninstall.vbs script so 
any instances of IE, Chrome, Firefox and Java are closed prior to the new 
version being installed.

You just have to modify the text file to include java 7 and 8 – or whatever you 
like I guess.

Cheers
Damon

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Jason Sandys
Sent: Wednesday, 25 February 2015 12:26 PM
To: [email protected]<mailto:[email protected]>
Subject: Re: [mssms] RE: java uninstall with wmic


​Then use another method like the many listed when you go to the Bing search I 
posted below or the others that folks have started attaching to this thread. Or 
actually download the scripts and analyze them to see how Darwin solved the 
problem and how they can be used to perform the uninstall. Just because the 
word "uninstall" doesn't appear in the article doesn't mean it's not supported. 
Don't get stuck on single solution particularly if that solution has many bad 
side effects. Be creative and do some additional research.



J

________________________________
From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> on 
behalf of Jason Sandys <[email protected]<mailto:[email protected]>>
Sent: Tuesday, February 24, 2015 3:23 PM
To: [email protected]<mailto:[email protected]>
Subject: RE: [mssms] RE: java uninstall with wmic

It talks about a replacement for Win32_product which is the root of the problem 
I pointed out.

J

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Ryan
Sent: Tuesday, February 24, 2015 2:57 PM
To: [email protected]<mailto:[email protected]>
Subject: Re: [mssms] RE: java uninstall with wmic

The second link doesn't say anything about uninstalling...

On Tue, Feb 24, 2015 at 2:52 PM, Jason Sandys 
<[email protected]<mailto:[email protected]>> wrote:
See the second link. CSI Windows provides a better alternative.

Or how about Secunia? They’ll do it also. Or collect all of the possible 
uninstall strings and put them into a script. There are many options. I think a 
few folks have even posted scripts to this list that may be found online with 
some searching: 
http://www.bing.com/search?q=uninstall+all+java+versions+script&src=IE-TopResult&FORM=IETR02&conversationid=

J

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]<mailto:[email protected]>] 
On Behalf Of Mike Vrabel
Sent: Tuesday, February 24, 2015 2:46 PM
To: [email protected]<mailto:[email protected]>
Subject: RE: [mssms] RE: java uninstall with wmic

Then recommend another option
DOH!!!

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Jason Sandys
Sent: Tuesday, February 24, 2015 1:19 PM
To: [email protected]<mailto:[email protected]>
Subject: [mssms] RE: java uninstall with wmic

Don’t use Win32_Product, it has terrible side effects:


-          
http://myitforum.com/cs2/blogs/gramsey/archive/2011/01/25/win32-product-is-evil.aspx

-          http://csi-windows.com/toolkit/win32product-replacement

J

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Timothy Ransom
Sent: Tuesday, February 24, 2015 1:43 PM
To: [email protected]<mailto:[email protected]>
Subject: [mssms] java uninstall with wmic

Hi,

I finally have ok to upgrade a group of 2k PCs to latest Java but many have 
multiple versions.

Has anyone used wmic from ConfigMgr to uninstall Java?

No issues using this command locally to remove multiple versions.
wmic product where “name like ‘Java%'” call uninstall

Thanks,
Tim

**********************************************************************************************
GDOL CONFIDENTIALITY NOTICE: This transmission may contain confidential 
information protected by state or federal law. The information is intended only 
for use consistent with the state business discussed in this transmission. If 
you are not the intended recipient, you are hereby notified that any 
disclosure, copying, distribution, or the taking of any action based on the 
contents is strictly prohibited. If you have received this transmission in 
error, please delete this email and notify the sender immediately. Your 
cooperation is appreciated.
**********************************************************************************************










________________________________

CONFIDENTIALITY NOTICE AND DISCLAIMER
The information in this transmission may be confidential and/or protected by 
legal professional privilege, and is intended only for the person or persons to 
whom it is addressed. If you are not such a person, you are warned that any 
disclosure, copying or dissemination of the information is unauthorised. If you 
have received the transmission in error, please immediately contact this office 
by telephone, fax or email, to inform us of the error and to enable 
arrangements to be made for the destruction of the transmission, or its return 
at our cost. No liability is accepted for any unauthorised use of the 
information contained in this transmission.

**********************************************************************************************
GDOL CONFIDENTIALITY NOTICE: This transmission may contain confidential 
information protected by state or federal law.  The information is intended 
only for use consistent with the state business discussed in this transmission. 
 If you are not the intended recipient, you are hereby notified that any 
disclosure, copying, distribution, or the taking of any action based on the 
contents is strictly prohibited.  If you have received this transmission in 
error, please delete this email and notify the sender immediately.  Your 
cooperation is appreciated.
**********************************************************************************************

Reply via email to