Monday, February 8, 2016

Unable to complete installing Skype for Business Server 2015 KB3061064 update

Problem

You attempt to install the Skype for Business Server 2015 KB3061064 (https://support.microsoft.com/en-us/kb/3061064) but notice that the installation fails with:

Checking service status. This may take a couple minutes...

System.Management.Automation.CommandNotFoundException: The term 'Get-CsWindowsSe

rvice' is not recognized as the name of a cmdlet, function, script file, or oper

able program. Check the spelling of the name, or if a path was included, verify

that the path is correct and try again.

at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable inp

ut)

at SkypeServerUpdateInstaller.PowershellRunner.RunCmd(String script, ICollect

ion`1& errors)

at SkypeServerUpdateInstaller.PowershellRunner.RunScript(String scriptFileNam

e, ICollection`1& errors)

at SkypeServerUpdateInstaller.MachineStatusChecker.Check(String& errorMessage

)

KB3097644 for OcsCore.msp was already installed... Skipping

KB3097649 for UcmaRuntime.msp was already installed... Skipping

KB3097646 for Caa.msp was already installed... Skipping

KB3097708 for OCSMCU.msp was already installed... Skipping

Installing 5 of 1 Updates for [Skype for Business Server 2015 6.0.9319.102]

Installing KB3097645 for Server.msp

ERROR 1603: Server.msp had errors installing.

KB3097642 for WebComponents.msp was already installed... Skipping

KB3097647 for EnterpriseWebApp.msp was already installed... Skipping

SkypeForBusinessPerfCounters.msi was already installed... Skipping

rewrite_2.0_rtw_x64.msi was already installed... Skipping

image

There were errors during the installation process. For details, see the log file at C:\KB3061064\Skype_patchinstallerlog-<serverName>-[2016-02-06][12-35-56].txt

image

Reviewing the Skype for Business Server 2015 Update Installer window shows that all the components were successfully updated aside from the Update for Skype for Business Server 2015:

image

Opening and reviewing the log:

C:\KB3061064\Skype_patchinstallerlog-<serverName>-[2016-02-06][12-35-56].txt

… dsplays the following output:

2/6/2016 12:35:56 PM] Starting Skype for Business Server 2015 Cumulative Update Installer, version 6.0.9319.102
[2/6/2016 12:35:56 PM] Checking service status. This may take a couple minutes...
[2/6/2016 12:35:57 PM] Exception: System.Management.Automation.CommandNotFoundException: The term 'Get-CsWindowsService' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
   at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
   at SkypeServerUpdateInstaller.PowershellRunner.RunCmd(String script, ICollection`1& errors)
   at SkypeServerUpdateInstaller.PowershellRunner.RunScript(String scriptFileName, ICollection`1& errors)
   at SkypeServerUpdateInstaller.MachineStatusChecker.Check(String& errorMessage)
