SfB Server 2015: Cannot install Cumulative Update – Failed to create network share. (-2147467259 xds-replica)

In a recent support case we couldn’t install the Skype for Business Server 2015 Cumulative Update on a Edge Server:

We checked the Skype for Business Core Components log file (OcsCore.msp-EDGESTD-[2017-03-21][15-30-48]_log.txt) located in %TEMP%:

The log showed that the Setup was aborted because it couldn’t create a file share:

CreateSmb: Error 0x80004005: failed to create share: ‘xds-replica’
MSI (s) (78!14) [15:32:19:981]: Product: Skype for Business Server 2015, Core Components — Error 26301. Failed to create network share. (-2147467259 xds-replica)

MSI (s) (78!14) [15:32:19:981]: Closing MSIHANDLE (193) of type 790531 for thread 3860
Error 26301. Failed to create network share. (-2147467259 xds-replica)

After checking the services running on the server we notice that Server Service (LanmanServer) was disabled:

Then we enable and started the service:

With Server Service running we were able to install the Skype for Business Cumulative Update:

Please note that if we try to repair the Skype for Business Server 2015 Core Components when the Server Service is disable we also get the following errors:

Failed to create network share. (-2147467259 xds-replica)

Failed to drop network share. (-2147022782 xds-replica)