WSUS playing up

Log file here

2015-05-26 10:48:42 Postinstall started
2015-05-26 10:48:42 Detected role services: Api, UI, WidDatabase, Services
2015-05-26 10:48:42 Start: LoadSettingsFromParameters
2015-05-26 10:48:42 Content local is: True
2015-05-26 10:48:42 Content directory is: C:\WSUS
2015-05-26 10:48:42 SQL instname is:
2015-05-26 10:48:42 End: LoadSettingsFromParameters
2015-05-26 10:48:42 Start: Run
2015-05-26 10:48:42 Fetching WsusAdministratorsSid from registry store
2015-05-26 10:48:42 Value is S-1-5-21-1211456027-2267610892-2339599602-1002
2015-05-26 10:48:42 Fetching WsusReportersSid from registry store
2015-05-26 10:48:42 Value is S-1-5-21-1211456027-2267610892-2339599602-1003
2015-05-26 10:48:42 Configuring content directory...
2015-05-26 10:48:42 Configuring groups...
2015-05-26 10:48:42 Starting group configuration for WSUS Administrators...
2015-05-26 10:48:42 Found group in regsitry, attempting to use it...
2015-05-26 10:48:44 Writing group to registry...
2015-05-26 10:48:44 Finished group creation
2015-05-26 10:48:44 Starting group configuration for WSUS Reporters...
2015-05-26 10:48:44 Found group in regsitry, attempting to use it...
2015-05-26 10:48:44 Writing group to registry...
2015-05-26 10:48:44 Finished group creation
2015-05-26 10:48:44 Configuring permissions...
2015-05-26 10:48:44 Fetching content directory...
2015-05-26 10:48:44 Fetching ContentDir from registry store
2015-05-26 10:48:44 Value is C:\WSUS
2015-05-26 10:48:44 Fetching group SIDs...
2015-05-26 10:48:44 Fetching WsusAdministratorsSid from registry store
2015-05-26 10:48:44 Value is S-1-5-21-1211456027-2267610892-2339599602-1002
2015-05-26 10:48:44 Fetching WsusReportersSid from registry store
2015-05-26 10:48:44 Value is S-1-5-21-1211456027-2267610892-2339599602-1003
2015-05-26 10:48:44 Creating group principals...
2015-05-26 10:48:44 Granting directory permissions...
2015-05-26 10:48:45 Granting permissions on content directory...
2015-05-26 10:48:45 Granting registry permissions...
2015-05-26 10:48:45 Granting registry permissions...
2015-05-26 10:48:45 Granting registry permissions...
2015-05-26 10:48:45 Configuring shares...
2015-05-26 10:48:45 Configuring network shares...
2015-05-26 10:48:45 Fetching content directory...
2015-05-26 10:48:45 Fetching ContentDir from registry store
2015-05-26 10:48:45 Value is C:\WSUS
2015-05-26 10:48:45 Fetching WSUS admin SID...
2015-05-26 10:48:45 Fetching WsusAdministratorsSid from registry store
2015-05-26 10:48:45 Value is S-1-5-21-1211456027-2267610892-2339599602-1002
2015-05-26 10:48:45 Content directory is local, creating content shares...
2015-05-26 10:48:45 Creating share "UpdateServicesPackages" with path "C:\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."
2015-05-26 10:48:45 Deleting existing share...
2015-05-26 10:48:45 Creating share...
2015-05-26 10:48:45 Share successfully created
2015-05-26 10:48:45 Creating share "WsusContent" with path "C:\WSUS\WsusContent" and description "A network share to be used by Local Publishing to place published content on this WSUS system."
2015-05-26 10:48:45 Deleting existing share...
2015-05-26 10:48:45 Creating share...
2015-05-26 10:48:45 Share successfully created
2015-05-26 10:48:45 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."
2015-05-26 10:48:45 Deleting existing share...
2015-05-26 10:48:45 Creating share...
2015-05-26 10:48:45 Share successfully created
2015-05-26 10:48:45 Finished creating content shares
2015-05-26 10:48:45 Stopping service WSUSService
2015-05-26 10:48:45 Stopping service W3SVC
2015-05-26 10:48:46 Configuring WID database...
2015-05-26 10:48:46 Configuring the database...
2015-05-26 10:48:46 Establishing DB connection...
2015-05-26 10:48:46 Checking to see if database exists...
2015-05-26 10:48:46 Database exists
2015-05-26 10:48:46 Switching database to single user mode...
2015-05-26 10:48:49 Loading install type query...
2015-05-26 10:48:49 DECLARE @currentDBVersion int
DECLARE @scriptMajorVersion int = (9600)
DECLARE @scriptMinorVersion int = (16384)
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

