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 > Cannot publish to WSUS server

Cannot publish to WSUS server

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

Views: 362 Votes: 1 Revisions: 5

Overview

 

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

Error:
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.

Environment

  • All Patch Manager versions
  • WSUS

Cause 

There are issues with the WSUS configuration.

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

\\WSUSServer\UpdateServicesPackages

\\WSUSServer\WSUSContent 

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.

Resolution

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

Tags

Classifications

Public