2

Closed

Windows 10 - Approval For Uninstallation does not work

description

Hi,

I set the 'Approval' of an update (Java 8 MSI Update) to 'Approval For Uninstallation', which was installed with WSUS before.
On Win7 workstations the uninstallation do work, but on Win10 workstations the update does not appear at all.

Any idea?

file attachments

Closed Jan 28 at 6:26 AM by DCourtel
I have noticed the problem, but it seems to be a bug (or an «unwanted functionality» :-) ) in Windows 10. Microsoft has really tampered with wua in Windows 10.

comments

Marco32 wrote Nov 10, 2015 at 5:45 AM

Same Problem here; Windows 7 and Windows 8.1 uninstall works, Windows 10 does not even Show the Update to uninstall....

DCourtel wrote Nov 10, 2015 at 7:14 PM

Does these Windows 10 clients installs other locally-published updates ?
Do you see any usefull informations in Windows Event log ?

Marco32 wrote Nov 11, 2015 at 6:55 AM

Installation of all other updates (WPP or WSUS) works. There are only 2 Windows 10 Machines at now, so i uninstalled the update (Java 8 update 60) manually.

I will test uninstallation with a test machine in the next days and see if there will be any hints in Windows log.

codeplex4ifsam wrote Nov 13, 2015 at 12:07 PM

Yes, the Windows 10 clients installs other locally-published updates

codeplex4ifsam wrote Nov 20, 2015 at 2:31 PM

I checked the Report of the computer in Wsus Package Publisher and it shows the uninstall update as "Not Installed", but it is.

Spyder2005 wrote Dec 2, 2015 at 12:05 PM

Same here. Is there any workaround or bugfix for that?

Kaethe wrote Jan 22, 2016 at 3:54 PM

Same Problem here too. Windows 10 is not working with de-installations.

scuba_alg wrote Apr 4, 2016 at 10:28 AM

Same problem here too. Windows 10 is not working with unistallations.
I hava also tried a to apply custom update to uninstall Java but I get a 0x80070005 (access denied) Windows Update Error.

codeplex4ifsam wrote May 31, 2016 at 3:52 PM

Any news on this issue?

sjutter wrote May 31, 2016 at 7:33 PM

I have created a Custom update to uninstall all old version of java and then install the new version.
I test for both 32 & 64 bit OS's

The first text file I need is "Version 8u91.txt" and is as follows
Version=8.0.910.14
Name=Java 8 Update 91
FName=jre-8u91-windows
The next 2 files needed are "Install-x64.bat" and "install-x86.bat"

Install-x64 is as follows:
@echo off
setlocal ENABLEDELAYEDEXPANSION
rem -------------------------------------------------------
rem Here we get the version of the program being installed 
rem -------------------------------------------------------
set Version=
Set Name=
Set FName=
set Version.File=
for /f "skip=5 tokens=4* delims= " %%u in ('dir Version*.txt') do if not defined Version.File set Version.File=%%v
for /f "usebackq tokens=1-2 delims==" %%a in ("%Version.File%") Do (
    Set %%a=%%b
)
rem -------------------------------------------------------
rem Uninstall any old version 1st
rem -------------------------------------------------------
for /f "skip=3 tokens=1-2*" %%a in ('powershell "get-wmiobject -class win32_product -filter \"Name like ^'Java _ Update %%^'\" | Where {$_.Version -NotMatch \"%Version%\"} | Select IdentifyingNumber, Version, Name | Format-Table -auto"') do (
    MsiExec.exe /X%%a /passive /norestart
)
rem ----------------------------------------
rem  Program installation process goes here 
rem ----------------------------------------
%FName%-x64.exe /s
Install-x86 is as follows:
@echo off
setlocal ENABLEDELAYEDEXPANSION
rem -------------------------------------------------------
rem Here we get the version of the program being installed 
rem -------------------------------------------------------
set Version=
Set Name=
Set FName=
set Version.File=
for /f "skip=5 tokens=4* delims= " %%u in ('dir Version*.txt') do if not defined Version.File set Version.File=%%v
for /f "usebackq tokens=1-2 delims==" %%a in ("%Version.File%") Do (
    Set %%a=%%b
)
rem -------------------------------------------------------
rem Uninstall any old version 1st
rem -------------------------------------------------------
for /f "skip=3 tokens=1-2*" %%a in ('powershell "get-wmiobject -class win32_product -filter \"Name like ^'Java _ Update %%^'\" | Where {$_.Version -NotMatch \"%Version%\"} | Select IdentifyingNumber, Version, Name | Format-Table -auto"') do (
    MsiExec.exe /X%%a /passive /norestart
)
rem ----------------------------------------
rem  Program installation process goes here 
rem ----------------------------------------
%FName%-i586.exe /s
Just create a custom update for each x64 and x86 version and include:
for x64
 Install-x64.bat
 jre-8u91-windows-x64.exe
 Version 8u91.txt