2015-05-26 10:48:49 Install type is: Reinstall
2015-05-26 10:48:49 Creating logins...
2015-05-26 10:48:49 Fetching account info for S-1-5-20
2015-05-26 10:48:49 Found principal
2015-05-26 10:48:49 Found account
2015-05-26 10:48:49 Got binary SID
2015-05-26 10:48:49 Fetching WsusAdministratorsSid from registry store
2015-05-26 10:48:49 Value is S-1-5-21-1211456027-2267610892-2339599602-1002
2015-05-26 10:48:49 Fetching account info for S-1-5-21-1211456027-2267610892-2339599602-1002
2015-05-26 10:48:49 Found principal
2015-05-26 10:48:49 Found account
2015-05-26 10:48:49 Got binary SID
2015-05-26 10:48:49 Setting content location...
2015-05-26 10:48:49 Fetching ContentDir from registry store
2015-05-26 10:48:49 Value is C:\WSUS
2015-05-26 10:48:50 Swtching DB to multi-user mode......
2015-05-26 10:48:54 Finished setting multi-user mode
2015-05-26 10:48:54 Writing DB settings to registry...
2015-05-26 10:48:54 Marking PostInstall done for UpdateServices-WidDatabase in the registry...
2015-05-26 10:48:54 Starting service W3SVC
2015-05-26 10:48:54 Configuring IIS...
2015-05-26 10:48:54 Start: ConfigureWebsite
2015-05-26 10:48:54 Configuring website on port 8530
2015-05-26 10:49:40 2015-05-26 10:49:05 Info IISCustomAction Performing Setup Action, Command /Install
2015-05-26 10:49:38 Info IISCustomAction Command /Install Succeeded

2015-05-26 10:49:40 End: ConfigureWebsite
2015-05-26 10:49:40 Configuring performance counters...
2015-05-26 10:49:40 Configuring Stats.NET perf counter...
2015-05-26 10:49:40 Configuring reporting perf counter...
2015-05-26 10:49:40 Configuring client webservice perf counter...
2015-05-26 10:49:40 Configuring server sync webservice perf counter...
2015-05-26 10:49:40 Configuring API remoting perf counter...
2015-05-26 10:49:40 Bringing services online...
2015-05-26 10:49:40 Checking initialization status...
2015-05-26 10:49:43 StartServer starting...
2015-05-26 10:49:43 Generating encryption key to write to the registry...
2015-05-26 10:49:43 Generating encryption key to write to the database...
2015-05-26 10:49:44 Generation of encryption key to save to the database failed. Error=System.InvalidOperationException: Cannot save configuration because the server is still processing a previous
configuration change. ---> System.Data.SqlClient.SqlException: spSetConfiguration was called while a Reset Process was Needed/InProgress cannot change Configuration at this time
at Microsoft.UpdateServices.DatabaseAccess.DBConnection.DrainObsoleteConnections(SqlException e)
at Microsoft.UpdateServices.DatabaseAccess.DBConnection.ExecuteCommandNoResult()
at Microsoft.UpdateServices.Internal.NoResultSPHandler.ExecuteStoredProcedure(DBConnection connection)
at Microsoft.UpdateServices.Internal.GenericDataAccess.ExecuteSP(String spName, DBParameterCollection args, IExecuteSPHandler handler, Int32 queryTimeoutInSeconds)
at Microsoft.UpdateServices.Internal.GenericDataAccess.ExecuteSP(String spName, DBParameterCollection args, IExecuteSPHandler handler)
at Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccess.ExecuteSPSetConfiguration(ConfigurationTableRow row, IDictionary changedLanguages, IEnumerable`1 programKeys)
--- End of inner exception stack trace ---
at Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccess.ExecuteSPSetConfiguration(ConfigurationTableRow row, IDictionary changedLanguages, IEnumerable`1 programKeys)
at Microsoft.UpdateServices.Internal.BaseApi.UpdateServerConfiguration.Save(Boolean detectConfigChange)
at Microsoft.UpdateServices.Setup.StartServer.StartServer.GenerateNewDatabaseEncryptionKey()
2015-05-26 10:49:44 StartServer encountered errors. Exception=Cannot save configuration because the server is still processing a previous
configuration change.
2015-05-26 10:49:44 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)

