We use the PowerShell App Deployment Toolkit. We first uninstall any old versions of JRE, then install the latest.
Mike From: [email protected] [mailto:[email protected]] On Behalf Of Erik Wold Sent: Tuesday, February 24, 2015 2:09 PM To: [email protected] Subject: RE: [mssms] RE: java uninstall with wmic I use a task sequence that first kills any open browsers (send this out after working hours and with a message to users when the TS starts), uninstalls old java versions then install the latest version. Works Ok for me. Mvh Erik From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Ryan Sent: 24. februar 2015 22:28 To: [email protected]<mailto:[email protected]> Subject: Re: [mssms] RE: java uninstall with wmic It doesn't replace the uninstall method though. On Tue, Feb 24, 2015 at 3:23 PM, Jason Sandys <[email protected]<mailto:[email protected]>> wrote: 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]<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. **********************************************************************************************

