An error occurred while publishing an update to WSUS: CreateDirectory failedIn this video guide, we will cover an error you may encounter when trying to publish third-party software updates to WSUS.
Error Overview and SymptomsThis exception happens when the WSUS ÔÇ£UpdateServicesPackagesÔÇØ folder doesnÔÇÖt exist, isnÔÇÖt shared correctly, or has incorrect permissions.
In PatchMyPC.log you will see the following:
SyncUpdate: Exception Message: CreateDirectory failed

An error occurred while publishing an update to WSUS CreateDirectory failed
In SMS_ISVUPDATES_SYNCAGENT.log you will see the following:
SyncUpdate: An exception occurred during publishing to WSUS
SyncUpdate: Exception HRESULT: -2147467259
SyncUpdate: Exception Message: CreateDirectory failed

SyncUpdate An exception occurred during publishing to WSUS SyncUpdate Exception Message CreateDirectory failed
In UpdatesPublisher.log or SCUP.log you will see the following:
Exception occurred during publishing
Exception HRESULT: -2147467259
Exception Message: CreateDirectory failed
Exception HRESUL -2147467259 Exception Message CreateDirectory failed
ResolutionThe video guide goes into more details about why the updates fail to publish to WSUS with error ÔÇ£CreateDirectory failedÔÇØ and the possible resolutions.