Friday, July 15, 2016

WSUS Post Deployment Configuration Fails on Windows Server 2012

When you are Post-Install WSUS Configuration Fails, 

It will show error "

C:\Users\hpatel\AppData\Local\Temp\tmp***

invalid path.

 With Error “HTTP status 503: Service Unavailable.

Solution: Open IIS -> Right click on -> WSUS  Site -> Delete it and Try.. It must work..:)

BELOW TEMP FILES SHOWS LIKE THIS.


2016-07-15 05:34:28  Postinstall started
2016-07-15 05:34:28  Detected role services: Api, UI, Services
2016-07-15 05:34:28  Start: LoadSettingsFromXml
2016-07-15 05:34:28  Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentLocal
2016-07-15 05:34:28  Value is true
2016-07-15 05:34:28  End: GetConfigValue
2016-07-15 05:34:28  Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentDirectory
2016-07-15 05:34:28  Value is C:\WSUS\
2016-07-15 05:34:28  End: GetConfigValue
2016-07-15 05:34:28  Content directory is C:\WSUS\
2016-07-15 05:34:28  Database roleservice is not installed
2016-07-15 05:34:28  End: LoadSettingsFromXml
2016-07-15 05:34:28  Start: Run
2016-07-15 05:34:28  Fetching WsusAdministratorsSid from registry store
2016-07-15 05:34:28  Value is S-1-5-21-2044496164-1784674717-4278675675-1607
2016-07-15 05:34:28  Fetching WsusReportersSid from registry store
2016-07-15 05:34:28  Value is S-1-5-21-2044496164-1784674717-4278675675-1608
2016-07-15 05:34:28  Configuring content directory...
2016-07-15 05:34:28  Configuring groups...
2016-07-15 05:34:28  Starting group configuration for WSUS Administrators...
2016-07-15 05:34:28  Found group in regsitry, attempting to use it...
2016-07-15 05:34:28  Searching for existing group...
2016-07-15 05:34:28  Existing group was found
2016-07-15 05:34:28  Writing group to registry...
2016-07-15 05:34:28  Finished group creation
2016-07-15 05:34:28  Starting group configuration for WSUS Reporters...
2016-07-15 05:34:28  Found group in regsitry, attempting to use it...
2016-07-15 05:34:28  Searching for existing group...
2016-07-15 05:34:28  Existing group was found
2016-07-15 05:34:28  Writing group to registry...
2016-07-15 05:34:28  Finished group creation
2016-07-15 05:34:28  Configuring permissions...
2016-07-15 05:34:28  Fetching content directory...
2016-07-15 05:34:28  Fetching ContentDir from registry store
2016-07-15 05:34:28  Value is C:\WSUS\
2016-07-15 05:34:28  Fetching group SIDs...
2016-07-15 05:34:28  Fetching WsusAdministratorsSid from registry store
2016-07-15 05:34:28  Value is S-1-5-21-2044496164-1784674717-4278675675-1607
2016-07-15 05:34:28  Fetching WsusReportersSid from registry store
2016-07-15 05:34:28  Value is S-1-5-21-2044496164-1784674717-4278675675-1608
2016-07-15 05:34:28  Creating group principals...
2016-07-15 05:34:28  Granting directory permissions...
2016-07-15 05:34:29  Granting permissions on content directory...
2016-07-15 05:34:29  Granting registry permissions...
2016-07-15 05:34:29  Granting registry permissions...
2016-07-15 05:34:29  Granting registry permissions...
2016-07-15 05:34:29  Configuring shares...
2016-07-15 05:34:29  Configuring network shares...
2016-07-15 05:34:29  Fetching content directory...
2016-07-15 05:34:29  Fetching ContentDir from registry store
2016-07-15 05:34:29  Value is C:\WSUS\
2016-07-15 05:34:29  Fetching WSUS admin SID...
2016-07-15 05:34:29  Fetching WsusAdministratorsSid from registry store
2016-07-15 05:34:29  Value is S-1-5-21-2044496164-1784674717-4278675675-1607
2016-07-15 05:34:29  Content directory is local, creating content shares...
2016-07-15 05:34:29  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."
2016-07-15 05:34:29  Deleting existing share...
2016-07-15 05:34:29  Creating share...
2016-07-15 05:34:29  Share successfully created
2016-07-15 05:34:29  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."
2016-07-15 05:34:29  Deleting existing share...
2016-07-15 05:34:29  Creating share...
2016-07-15 05:34:29  Share successfully created
2016-07-15 05:34:29  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."
2016-07-15 05:34:29  Deleting existing share...
2016-07-15 05:34:29  Creating share...
2016-07-15 05:34:29  Share successfully created
2016-07-15 05:34:29  Finished creating content shares
2016-07-15 05:34:29  Stopping service WSUSService
2016-07-15 05:34:29  Stopping service W3SVC
2016-07-15 05:34:29  Starting service W3SVC
2016-07-15 05:34:30  Configuring IIS...
2016-07-15 05:34:30  Start: ConfigureWebsite
2016-07-15 05:34:30  Configuring website on port 8530
2016-07-15 05:35:03  2016-07-15 05:34:40  Info      IISCustomAction    Performing Setup Action, Command /Install
2016-07-15 05:35:02  Info      IISCustomAction    Command /Install Succeeded

