Author Topic: An error occurred while publishing an update to WSUS: CreateDirectory failed  (Read 1857 times)

Offline Justin Chalfant

  • Patch My PC Support
  • Administrator
  • Hero Member
  • *****
  • Posts: 2104
    • View Profile
    • Patch My PC Support
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.