Submit a ticketCall us

Training ClassThe Orion® Platform Instructor-led Classes

Provided by SolarWinds® Academy, these trainings will introduce users to the Orion Platform and its features, management, and navigation. These courses are suitable for users looking to discover new tips, tricks, and ways to adapt their Orion products to better suit their monitoring needs:
Deploying the Orion Platform
Configuring Orion views, maps, and accounts
Configuring Orion alerts and reports

Reserve your seat.

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

CreateDirectory Failed error when publishing updates to WSUS

Updated September 6, 2018

Overview

The following error message appears when trying to publish packages:

Package: yourPackage
Status: Failure
Message: Failed to publish yourPackage. CreateDirectory failed

Environment

  • All Patch Manager versions
  • All WSUS versions

Cause

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.

Resolution

On your WSUS servers, the WSUSContent and UpdateServicesPackage folders do not have a default location. Typically, it is C:\WSUS or D:\WSUS but is manually specified when the WSUS server is set up.

 

  1. Set the security permissions for WSUSContent and UpdateServicesPackages as follows:
    Setting Permission
    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:
    Setting Permission
    Builtin\Administrators Full
    Everyone Read
    NT Authority\Network Service Full
    Hostname\WSUS Administrators Full
  3. (Optional) Run the following PowerShell command on the WSUS server to read all the permissions at the same time.
    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

Tags

Classifications

Public