WSUS installations have never been kind enough to me in my career as SCCM admin! Every time I get stuck in WSUS installation and this time it was not any different. The installation of WSUS was not happening on newly installed Server 2008 R2. WUSU installation got failed with event ID 11722. The details of event ID 11722 are given below, but it was not giving any clear indication of the issue.
Product: Windows Server Update Services 3.0 SP2 — Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action PERF_COUNTER_INST, location: C:\Program Files\Update Services\Setup\HideConsoleApp.exe, command: C:\Windows\Microsoft.NET\Framework64\v4.6.1086\InstallUtil.exe /LogFile=”C:\Users\ANOOP~1.NAI\AppData\Local\Temp\2\WSUSCa_170117_1039.log” /ShowCallStack /WsusInstall /CategoryMessageFile=”C:\Program Files\Update Services\Common\EventCategories.dll ” “C:\Program Files\Update Services\Setup\bin\Microsoft.UpdateServices.Setup.CustomActions.dll “
In the event log, we can see that the MSI installation of WSUS got failed. The MSI installation got failed when it was trying to perform a MSI custom action called PERF_COUNTER_INST. It couldn’t complete this action hence it got failed. I checked the MSI log file called WSUSCa_170117_1039.log to get more details about the error but there was nothing much expect from the error in the event log above. Rather the error was bit more confusing. After some google search, I tried to reset the Performance counter but that didn’t help either. But what is the point in resetting the perm counter of newly installed server 🙂
MSI (s) (F8:9C) [10:23:27:201]: Executing op: CustomActionSchedule(Action=PERF_COUNTER_CLEAN,ActionType=5202,Source=C:\Program Files\Update Services\Setup\HideConsoleApp.exe,Target=SupressError C:\Windows\Microsoft.NET\Framework64\v4.6.1086\InstallUtil.exe /u /LogFile=”” /WsusInstall “C:\Program Files\Update Services\Setup\bin\Microsoft.UpdateServices.Setup.CustomActions.dll “,)
OK, so as next step, I checked the .NET Framework folder path which is appearing in the log file. Folder path is “C:\Windows\Microsoft.NET\Framework64\v4.6.1086\” and this is the place where WSUS MSI custom action suppose to happen. But the MSI couldn’t complete this custom action because of some issue. When I checked, there was no folder called “v4.6.1086” in that path. Then I checked the .Net versions installed on the server and I found that .Net Framework 4.6.1 is installed. Yes, .Net framework 4.6.1 is installed but there is no folder “v4.6.1086” created for .NET.
I uninstalled the .NET Framework 4.6.1 and that resolved the issue. The WSUS got installed successfully on the server without any issues.