WSUS 2012 Post Install Configuration Fails: Config File Did Not Contain A Value “Content Directory”

Installed the WSUS Server Role on Server 2012.  Installation completes successfully and it comes up with the post installation configuration wizard.  I click to start the wizard, and it fails immediately.  I open up the log file created and see the text below.

2013-08-12 14:17:06 Postinstall started
2013-08-12 14:17:06 Detected role services: Api, Database, UI, Services
2013-08-12 14:17:06 Start: LoadSettingsFromXml
2013-08-12 14:17:06 Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentLocal
2013-08-12 14:17:07 Value is true
2013-08-12 14:17:07 End: GetConfigValue
2013-08-12 14:17:07 Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentDirectory
2013-08-12 14:17:07 Config file did not contain a value “ContentDirectory”
2013-08-12 14:17:07 Microsoft.UpdateServices.Administration.CommandException: A required configuration value was not found in the system. This is usually caused by installing WSUS through PowerShell and not specifying a configuration file. Review the article Managing WSUS Using PowerShell at TechNet Library (http://go.microsoft.com/fwlink/?LinkId=235499) for more information on the recommended steps to perform WSUS installation using PowerShell.
at Microsoft.UpdateServices.Administration.PostInstall.GetConfigValue(String filename, String item)
at Microsoft.UpdateServices.Administration.PostInstall.LoadSettingsFromXml()
at Microsoft.UpdateServices.Administration.PostInstall.Initalize(Parameters parameters)
at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
Fatal Error: A required configuration value was not found in the system. This is usually caused by installing WSUS through PowerShell and not specifying a configuration file. Review the article Managing WSUS Using PowerShell at TechNet Library (http://go.microsoft.com/fwlink/?LinkId=235499) for more information on the recommended steps to perform WSUS installation using PowerShell.

Well, that is strange.  During the installation process you specify the content directory, and although the Server Manager uses PowerShell cmdlets behind the scenes, I didn’t do the installation using the PowerShell.  I did some googling and came up with nothing, so on a hunch I just launched the WSUS console.  Well, that’s interesting, its asking for the content directory and the DB instance again.  I filled in the correct settings, clicked run, and a few minutes later the configuration was finished.  I verified this by opening up SQL Management Studio and seeing that the SUSDB had been created.

Leave a Reply