2016-07-15 05:35:03  End: ConfigureWebsite
2016-07-15 05:35:03  Configuring performance counters...
2016-07-15 05:35:03  Configuring Stats.NET perf counter...
2016-07-15 05:35:03  Configuring reporting perf counter...
2016-07-15 05:35:03  Configuring client webservice perf counter...
2016-07-15 05:35:03  Configuring server sync webservice perf counter...
2016-07-15 05:35:03  Configuring API remoting perf counter...
2016-07-15 05:35:03  Bringing services online...
2016-07-15 05:35:03  StartServer starting...
2016-07-15 05:35:03  Generating encryption key to write to the registry...
2016-07-15 05:35:03  Generating encryption key to write to the database...
2016-07-15 05:35:03  Generating encryption key succeeded...
2016-07-15 05:35:03  Setting WSUSService to autostart...
2016-07-15 05:35:03  WSUSService is set to autostart.
2016-07-15 05:35:03  Starting WSUSService...
2016-07-15 05:35:03  WSUSService is now started.
2016-07-15 05:35:03  Importing default detectoids.
2016-07-15 05:35:03  Importing CriticalUpdates.xml...
2016-07-15 05:35:03  Importing Drivers.xml...
2016-07-15 05:35:03  Importing FeaturePacks.xml...
2016-07-15 05:35:03  Importing MicrosoftCorporation.xml...
2016-07-15 05:35:03  Importing SecurityUpdates.xml...
2016-07-15 05:35:03  Importing ServicePacks.xml...
2016-07-15 05:35:03  Importing Tools.xml...
2016-07-15 05:35:03  Importing UpdateRollups.xml...
2016-07-15 05:35:03  Importing Updates.xml...
2016-07-15 05:35:03  Importing Windows.xml...
2016-07-15 05:35:03  Importing Windows2000family.xml...
2016-07-15 05:35:03  Importing WindowsServer2003DatacenterEdition.xml...
2016-07-15 05:35:03  Importing WindowsServer2003Family.xml...
2016-07-15 05:35:03  Importing WindowsXPfamily.xml...
2016-07-15 05:35:03  Importing LocalPublisher.xml...
2016-07-15 05:35:03  Importing LocallyPublishedPackages.xml...
2016-07-15 05:35:03  Importing Applications.xml...
2016-07-15 05:35:04  Importing Exchange.xml...
2016-07-15 05:35:04  Importing Office.xml...
2016-07-15 05:35:04  Importing SQL.xml...
2016-07-15 05:35:04  Importing Exchange2000Server.xml...
2016-07-15 05:35:04  Importing ExchangeServer2003.xml...
2016-07-15 05:35:04  Importing OfficeXP.xml...
2016-07-15 05:35:04  Importing Office2003.xml...
2016-07-15 05:35:04  Importing SQLServer.xml...
2016-07-15 05:35:04  Importing WindowsXP64BitEditionVersion2003.xml...
2016-07-15 05:35:04  Importing DefinitionUpdateSusXml.xml...
2016-07-15 05:35:04  Importing ClientServicingApiDetectoid.xml...
2016-07-15 05:35:04  Importing default detectoids succeeded.
2016-07-15 05:35:04  Creating default subscription.
2016-07-15 05:35:04  Instantiating UpdateServer
2016-07-15 05:35:05  CreateDefaultSubscription failed. Exception: System.Net.WebException: The request failed with HTTP status 503: Service Unavailable.
   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.CreateDefaultSubscription()
2016-07-15 05:35:05  StartServer encountered errors. Exception=The request failed with HTTP status 503: Service Unavailable.
2016-07-15 05:35:05  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)