Submit a ticketCall us

Don’t fall victim to a ransomware attack
Backups are helpful, but sometimes that’s not enough to protect your business against ransomware. At our live webcast we will discuss how to protect against ransomware attacks with SolarWinds® Patch Manager and how to leverage log data to detect ransomware. Register now for our live webcast.

Home > Success Center > Patch Manager > Cannot publish to WSUS server

Cannot publish to WSUS server

Created by Brandon Painter, last modified by MindTouch on Jun 23, 2016

Views: 140 Votes: 1 Revisions: 5



You get the following error when you try to publish a package to your WSUS server.

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


Or if you cannot publish for any other reason, the following steps will verify everything is setup correctly to Publish.


  • All Patch Manager versions
  • WSUS


There are issues with the WSUS configuration.

The following can occur if you move or recreate the following folders after installing PAtch Manager



or explicitly remove the share:

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


Correct the share and security permissions on the \\WSUSServer\UpdateServicesPackages and \\WSUSServer\WSUSContent folders. The share is required for Patch Manager to publish files locally to the WSUS server.

To correct the permissions on the UpdateServicesPackages and WSUSContent folder:

  1. Locate the UpdateServicesPackages and WSUSContent folders on your WSUS server.
  2. Ensure the SYSTEM account owns the folder.
  3. Ensure the folder is shared with the following share permissions:
    • Full Control: Administrators, NETWORK SERVICE, WSUS Administrators
    • Read: Everyone
  4. Ensure the folder has the following security permissions:
    • Full Control: Administrators, SYSTEM, WSUS Administrators
    • Read, Write: NETWORK SERVICE
    • List Folder Contents, Read, Read & Execute: Users
    Note: Apply these permissions to all subfolders and files.
  5. In the Patch Manager console, ensure the credential configured to access the WSUS server is a member of the Administrators or WSUS Administrators group.

To test whether this fixed the issue:

  1. Log in to the Patch Manager server using the credential assigned to the WSUS server.
  2. Map a drive to the \\WSUSServer\UpdateServicesPackages and \\WSUSServer\WSUSContent folders.

If you are able to map the drive, Patch Manager should be able to publish updates to the WSUS server.

Supplemental Procedures

To share a folder with Windows Server 2008:

  1. Right-click the folder, and then select Properties.
  2. Click the Sharing tab.
  3. Click Share.
  4. Enter group to which you want to share the file, and then click Add.
  5. To modify the share permissions for a group, click the group and then select the appropriate permission level.
  6. Repeat Steps 4 and 5 for all of the groups to which you want to share the file.
  7. Click Share.
  8. Click Done.
  9. Click Close.

To change the security permissions for a folder with Windows Server 2008:

  1. Right-click the folder, and then select Properties.
  2. Click the Security tab.
  3. Click Edit.
  4. In the Groups or user names list, select the group or user for which you want to change permissions.
  5. Under Permissions for group/user name, select or clear the check boxes as appropriate.
  6. Repeat Steps 4 and 5 for all of the groups or users for which you want to change permissions.
  7. Click OK.
  8. Click Close.


Last modified
01:00, 23 Jun 2016