[2/6/2016 12:35:57 PM] Embedded patch description: Update for Core Components
[2/6/2016 12:35:57 PM] Embedded patch OcsCore.msp is referred by KB #3097644
[2/6/2016 12:35:57 PM] Embedded patch OcsCore.msp can be researched at URL
http://support.microsoft.com/?kbid=3097644
[2/6/2016 12:35:57 PM] Embedded patch OcsCore.msp is at version 6.0.9319.102
[2/6/2016 12:35:57 PM] Product with GUID {A766C25B-A1D1-4711-A726-AC3E7CA4AAB3} is at version 6.0.9319.102 and is associated with patch OcsCore.msp which this installer has at version 6.0.9319.102
[2/6/2016 12:35:57 PM] OcsCore.msp, version 6.0.9319.102 is up-to-date on this server.
[2/6/2016 12:35:57 PM] Embedded patch description: Update for Core Runtime 64-bit
[2/6/2016 12:35:57 PM] Embedded patch UcmaRuntime.msp is referred by KB #3097649
[2/6/2016 12:35:57 PM] Embedded patch UcmaRuntime.msp can be researched at URL
http://support.microsoft.com/?kbid=3097649
[2/6/2016 12:35:57 PM] Embedded patch UcmaRuntime.msp is at version 6.0.9319.102
[2/6/2016 12:35:57 PM] Product with GUID {902F4F35-D5DC-4363-8671-D5EF0D26C21D} is at version 6.0.9319.102 and is associated with patch UcmaRuntime.msp which this installer has at version 6.0.9319.102
[2/6/2016 12:35:57 PM] UcmaRuntime.msp, version 6.0.9319.102 is up-to-date on this server.
[2/6/2016 12:35:57 PM] Embedded patch description: Update for Conferencing Attendant
[2/6/2016 12:35:57 PM] Embedded patch Caa.msp is referred by KB #3097646
[2/6/2016 12:35:57 PM] Embedded patch Caa.msp can be researched at URL
http://support.microsoft.com/?kbid=3097646
[2/6/2016 12:35:57 PM] Embedded patch Caa.msp is at version 6.0.9319.102
[2/6/2016 12:35:57 PM] Product with GUID {73472766-329F-4fd8-91AF-458E702498CF} is at version 6.0.9319.102 and is associated with patch Caa.msp which this installer has at version 6.0.9319.102
[2/6/2016 12:35:57 PM] Caa.msp, version 6.0.9319.102 is up-to-date on this server.
[2/6/2016 12:35:57 PM] Embedded patch description: Update for Conferencing Server
[2/6/2016 12:35:57 PM] Embedded patch OCSMCU.msp is referred by KB #3097708
[2/6/2016 12:35:57 PM] Embedded patch OCSMCU.msp can be researched at URL
http://support.microsoft.com/?kbid=3097708
[2/6/2016 12:35:57 PM] Embedded patch OCSMCU.msp is at version 6.0.9319.102
[2/6/2016 12:35:57 PM] Product with GUID {6184864A-8DCD-44DE-885D-B6C0AF668033} is at version 6.0.9319.102 and is associated with patch OCSMCU.msp which this installer has at version 6.0.9319.102
[2/6/2016 12:35:57 PM] OCSMCU.msp, version 6.0.9319.102 is up-to-date on this server.
[2/6/2016 12:35:57 PM] Embedded patch description: Update for Response Group Service
[2/6/2016 12:35:57 PM] Embedded patch RGS.msp is referred by KB #3097643
[2/6/2016 12:35:57 PM] Embedded patch RGS.msp can be researched at URL
http://support.microsoft.com/?kbid=3097643
[2/6/2016 12:35:57 PM] Embedded patch RGS.msp is at version 6.0.9319.102
[2/6/2016 12:35:57 PM] Product with GUID {11CFB169-07EA-489D-BF8C-D8D29525720E} is at version 0.0 and is associated with patch RGS.msp which this installer has at version 6.0.9319.102
[2/6/2016 12:35:57 PM] Product with GUID {11CFB169-07EA-489D-BF8C-D8D29525720E} is not installed on this server.
[2/6/2016 12:35:57 PM] Embedded patch description: Update for Skype for Business Server 2015
[2/6/2016 12:35:57 PM] Embedded patch Server.msp is referred by KB #3097645
[2/6/2016 12:35:57 PM] Embedded patch Server.msp can be researched at URL
http://support.microsoft.com/?kbid=3097645
[2/6/2016 12:35:57 PM] Embedded patch Server.msp is at version 6.0.9319.102
[2/6/2016 12:35:57 PM] Product with GUID {A593FD00-64F1-4288-A6F4-E699ED9DCA35} is at version 6.0.9319.0 and is associated with patch Server.msp which this installer has at version 6.0.9319.102
[2/6/2016 12:35:57 PM] Server.msp, version 6.0.9319.102 is NOT up-to-date on this server.
[2/6/2016 12:35:57 PM] Embedded patch description: Update for Web Components Server
[2/6/2016 12:35:57 PM] Embedded patch WebComponents.msp is referred by KB #3097642
[2/6/2016 12:35:57 PM] Embedded patch WebComponents.msp can be researched at URL
http://support.microsoft.com/?kbid=3097642
[2/6/2016 12:35:57 PM] Embedded patch WebComponents.msp is at version 6.0.9319.102
[2/6/2016 12:35:57 PM] Product with GUID {2A65AB9C-57AD-4EC6-BD4E-BD61A7C583B3} is at version 6.0.9319.102 and is associated with patch WebComponents.msp which this installer has at version 6.0.9319.102
[2/6/2016 12:35:57 PM] WebComponents.msp, version 6.0.9319.102 is up-to-date on this server.
[2/6/2016 12:35:57 PM] Embedded patch description: Update for Skype for Business Web Application
[2/6/2016 12:35:57 PM] Embedded patch EnterpriseWebApp.msp is referred by KB #3097647
[2/6/2016 12:35:57 PM] Embedded patch EnterpriseWebApp.msp can be researched at URL
http://support.microsoft.com/?kbid=3097647
[2/6/2016 12:35:57 PM] Embedded patch EnterpriseWebApp.msp is at version 6.0.9319.102
[2/6/2016 12:35:57 PM] Product with GUID {A185550F-9598-49B1-907A-E0BF5FBED77E} is at version 6.0.9319.102 and is associated with patch EnterpriseWebApp.msp which this installer has at version 6.0.9319.102
[2/6/2016 12:35:57 PM] EnterpriseWebApp.msp, version 6.0.9319.102 is up-to-date on this server.
[2/6/2016 12:35:57 PM] Product with GUID {3F699640-D097-457B-8229-0CE8F7B31DCB} is at version 6.0.9319.102 and is associated with patch SkypeForBusinessPerfCounters.msi which this installer has at version 6.0.9319.102
[2/6/2016 12:35:57 PM] SkypeForBusinessPerfCounters.msi, version 6.0.9319.102 is up-to-date on this server.
[2/6/2016 12:35:57 PM] Rewrite Module is at version 7.1.1952.0 and is associated with patch rewrite_2.0_rtw_x64.msi which this installer has at version 7.1.1952.0
[2/6/2016 12:35:57 PM] rewrite_2.0_rtw_x64.msi, version 7.1.1952.0 is up-to-date on this server.
[2/6/2016 12:35:59 PM] Beginning installation of selected binaries...
[2/6/2016 12:35:59 PM] Executing command: msiexec.exe  /update "C:\KB3061064\Server.msp" /passive /norestart /l*vx "C:\KB3061064\Server.msp-conBMLYNCSTD01-[2016-02-06][12-35-59]_log.txt"
[2/6/2016 12:36:12 PM] ERROR 1603: Server.msp had errors installing.
[2/6/2016 12:39:33 PM] ERROR: SkypeServerUpdateInstaller failed to successfully install all patches

