An error occurred while publishing an update to WSUS: CreateDirectory failed

In this video guide, we will cover an error you may encounter when trying to publish third-party software updates to WSUS.

Error Overview and Symptoms

This 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

Resolution

The video guide goes into more details about why the updates fail to publish to WSUS with error “CreateDirectory failed” and the possible resolutions.

If this resolution doesn’t work for you, please use our technical support form here https://patchmypc.com/technical-support