for x86
 Install-x86.bat
 jre-8u91-windows-i586.exe
 Version 8u91.txt

codeplex4ifsam wrote Jun 1, 2016 at 7:47 AM

Thanks for your input sjutter, but the issue is not about uninstalling an update.
The issue is about that updates with 'Approval For Uninstallation' does not appear at all in Win10.

Is it maybe an issue with WSUS3 and WSUS4 or Server2008 and Server2012?
We are running Server 2008R2 with WSUS 3.2.

codeplex4ifsam wrote Jun 1, 2016 at 7:59 AM

... and it happens with every update not just with JAVA.

WinfriedSonntag wrote Jun 1, 2016 at 9:19 AM

I think it happen with your WSUS. For W10 the best is to have a WSUS on W2012 or higher.

What is the Build from your WSUS? http://www.wsus.de/de/FAQ > No. 44: http://www.wsus.de/images/wsus-version.png Here find the place where you can read the Build from your WSUS. If you are lower then .274 you have to update to .274.

Marco32 wrote Jun 1, 2016 at 9:46 AM

I update Java with Custom Update and Uninstall2Install, this way works. But Uninstall of Updates in WSUS is broken for Windows10.
Our WSUS runs on W2012, so i don't think the problem is the WSUS... Windows10 is a bucket of Problems in Business use, and this just seems to be another problem...

codeplex4ifsam wrote Jun 1, 2016 at 11:17 AM

My WSUS is on .274

sjutter wrote Jun 1, 2016 at 1:31 PM

I also run WSUS 6.3.9600.174477 on Server 2012 R2.

I understand that the uninstall function is not working for Windows 10, that is why I wrote the script to uninstall JAVA as it will not automatically uninstall old version)

codeplex4ifsam wrote Jun 1, 2016 at 3:25 PM

So, is it a general Win10 problem or a WPP problem?

WinfriedSonntag wrote Jun 1, 2016 at 3:41 PM

IMHO it is a W10 Problem. Did you try to approve for untinstall a legal Microsoft Update in WSUS? Will this work?

codeplex4ifsam wrote Jun 10, 2016 at 1:50 PM

No, it does not.
It seems that Win10 does not support uninstall anymore, but I could not find any information about it in the web.

Could somone try this with the new WSUS version and server 2012 R2?

codeplex4ifsam wrote Jun 10, 2016 at 1:54 PM

especially with WSUS Version 4

codeplex4ifsam wrote Aug 31, 2016 at 6:52 AM

We upgraded in the meantime to Server 2012 R2 with the latest WSUS.
The issue is still present, but it seems not a problem with WPP, because MS updates from the WSUS console will be also not uninstalled.
It seems to be a Win10 problem.

I found a discussion about that here
https://social.technet.microsoft.com/Forums/windowsserver/en-US/a27f69f2-870b-46ec-8b57-27604697497f/monthly-windows-10-cumulative-update-approved-for-removal-does-not-uninstall-update-nothing?forum=winserverwsus

tomkod wrote Jan 19 at 2:07 PM

Hi,

Is there any update regarding this issue since last input here? I'm facing now the same problem with Windows 10 and WPP "Approved for uninstallation" which is not working.

WSUS server runs on WIndows 2012.

I know that there are some workarounds but its not the issue.

codeplex4ifsam wrote Jan 25 at 5:44 AM

Not from my side. It is curious that this problem is not more known.

DCourtel wrote Feb 20 at 9:40 AM

Hi, the issue was confirmed by a Microsoft affilied people. See this link : Technet Forum

codeplex4ifsam wrote Apr 11 at 12:39 PM

Hi,
I tested it with Win10 Creators Update and the uninstallation does work again!
But the status while uninstalling says "installing..." and in the "Update History" the update is mentioned as installed instead of uninstalled.