Purpose
The purpose of the document is to review a common error when publishing updates.
Symptoms
Exception occurred during publishing: CreateDirectory Failed
Cause
"C:\WSUS\UpdateServicesPackages" or "C:\WSUS\WsusContent" is not shared for System Center Updates Publisher (SCUP) or System Center Configuration Manager (SCCM).
Resolution
Navigate to "C:\WSUS\UpdateServicesPackages"/"C:\WSUS\WsusContent" then Share the directory and set permissions to:
- Admin's Group Full access
- Network Service Full access
- Everyone Read access
- WSUS Administrators Group Full access.
Set NTFS permissions to:
- Administrators Group Full access
- Network Service Full access
- System Full access
- Users Group Read/List Folder Read & Execute
- WSUS Admins Group Full access.
On your WSUS server open a command prompt with “run as admin”, Navigate to %programfiles%\update services\tools and issue the following command:
WSUSUtil.exe movecontent <content path> <log path>
If that doesn’t work, try moving the content to a temporary location and then move it back to the desired path.
Additional Information
To find out where the content and target directories are use the link below.
- Verifying WSUS Server Settings
Affected Product(s)
Shavlik Patch for Microsoft System Center (Formerly SCUPdates)
When publishing via:
System Center Update Publisher (SCUP)
Shavlik Patch Plugin 2.0.574.0
Shavlik Patch Plugin 2.1.801.0