Submit a ticketCall us

Solarwinds & Cisco Live! Barcelona
Join us from the 29th of January to the 2nd of February at Cisco Live 2018 in Barcelona, where we will continue to show how monitoring the network with SolarWinds will keep you ahead of the game. At our booth (WEP 1A), we will demonstrate how SolarWinds network solutions can help. As a bonus, we are also hosting a pre-event webinar - Blame the Network, Hybrid IT Edition with our SolarWinds Head Geek™, Patrick Hubbard on January 24th - GMT (UTC+0): 10:00 a.m. to 11:00 a.m. There's still time to RSVP.

Home > Success Center > Patch Manager > CreateDirectory Failed error when publishing updates to WSUS

CreateDirectory Failed error when publishing updates to WSUS

Updated March 11th, 2016


The following error message appears when trying to publish packages:
Package: yourPackage
Status: Failure
Message: Failed to publish yourPackage. CreateDirectory failed


  • All Patch Manager versions
  • All WSUS versions


This issue can occur if you move or recreate the UpdateServicesPackages and WSUSContent folders after installing Patch Manager, or explicitly remove the share:

  • The permissions on the UpdateServicesPackages and WSUSContent folders are not set correctly.
  • The UpdateServicesPackages and WSUSContent folders are not shared at all.


On your WSUS servers, the WSUSContent and UpdateServicesPackage. There is no default location for this folder. Tyically it is C:\WSUS or D:\WSUS but is manually specified when the wsus server is setup.


1. Set the security permissions for WSUSContent and UpdateServicesPackages as follows:

  • NT AUTHORITY\SYSTEM - Full Control
  • NT AUTHORITY\NETWORK SERVICE - Write, Read, Synchronize
  • Builtin\administrators - Full Control
  • Hostname\Wsus Administrators - FullControl


2. Set the share permissions for WSUSContent and UpdateServicesPackages as follows:

  • Builtin\Administrators - Full
  • Everyone - Read
  • NT Authority\Network Service - Full
  • Hostname\WSUS Administrators - Full


Optional: Use the following PowerShell command to get read all the permissions at the same time.

You must run this command on the WSUS server.

Get-SmbShareAccess -Name UpdateServicesPackages|ft; Get-SmbShareAccess -Name WsusContent|ft;$acl=Get-Acl "\\localhost\WsusContent";$acl|ft AccessToString -Wrap; $acl2=Get-Acl "\\localhost\UpdateServicesPackages";$acl |ft AccessToString -Wrap



Reason for Rework or Feedback from Technical Content Review: 



Last modified