Jump to content

Recommended Posts

Posted
Is uninstalling and reinstalling WSUS relatively straightforward? Ie is there anything from the previous installation I might need to copy over blahblahblahblah?
Posted
Is uninstalling and reinstalling WSUS relatively straightforward? Ie is there anything from the previous installation I might need to copy over blahblahblahblah?

 

I did it - all my configuration was still there but had to do a "wsusutil /reset" to download all my updates again...

Posted

Right, had a go at removing and adding WSUS again, but running into problems. Upon starting WSUS and getting the post-installation process I get this error

 

Fatal error: 'Failed to start and configure the WSUS Service'

 

It then presents me with a log file below

 

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)

 

I thought it might be something to do with it processing a previous configuration change? I've restarted just now, run it again and get the same error.

 

Any help would be massively appreciated!

Posted
After messing about endlessly and installing via Powershell instead I seem to have got it working; well the post-installation setup didn't throw up any errors and WSUS opens up OK. Now to deal with 3275 security updates and 1550 critical ones for approval, a lot of which I'm sure are completely uneccessary.
  • 3 weeks later...
Posted
Ah, a whole load of them are 32 bit. How on Earth can I chuck all these out entirely?

 

This would be fantastic - I have to turn down Office 64bit, Windows 8 32bit etc., all of which I don't need. By the time I've phased out Windows 7 32bit completely, I'm probably going to need to rebuild my WSUS server to get rid of all that unwanted and now useless updates.

 

Maybe that will happen in the next version of Server...

Posted
So there's no easy way other than going through the whole list and declining? Boo.

 

Not that I've seen in the WSUS console, and believe me I've poked and prodded everywhere. It's ok when manually dealing with updates, but highly annoying when any updates you've set an auto approve rule on downloads both architectures. I really wish 32bit would go away now....

Posted

Pffft. Useless.

 

What does everyone else do by way of Classifications? Up until now I've only had critical/security updates selected, not sure if it's worth having every one or not.

Posted

Everything but "tools/drivers" there's a lot of rollups/hotfixes/silverlight etc that won't come down otherwise, yes you could use the individual updates, but much rather one massive update than 20 lil ones clogging stuff up :)

 

More filtering it on product side.

 

Steve

Posted
I'm gonna do some digging in the summer, can you just apply all in one go and see how it goes? even if it takes a day to install, or do you have to be strategical about it?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...