Hello,
I faced an issue with WSUS console not connecting and prompting with Reset Server Node, a couple of days back. This happened after the Server Cleanup Wizard was run, which cleaned a few GBs of HDD space. I had left this server as is and could not return to office (or attend to this issue) due to a family bereavement. During my absence, one of my colleagues chose to uninstall and reinstall WSUS services to bring the server back online, which worsened the issue. After reinstall, the post-installation tasks have failed and the WSUS server is broken.
Now, I am left with a bricked WSUS server which I have to get back online.
The post-installation error log is given below for your ready reference.
Please help resolve this issue, TIA!!!
2018-03-20 15:27:24 Postinstall started
2018-03-20 15:27:24 Detected role services: Api, Database, UI, Services
2018-03-20 15:27:24 Start: LoadSettingsFromParameters
2018-03-20 15:27:24 Content local is: True
2018-03-20 15:27:24 Content directory is: D:\WSUS
2018-03-20 15:27:24 SQL instname is: localhost
2018-03-20 15:27:24 End: LoadSettingsFromParameters
2018-03-20 15:27:24 Start: Run
2018-03-20 15:27:24 Fetching WsusAdministratorsSid from registry store
2018-03-20 15:27:24 Value is S-1-5-21-2430571467-2907994178-1207675549-1010
2018-03-20 15:27:24 Fetching WsusReportersSid from registry store
2018-03-20 15:27:24 Value is S-1-5-21-2430571467-2907994178-1207675549-1011
2018-03-20 15:27:24 Configuring content directory...
2018-03-20 15:27:24 Configuring groups...
2018-03-20 15:27:24 Starting group configuration for WSUS Administrators...
2018-03-20 15:27:24 Found group in regsitry, attempting to use it...
2018-03-20 15:27:24 Writing group to registry...
2018-03-20 15:27:24 Finished group creation
2018-03-20 15:27:24 Starting group configuration for WSUS Reporters...
2018-03-20 15:27:24 Found group in regsitry, attempting to use it...
2018-03-20 15:27:24 Writing group to registry...
2018-03-20 15:27:24 Finished group creation
2018-03-20 15:27:24 Configuring permissions...
2018-03-20 15:27:24 Fetching content directory...
2018-03-20 15:27:24 Fetching ContentDir from registry store
2018-03-20 15:27:24 Value is D:\WSUS
2018-03-20 15:27:24 Fetching group SIDs...
2018-03-20 15:27:24 Fetching WsusAdministratorsSid from registry store
2018-03-20 15:27:24 Value is S-1-5-21-2430571467-2907994178-1207675549-1010
2018-03-20 15:27:24 Fetching WsusReportersSid from registry store
2018-03-20 15:27:24 Value is S-1-5-21-2430571467-2907994178-1207675549-1011
2018-03-20 15:27:24 Creating group principals...
2018-03-20 15:27:24 Granting directory permissions...
2018-03-20 15:27:24 Granting permissions on content directory...
2018-03-20 15:27:24 Granting registry permissions...
2018-03-20 15:27:24 Granting registry permissions...
2018-03-20 15:27:24 Granting registry permissions...
2018-03-20 15:27:24 Configuring shares...
2018-03-20 15:27:24 Configuring network shares...
2018-03-20 15:27:24 Fetching content directory...
2018-03-20 15:27:24 Fetching ContentDir from registry store
2018-03-20 15:27:24 Value is D:\WSUS
2018-03-20 15:27:24 Fetching WSUS admin SID...
2018-03-20 15:27:24 Fetching WsusAdministratorsSid from registry store
2018-03-20 15:27:24 Value is S-1-5-21-2430571467-2907994178-1207675549-1010
2018-03-20 15:27:24 Content directory is local, creating content shares...
2018-03-20 15:27:24 Creating share "UpdateServicesPackages" with path "D:\WSUS\UpdateServicesPackages" and description "A network share to be used by client systems for collecting all software packages (usually applications) published
on this WSUS system."
2018-03-20 15:27:24 Deleting existing share...
2018-03-20 15:27:24 Creating share...
2018-03-20 15:27:24 Share successfully created
2018-03-20 15:27:24 Creating share "WsusContent" with path "D:\WSUS\WsusContent" and description "A network share to be used by Local Publishing to place published content on this WSUS system."
2018-03-20 15:27:24 Deleting existing share...
2018-03-20 15:27:24 Creating share...
2018-03-20 15:27:25 Share successfully created
2018-03-20 15:27:25 Creating share "WSUSTemp" with path "C:\Program Files\Update Services\LogFiles\WSUSTemp" and description "A network share used by Local Publishing from a Remote WSUS Console Instance."
2018-03-20 15:27:25 Deleting existing share...
2018-03-20 15:27:25 Creating share...
2018-03-20 15:27:25 Share successfully created
2018-03-20 15:27:25 Finished creating content shares
2018-03-20 15:27:25 Stopping service WSUSService
2018-03-20 15:27:25 Stopping service W3SVC
2018-03-20 15:27:26 Configuring database...
2018-03-20 15:27:26 Configuring the database...
2018-03-20 15:27:26 Establishing DB connection...
2018-03-20 15:27:26 Checking to see if database exists...
2018-03-20 15:27:26 Database exists
2018-03-20 15:27:26 Switching database to single user mode...
2018-03-20 15:27:29 Loading install type query...
2018-03-20 15:27:29 DECLARE @currentDBVersion int
DECLARE @scriptMajorVersion int = (9600)
DECLARE @scriptMinorVersion int = (18694)
DECLARE @databaseMajorVersion int
DECLARE @databaseMinorVersion int
DECLARE @databaseBuildNumber nvarchar(10)
IF NOT EXISTS(SELECT * FROM sys.databases WHERE name='SUSDB')
BEGIN
SELECT 1
END
ELSE
BEGIN
SET @currentDBVersion = (SELECT SchemaVersion FROM SUSDB.dbo.tbSchemaVersion WHERE ComponentName = 'CoreDB')
SET @databaseBuildNumber = (SELECT BuildNumber FROM SUSDB.dbo.tbSchemaVersion WHERE ComponentName = 'CoreDB')
DECLARE @delimiterPosition INT = CHARINDEX('.', @databaseBuildNumber)
IF (@delimiterPosition = 0)
BEGIN
RAISERROR('Invalid schema version number', 16, 1) with nowait
return
END
SET @databaseMajorVersion = SUBSTRING(@databaseBuildNumber, 1, @delimiterPosition - 1)
SET @databaseMinorVersion = SUBSTRING(@databaseBuildNumber, (@delimiterPosition + 1), (10 - @delimiterPosition))
IF @currentDBVersion < 926
BEGIN
SELECT 3
END
ELSE
BEGIN
IF (@scriptMajorVersion > @databaseMajorVersion OR
(@scriptMajorVersion = @databaseMajorVersion AND @scriptMinorVersion > @databaseMinorVersion))
BEGIN
SELECT 2
END
ELSE IF (@scriptMajorVersion = @databaseMajorVersion AND
@scriptMinorVersion = @databaseMinorVersion)
BEGIN
SELECT 0
END
ELSE
BEGIN
SELECT 4
END
END
END
2018-03-20 15:27:29 Install type is: Reinstall
2018-03-20 15:27:29 Creating logins...
2018-03-20 15:27:29 Fetching account info for S-1-5-20
2018-03-20 15:27:29 Found principal
2018-03-20 15:27:29 Found account
2018-03-20 15:27:29 Got binary SID
2018-03-20 15:27:29 Fetching WsusAdministratorsSid from registry store
2018-03-20 15:27:29 Value is S-1-5-21-2430571467-2907994178-1207675549-1010
2018-03-20 15:27:29 Fetching account info for S-1-5-21-2430571467-2907994178-1207675549-1010
2018-03-20 15:27:29 Found principal
2018-03-20 15:27:29 Found account
2018-03-20 15:27:29 Got binary SID
2018-03-20 15:27:29 Setting content location...
2018-03-20 15:27:29 Fetching ContentDir from registry store
2018-03-20 15:27:29 Value is D:\WSUS
2018-03-20 15:27:29 Swtching DB to multi-user mode......
2018-03-20 15:27:29 Finished setting multi-user mode
2018-03-20 15:27:29 Writing DB settings to registry...
2018-03-20 15:27:29 Marking PostInstall done for UpdateServices-Database in the registry...
2018-03-20 15:27:29 Starting service W3SVC
2018-03-20 15:27:29 Configuring IIS...
2018-03-20 15:27:29 Start: ConfigureWebsite
2018-03-20 15:27:30 Configuring website on port 8530
2018-03-20 15:27:56 2018-03-20 15:27:32 Info IISCustomAction Performing Setup Action, Command /Install
2018-03-20 15:27:54 Info IISCustomAction Command /Install Succeeded
2018-03-20 15:27:56 End: ConfigureWebsite
2018-03-20 15:27:56 Configuring performance counters...
2018-03-20 15:27:56 Configuring Stats.NET perf counter...
2018-03-20 15:27:56 Configuring reporting perf counter...
2018-03-20 15:27:56 Configuring client webservice perf counter...
2018-03-20 15:27:56 Configuring server sync webservice perf counter...
2018-03-20 15:27:56 Configuring API remoting perf counter...
2018-03-20 15:27:56 Bringing services online...
2018-03-20 15:27:56 Checking initialization status...
2018-03-20 15:27:56 StartServer starting...
2018-03-20 15:27:56 Generating encryption key to write to the registry...
2018-03-20 15:27:56 Generating encryption key to write to the database...
2018-03-20 15:27:56 Generating encryption key succeeded...
2018-03-20 15:27:56 Setting WSUSService to autostart...
2018-03-20 15:27:57 WSUSService is set to autostart.
2018-03-20 15:27:57 Starting WSUSService...
2018-03-20 15:27:57 WSUSService is now started.
2018-03-20 15:27:57 Importing default detectoids.
2018-03-20 15:27:57 Importing CriticalUpdates.xml...
2018-03-20 15:27:57 Importing Drivers.xml...
2018-03-20 15:27:57 Importing FeaturePacks.xml...
2018-03-20 15:27:58 Importing MicrosoftCorporation.xml...
2018-03-20 15:27:58 Importing SecurityUpdates.xml...
2018-03-20 15:27:58 Importing ServicePacks.xml...
2018-03-20 15:27:58 Importing Tools.xml...
2018-03-20 15:27:58 Importing UpdateRollups.xml...
2018-03-20 15:27:58 Importing Updates.xml...
2018-03-20 15:27:58 Importing Windows.xml...
2018-03-20 15:27:58 Importing Windows2000family.xml...
2018-03-20 15:27:58 Importing WindowsServer2003DatacenterEdition.xml...
2018-03-20 15:27:58 Importing WindowsServer2003Family.xml...
2018-03-20 15:27:58 Importing WindowsXPfamily.xml...
2018-03-20 15:27:58 Importing LocalPublisher.xml...
2018-03-20 15:27:58 Importing LocallyPublishedPackages.xml...
2018-03-20 15:27:58 Importing Applications.xml...
2018-03-20 15:27:58 Importing Exchange.xml...
2018-03-20 15:27:58 Importing Office.xml...
2018-03-20 15:27:58 Importing SQL.xml...
2018-03-20 15:27:58 Importing Exchange2000Server.xml...
2018-03-20 15:27:58 Importing ExchangeServer2003.xml...
2018-03-20 15:27:58 Importing OfficeXP.xml...
2018-03-20 15:27:58 Importing Office2003.xml...
2018-03-20 15:27:58 Importing SQLServer.xml...
2018-03-20 15:27:58 Importing WindowsXP64BitEditionVersion2003.xml...
2018-03-20 15:27:58 Importing DefinitionUpdateSusXml.xml...
2018-03-20 15:27:58 Importing ClientServicingApiDetectoid.xml...
2018-03-20 15:27:58 Importing default detectoids succeeded.
2018-03-20 15:28:01 Synchronization in progress. Please cancel synchronization and rerun postinstall again. Exception: System.InvalidOperationException: Client found response content type of '', but expected 'text/xml'.
The request failed with an empty response.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.UpdateServices.Internal.ApiRemoting.GetServerVersion()
at Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.GetServerVersion()
at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.CreateUpdateServer(String serverName, Boolean useSecureConnection, Int32 portNumber)
at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer..ctor(Boolean bypassApiRemoting)
at Microsoft.UpdateServices.Setup.StartServer.StartServer.FixSubscriptionCategories()
2018-03-20 15:28:01 StartServer encountered errors. Exception=Synchronization in progress. Please cancel synchronization and run postinstall again.
2018-03-20 15:28:01 Microsoft.UpdateServices.Administration.CommandException: Failed to start and configure the WSUS service
at Microsoft.UpdateServices.Administration.PostInstall.Run()
at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
-Cheers, Harish Kumar (MorpheusHK)