Any help appreciated.
 
2015-05-26 10:49:44 StartServer encountered errors. Exception=Cannot save configuration because the server is still processing a previous
configuration change.`

Restart the server
 
Done. Run and get the same error, log here

2015-05-26 11:22:20 Postinstall started
2015-05-26 11:22:20 Detected role services: Api, UI, WidDatabase, Services
2015-05-26 11:22:20 Start: LoadSettingsFromParameters
2015-05-26 11:22:20 Content local is: True
2015-05-26 11:22:20 Content directory is: C:\WSUS
2015-05-26 11:22:20 SQL instname is:
2015-05-26 11:22:20 End: LoadSettingsFromParameters
2015-05-26 11:22:20 Start: Run
2015-05-26 11:22:20 Fetching WsusAdministratorsSid from registry store
2015-05-26 11:22:20 Value is S-1-5-21-1211456027-2267610892-2339599602-1002
2015-05-26 11:22:20 Fetching WsusReportersSid from registry store
2015-05-26 11:22:20 Value is S-1-5-21-1211456027-2267610892-2339599602-1003
2015-05-26 11:22:26 Configuring content directory...
2015-05-26 11:22:26 Configuring groups...
2015-05-26 11:22:26 Starting group configuration for WSUS Administrators...
2015-05-26 11:22:26 Found group in regsitry, attempting to use it...
2015-05-26 11:22:28 Writing group to registry...
2015-05-26 11:22:28 Finished group creation
2015-05-26 11:22:28 Starting group configuration for WSUS Reporters...
2015-05-26 11:22:28 Found group in regsitry, attempting to use it...
2015-05-26 11:22:28 Writing group to registry...
2015-05-26 11:22:28 Finished group creation
2015-05-26 11:22:28 Configuring permissions...
2015-05-26 11:22:28 Fetching content directory...
2015-05-26 11:22:28 Fetching ContentDir from registry store
2015-05-26 11:22:28 Value is C:\WSUS
2015-05-26 11:22:28 Fetching group SIDs...
2015-05-26 11:22:28 Fetching WsusAdministratorsSid from registry store
2015-05-26 11:22:28 Value is S-1-5-21-1211456027-2267610892-2339599602-1002
2015-05-26 11:22:28 Fetching WsusReportersSid from registry store
2015-05-26 11:22:28 Value is S-1-5-21-1211456027-2267610892-2339599602-1003
2015-05-26 11:22:28 Creating group principals...
2015-05-26 11:22:28 Granting directory permissions...
2015-05-26 11:22:29 Granting permissions on content directory...
2015-05-26 11:22:29 Granting registry permissions...
2015-05-26 11:22:30 Granting registry permissions...
2015-05-26 11:22:30 Granting registry permissions...
2015-05-26 11:22:30 Configuring shares...
2015-05-26 11:22:30 Configuring network shares...
2015-05-26 11:22:30 Fetching content directory...
2015-05-26 11:22:30 Fetching ContentDir from registry store
2015-05-26 11:22:30 Value is C:\WSUS
2015-05-26 11:22:30 Fetching WSUS admin SID...
2015-05-26 11:22:30 Fetching WsusAdministratorsSid from registry store
2015-05-26 11:22:30 Value is S-1-5-21-1211456027-2267610892-2339599602-1002
2015-05-26 11:22:30 Content directory is local, creating content shares...
2015-05-26 11:22:30 Creating share "UpdateServicesPackages" with path "C:\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."
2015-05-26 11:22:30 Deleting existing share...
2015-05-26 11:22:30 Creating share...
2015-05-26 11:22:30 Share successfully created
2015-05-26 11:22:30 Creating share "WsusContent" with path "C:\WSUS\WsusContent" and description "A network share to be used by Local Publishing to place published content on this WSUS system."
2015-05-26 11:22:30 Deleting existing share...
2015-05-26 11:22:30 Creating share...
2015-05-26 11:22:30 Share successfully created
2015-05-26 11:22:30 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."
2015-05-26 11:22:30 Deleting existing share...
2015-05-26 11:22:30 Creating share...
2015-05-26 11:22:30 Share successfully created
2015-05-26 11:22:30 Finished creating content shares
2015-05-26 11:22:30 Stopping service WSUSService
2015-05-26 11:22:30 Stopping service W3SVC
2015-05-26 11:22:30 Configuring WID database...
2015-05-26 11:22:31 Configuring the database...
2015-05-26 11:22:31 Establishing DB connection...
2015-05-26 11:22:31 Checking to see if database exists...
2015-05-26 11:22:31 Database exists
2015-05-26 11:22:31 Switching database to single user mode...
2015-05-26 11:22:34 Loading install type query...
2015-05-26 11:22:34 DECLARE @currentDBVersion int
DECLARE @scriptMajorVersion int = (9600)
DECLARE @scriptMinorVersion int = (16384)
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

2015-05-26 11:22:34 Install type is: Reinstall
2015-05-26 11:22:34 Creating logins...
2015-05-26 11:22:34 Fetching account info for S-1-5-20
2015-05-26 11:22:34 Found principal
2015-05-26 11:22:34 Found account
2015-05-26 11:22:34 Got binary SID
2015-05-26 11:22:34 Fetching WsusAdministratorsSid from registry store
2015-05-26 11:22:34 Value is S-1-5-21-1211456027-2267610892-2339599602-1002
2015-05-26 11:22:34 Fetching account info for S-1-5-21-1211456027-2267610892-2339599602-1002
2015-05-26 11:22:34 Found principal
2015-05-26 11:22:34 Found account
2015-05-26 11:22:34 Got binary SID
2015-05-26 11:22:34 Setting content location...
2015-05-26 11:22:34 Fetching ContentDir from registry store
2015-05-26 11:22:34 Value is C:\WSUS
2015-05-26 11:22:35 Swtching DB to multi-user mode......
2015-05-26 11:22:38 Finished setting multi-user mode
2015-05-26 11:22:38 Writing DB settings to registry...
2015-05-26 11:22:38 Marking PostInstall done for UpdateServices-WidDatabase in the registry...
2015-05-26 11:22:38 Starting service W3SVC
2015-05-26 11:22:38 Configuring IIS...
2015-05-26 11:22:38 Start: ConfigureWebsite
2015-05-26 11:22:39 Configuring website on port 8530
2015-05-26 11:23:26 2015-05-26 11:22:52 Info IISCustomAction Performing Setup Action, Command /Install
2015-05-26 11:23:25 Info IISCustomAction Command /Install Succeeded

2015-05-26 11:23:26 End: ConfigureWebsite
2015-05-26 11:23:26 Configuring performance counters...
2015-05-26 11:23:27 Configuring Stats.NET perf counter...
2015-05-26 11:23:27 Configuring reporting perf counter...
2015-05-26 11:23:27 Configuring client webservice perf counter...
2015-05-26 11:23:27 Configuring server sync webservice perf counter...
2015-05-26 11:23:27 Configuring API remoting perf counter...
2015-05-26 11:23:27 Bringing services online...
2015-05-26 11:23:27 Checking initialization status...
2015-05-26 11:23:30 StartServer starting...
2015-05-26 11:23:30 Generating encryption key to write to the registry...
2015-05-26 11:23:30 Generating encryption key to write to the database...
2015-05-26 11:23:30 Generation of encryption key to save to the database failed. Error=System.InvalidOperationException: Cannot save configuration because the server is still processing a previous
configuration change. ---> System.Data.SqlClient.SqlException: spSetConfiguration was called while a Reset Process was Needed/InProgress cannot change Configuration at this time
at Microsoft.UpdateServices.DatabaseAccess.DBConnection.DrainObsoleteConnections(SqlException e)
at Microsoft.UpdateServices.DatabaseAccess.DBConnection.ExecuteCommandNoResult()
at Microsoft.UpdateServices.Internal.NoResultSPHandler.ExecuteStoredProcedure(DBConnection connection)
at Microsoft.UpdateServices.Internal.GenericDataAccess.ExecuteSP(String spName, DBParameterCollection args, IExecuteSPHandler handler, Int32 queryTimeoutInSeconds)
at Microsoft.UpdateServices.Internal.GenericDataAccess.ExecuteSP(String spName, DBParameterCollection args, IExecuteSPHandler handler)
at Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccess.ExecuteSPSetConfiguration(ConfigurationTableRow row, IDictionary changedLanguages, IEnumerable`1 programKeys)
--- End of inner exception stack trace ---
at Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccess.ExecuteSPSetConfiguration(ConfigurationTableRow row, IDictionary changedLanguages, IEnumerable`1 programKeys)
at Microsoft.UpdateServices.Internal.BaseApi.UpdateServerConfiguration.Save(Boolean detectConfigChange)
at Microsoft.UpdateServices.Setup.StartServer.StartServer.GenerateNewDatabaseEncryptionKey()
2015-05-26 11:23:30 StartServer encountered errors. Exception=Cannot save configuration because the server is still processing a previous
configuration change.
2015-05-26 11:23:30 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)
 
Also I got this event within Server Maneger

The WSUS administration console was unable to connect to the WSUS Server via the remote API.

Verify that the Update Services service, IIS and SQL are running on the server. If the problem persists, try restarting IIS, SQL, and the Update Services Service.

System.Net.WebException -- The request failed with HTTP status 401: Unauthorized.

Source
System.Web.Services

Stack Trace:
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.ExecuteSPGetConfiguration()
at Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.ExecuteSPGetConfiguration()
at Microsoft.UpdateServices.Internal.BaseApi.UpdateServerConfiguration.Load()
at Microsoft.UpdateServices.Internal.ClassFactory.CreateWellKnownType(Type type, Object[] args)
at Microsoft.UpdateServices.Internal.ClassFactory.CreateInstance(Type type, Object[] args)
at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.GetConfiguration()
at Microsoft.UpdateServices.UI.SnapIn.Scope.RootScopeNode.ShowOOBE(ServerSummaryScopeNode serverNode, Form windowOwner, Boolean showIcon)
at Microsoft.UpdateServices.UI.SnapIn.Scope.RootScopeNode.ApplyPersistedSettings(PersistedSnapInSettings persistedSettings)
at Microsoft.UpdateServices.UI.SnapIn.Common.SnapInManager.OnLoadCustomData(AsyncStatus status, Byte[] persistenceData)
 
After messing about endlessly and installing via Powershell instead I seem to have got it working, what I did that was any different I'm not entirely sure, but hey ho. Now to deal with 3275 security updates and 1550 critical ones for approval, a lot of which I'm sure are completely uneccessary. How do you exclude 32 bit updates altogether? Also when clicking to get rid of superseded updates I get nothing when I'm sure in those thousands of updates there must be a fair few.
 
Back
Top Bottom