Some of my field notes while working on SCCM features and services…
Try the commands below in PowerShell…they will modify
C:\Windows\System32\ServerManager\ComponentConfiguration\UpdateServices-Services.xml, and add in the content location—-seen in bold.
<?xml version=”1.0″ encoding=”utf-16″?><INSTANCE CLASSNAME=”ServerComponent_UpdateServices_Services”><PROPERTY NAME=”ContentDirectory” TYPE=”string”><VALUE>\\FQDN.DOMAIN.com\Updates</VALUE></PROPERTY><PROPERTY NAME=”ContentLocal” TYPE=”boolean”><VALUE>true</VALUE></PROPERTY></INSTANCE>
Install-WindowsFeature -Name UpdateServices-Services,UpdateServices-DB –IncludeManagementTools
wsusutil.exe postinstall SQL_INSTANCE_NAME=”FQDN.DOMAIN.com\SCCM” CONTENT_DIR=D:\Updates
Something important to note, if IIS is not configured with the instance ID of 1, you may also receive invalid path.
Go to IIS manager and right click on the web site and select properties.
On the Web Site Tab click properties in the logging section.
At the bottom it shows you the log file name
It starts with W3SVCx where x is the instance ID. Make sure it contains 1.
Notes
wsusutil help postinstall