image

Opening the LCSSetup_Commands in the %userprofile%\appdata\temp folder reveals the following:

--------------------------------------------------------------------------------------------

02/06/201612:36:08

powershell -noprofile -command " & Install-CsDatabase -Update -DatabaseType Registrar -Verbose "

--------------------------------------------------------------------------------------------

& : The term 'Install-CsDatabase' is not recognized as the name of a cmdlet,

function, script file, or operable program. Check the spelling of the name, or

if a path was included, verify that the path is correct and try again.

At line:1 char:4

+ & Install-CsDatabase -Update -DatabaseType Registrar -Verbose

+ ~~~~~~~~~~~~~~~~~~

+ CategoryInfo : ObjectNotFound: (Install-CsDatabase:String) [],

CommandNotFoundException

+ FullyQualifiedErrorId : CommandNotFoundException

image

Solution

I performed quite a few troubleshooting steps but was unable to get past the error and what finally worked for me was to rerun the Setup or Remove Skype for Business Server Components in the Skype for Business Server 2015 – Deployment Wizard console:

image

image

Then rerun the update installer:

image

3 comments:

D said...
This comment has been removed by the author.
Darwin said...

In my case a similar issue but i had the following in the logs:
ExecServiceConfig: Error 0x80070424: Failed to get service: RTCASMCU

And in fact in the topology i had not enabled conferencingserver for this pool,
validation of this server component seems to be failing in the patchinstaller

Anyway
The solution was to change the topology deploy the conferencing server and run step 2 as you said
After that the patch will sucesfully run for OcsMcu.msp

Best regards,

Anonymous said...

Hello, I have the same issue but with the KB3199093 when i traying to install skype for business Update,but the error for is:
“Windows Installer installed an update. Product Name: Skype for Business Server 2015, Front End Server. Product Version: 6.0.9319.272. Product Language: 1033. Manufacturer: Microsoft Corporation. Update Name: Skype for Business Server 2015 (KB3199093). Installation success or error status: 1603” in server.msp file
could you help me please?
Thank you