Pages

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

13 comments:

Darwin 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

Anonymous said...

I ran into this same issue with KB3199093 on my 2 edge servers.
I tried Terence's trick of rerunning the deployment tool on one box, but that failed, complaining about disk space. The issue is that the database operations wanted 32gig free, even though we'll never need it...
bumped the VM up, reran the deploy to make sure things weren't in a weird place, then applied the patch on that box, and it was fine.

On the second box, I just bumped the space, and the patch applied cleanly.

Anonymous said...

I had a similar error, but for me the issue was that the PS module for SFB was not in the PSmodulePath Environment variable

used the process detailed here to add it to the system variable path https://msdn.microsoft.com/en-us/library/dd878326(v=vs.85).aspx

Anonymous said...

I had the same problem. The reason turned out to be lack of disk space on the edge server. The patch install gave a cryptic error message (server.msp) but the Skype setup wizard pointed me in the right direction. Seems that there is some formula relative to the size of the local Skype DB.

Unknown said...

Thanks Terence, your solution to re run the deployment wizard helped me with the latest January 2019 CU update on 1x of my Enterprise Frontend servers which updated all the components, except update for Skype for Business (same errors and logs as yours)

Anonymous said...

Hello,

I had the same error, but Remote Registy was started.
I solved the issue extending disk because SQL needs 32Gb of free diskspace.
After have extended the disk the update was applied successful

Regards
Andy L.

Anonymous said...

+1 to the 32GB free space solution (y).

DGoossens said...

If you installed your DB on another drive, and your system drive is below 32GB, this should work :



Here's what you need to do when you have you databases on an alternative drive and your OS drive doesn't have 32GB:

Find the correct path to the CsData folder

Run the CU installer utility (it will fail at server.msp)

Open PowerShell as an admin on the front end you are trying to install the CU on, run the command Install-CsDatabase -LocalDatabases -DatabasePaths -Update

Re-run the CU installer, server.msp should install now



reference https://www.reddit.com/r/skype4b/comments/4cfjt2/installcsdatabase_failing_during_s4b_cumulative/

Navin said...


"Unable to complete installing Skype for Business Server 2019"

Error Message from Server.msp----------------------------
RegisterPerfmon: Converting DLL path to short format: C:\Program Files\Skype for Business Server 2019\Server\Core\McuFactoryPerf.ini
RegisterPerfmon: RegisterPerfmon running command: 'lodctr "C:\PROGRA~1\SKYPEF~1\Server\Core\MCUFAC~1.INI"'
RegisterPerfmon: Entering RegisterPerfmon in C:\Windows\Installer\MSIBAF3.tmp, version 3.10.2516.0
RegisterPerfmon: Converting DLL path to short format: C:\Program Files\Skype for Business Server 2019\Server\Core\DataCollectionPerf.ini
RegisterPerfmon: RegisterPerfmon running command: 'lodctr "C:\PROGRA~1\SKYPEF~1\Server\Core\DATACO~1.INI"'
RegisterPerfmon: Entering RegisterPerfmon in C:\Windows\Installer\MSIBBCF.tmp, version 3.10.2516.0
RegisterPerfmon: Converting DLL path to short format: C:\Program Files\Skype for Business Server 2019\Server\Core\SLAPerf.ini
RegisterPerfmon: RegisterPerfmon running command: 'lodctr "C:\PROGRA~1\SKYPEF~1\Server\Core\SLAPerf.ini"'
RegisterPerfmon: Entering RegisterPerfmon in C:\Windows\Installer\MSIBC6C.tmp, version 3.10.2516.0
RegisterPerfmon: Converting DLL path to short format: C:\Program Files\Skype for Business Server 2019\Server\Core\BusyOptionsPerf.ini
RegisterPerfmon: RegisterPerfmon running command: 'lodctr "C:\PROGRA~1\SKYPEF~1\Server\Core\BUSYOP~1.INI"'
RegisterPerfmon: Entering RegisterPerfmon in C:\Windows\Installer\MSIBD09.tmp, version 3.10.2516.0
RegisterPerfmon: Converting DLL path to short format: C:\Program Files\Skype for Business Server 2019\Server\Health Agent\RtcHealthAgentPerf.ini
RegisterPerfmon: RegisterPerfmon running command: 'lodctr "C:\PROGRA~1\SKYPEF~1\Server\HEALTH~1\RTCHEA~1.INI"'
CustomAction CA_ExtendExpirationTimer returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
-------------------- End Error Message from Server.msp -----------------------
failure code 1603
Error returned while installing Server.msi, code 1603. Error Message: A fatal error occurred during installation. For more details please consult log at C:\Users\Administrator.LYNC\AppData\Local\Temp\ApplyPatch-Server.msp-[2018_05_31][12_19_50].log or contact support.


could you help me to sort out this issue?

Thank you


Dave R said...

Navin,
Did you resolve your issue with the 2019 install as i am getting the same error installing a standard edition SFB2019 front end on windows Server 2019

Dave R said...

Navin,
Did you find an answer for your Skype For Business 2019 error as i am gettinhg exactly the same error