WSUS: Event ID 364 kernel32.dll CreateDirectory
- February 18th, 2010
- Posted in Windows
- By d0tk0m
- Write comment

After recovering a failed web server, one of my jobs was to add WSUS back onto the new server. All went well apart from the above stated Event ID 364.
Basically in this situation what had happened was that the new server was not exactly the same setup as the old and I was using a new install of WSUS to reconnect to a previously used SQL backend database, usually called SUSDB. The error reads like so:
Event Type: Error Event Source: Windows Server Update Services Event Category: Synchronization Event ID: 364 Date: 18/02/2010 Time: 13:19:16 User: N/A Computer: WEBSVR01 Description: Content file download failed. Reason: Error calling [kernel32.dll]:CreateDirectory(G:\WSUS\WsusContent\2E) Source File: Destination File: .
Their were 2 ways of resolving the issue:
1. Recreate the missing directory as stated within the error log and check the permissions are ok.
mkdir \a G:\WSUS\WsusContent
This will only work if you are using the same drive letter as before.
OR
2. Go into the SUSDB SQL databse and change the ‘LocalContentCacheLocation‘ field in the tbConfigurationB table to “C:\WSUS\WSUSContent\” or which directory you want to point it too.
Restart the front end, IIS, and start the sync process
You’re a lifesaver. It would have been a while before I started digging through the database. Nice find.
I hate those kind of days