Submit a ticketCall us

Webinar: Web Help Desk for HR, Facilities and Accounting Departments
This webinar will focus on use cases for HR, Facilities and Accounting.

Having a unified ticketing and asset management system for all the departments in your company can provide end-users with a seamless experience and make things easier for your IT team. Yet, with different business tasks and objectives, many departments don’t fully understand the capabilities of Web Help Desk and how the software can be customized for effective use in their departments.
Register Now.

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
09:18, 24 May 2017