WSUS post configuration don't work after reinstall WSUS

Algaho Dest 1 Reputation point
2021-08-04T14:08:27.553+00:00

Hello,

I need help to fix my WSUS server problem on my window server 2016.

What I have already tried:

  1. Uninstall WSUS, database (WID), files and contents in the disk to install the old WSUS
    then reinstall everything (graphical or command line)

2) Uninstall WSUS, IIS server then reinstall IIS server and WSUS.

Here, I am short of ideas and solution because, I always find the same problem System.Runtime.InteropServices.COMException (0x80070003).

Command powershell :
$MUSMObject = New-Object -ComObject "Microsoft.Update.ServiceM
$MUSMObject.Services | Select-Object Name, isDefaultAUService

Name IsDefaultAUService


Windows Store (DCat Prod) False
Windows Server Update Service True
Windows Update False

Log :

2021-08-04 12:55:14 Postinstall started
2021-08-04 12:55:14 Detected role services: Api, UI, WidDatabase, >Services
2021-08-04 12:55:14 Start: LoadSettingsFromXml
2021-08-04 12:55:14 Start: GetConfigValue with >filename=UpdateServices-Services.xml item=ContentLocal
2021-08-04 12:55:14 Value is true
2021-08-04 12:55:14 End: GetConfigValue
2021-08-04 12:55:14 Start: GetConfigValue with >filename=UpdateServices-Services.xml item=ContentDirectory
2021-08-04 12:55:14 Value is E:\WSUS
2021-08-04 12:55:14 End: GetConfigValue
2021-08-04 12:55:14 Content directory is E:\WSUS
2021-08-04 12:55:14 Database roleservice is not installed
2021-08-04 12:55:14 End: LoadSettingsFromXml
D‚marrage de la post-installation
2021-08-04 12:55:14 Start: Run
2021-08-04 12:55:14 Fetching WsusAdministratorsSid from registry >store
2021-08-04 12:55:14 Value is S-1-5-21-528040187-1064127744->2425346579-1000
2021-08-04 12:55:14 Fetching WsusReportersSid from registry store
2021-08-04 12:55:14 Value is S-1-5-21-528040187-1064127744->2425346579-1001
2021-08-04 12:55:15 Update synchronization in progress. Cancelling...
2021-08-04 12:55:15 Configuring content directory...
2021-08-04 12:55:15 Configuring groups...
2021-08-04 12:55:15 Starting group configuration for WSUS >Administrators...
2021-08-04 12:55:15 Found group in regsitry, attempting to use it...
2021-08-04 12:55:17 Writing group to registry...
2021-08-04 12:55:17 Finished group creation
2021-08-04 12:55:17 Starting group configuration for WSUS >Reporters...
2021-08-04 12:55:17 Found group in regsitry, attempting to use it...
2021-08-04 12:55:17 Writing group to registry...
2021-08-04 12:55:17 Finished group creation
2021-08-04 12:55:17 Configuring permissions...
2021-08-04 12:55:17 Fetching content directory...
2021-08-04 12:55:17 Fetching ContentDir from registry store
2021-08-04 12:55:17 Value is E:\WSUS
2021-08-04 12:55:17 Fetching group SIDs...
2021-08-04 12:55:17 Fetching WsusAdministratorsSid from registry >store
2021-08-04 12:55:17 Value is S-1-5-21-528040187-1064127744->2425346579-1000
2021-08-04 12:55:17 Fetching WsusReportersSid from registry store
2021-08-04 12:55:17 Value is S-1-5-21-528040187-1064127744->2425346579-1001
2021-08-04 12:55:17 Creating group principals...
2021-08-04 12:55:17 Granting directory permissions...
2021-08-04 12:55:17 Granting permissions on content directory...
2021-08-04 12:55:18 Granting registry permissions...
2021-08-04 12:55:18 Granting registry permissions...
2021-08-04 12:55:18 Granting registry permissions...
2021-08-04 12:55:18 Configuring shares...
2021-08-04 12:55:18 Configuring network shares...
2021-08-04 12:55:18 Fetching content directory...
2021-08-04 12:55:18 Fetching ContentDir from registry store
2021-08-04 12:55:18 Value is E:\WSUS
2021-08-04 12:55:18 Fetching WSUS admin SID...
2021-08-04 12:55:18 Fetching WsusAdministratorsSid from registry >store
2021-08-04 12:55:18 Value is S-1-5-21-528040187-1064127744->2425346579-1000
2021-08-04 12:55:18 Content directory is local, creating content >shares...
2021-08-04 12:55:18 Creating share "UpdateServicesPackages" with >path "E:\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."
2021-08-04 12:55:18 Deleting existing share...
2021-08-04 12:55:18 Creating share...
2021-08-04 12:55:18 Share successfully created
2021-08-04 12:55:18 Creating share "WsusContent" with path >"E:\WSUS\WsusContent" and description "A network share to be used >by Local Publishing to place published content on this WSUS system."
2021-08-04 12:55:18 Deleting existing share...
2021-08-04 12:55:18 Creating share...
2021-08-04 12:55:18 Share successfully created
2021-08-04 12:55:18 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."
2021-08-04 12:55:18 Creating share...
2021-08-04 12:55:18 Share successfully created
2021-08-04 12:55:18 Finished creating content shares
2021-08-04 12:55:18 Stopping service WSUSService
2021-08-04 12:55:18 Stopping service W3SVC
2021-08-04 12:55:18 Configuring WID database...
2021-08-04 12:55:18 Configuring the database...
2021-08-04 12:55:18 Establishing DB connection...
2021-08-04 12:55:18 Checking to see if database exists...
2021-08-04 12:55:18 Database exists
2021-08-04 12:55:18 Switching database to single user mode...
2021-08-04 12:55:18 Loading install type query...
2021-08-04 12:55:18 DECLARE @currentDBVersion int
DECLARE @scriptMajorVersion int = (14393)
DECLARE @scriptMinorVersion int = (0)
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

2021-08-04 12:55:18 Install type is: Reinstall
2021-08-04 12:55:18 Creating logins...
2021-08-04 12:55:18 Fetching account info for S-1-5-20
2021-08-04 12:55:18 Found principal
2021-08-04 12:55:18 Found account
2021-08-04 12:55:18 Got binary SID
2021-08-04 12:55:18 Fetching WsusAdministratorsSid from registry >store
2021-08-04 12:55:18 Value is S-1-5-21-528040187-1064127744->2425346579-1000
2021-08-04 12:55:18 Fetching account info for S-1-5-21-528040187->1064127744-2425346579-1000
2021-08-04 12:55:18 Found principal
2021-08-04 12:55:18 Found account
2021-08-04 12:55:18 Got binary SID
2021-08-04 12:55:18 Setting content location...
2021-08-04 12:55:18 Fetching ContentDir from registry store
2021-08-04 12:55:18 Value is E:\WSUS
2021-08-04 12:55:18 Swtching DB to multi-user mode......
2021-08-04 12:55:19 Finished setting multi-user mode
2021-08-04 12:55:19 Writing DB settings to registry...
2021-08-04 12:55:19 Disposing Connection
2021-08-04 12:55:19 Clearing Connection Pools
2021-08-04 12:55:19 Marking PostInstall done for UpdateServices->WidDatabase in the registry...
2021-08-04 12:55:19 Starting service W3SVC
2021-08-04 12:55:19 Configuring IIS...
2021-08-04 12:55:19 Start: ConfigureWebsite
2021-08-04 12:55:19 System.Runtime.InteropServices.COMException >(0x80070003): Le chemin d'accŠs sp‚cifi‚ est introuvable.

… System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
… System.DirectoryServices.DirectoryEntry.Bind()
… System.DirectoryServices.DirectoryEntry.get_AdsObject()
… System.DirectoryServices.PropertyValueCollection.PopulateList()
… >System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry >entry, String propertyName)
… System.DirectoryServices.PropertyCollection.get_Item(String >propertyName)
… >Microsoft.UpdateServices.Administration.UseCustomWebSite..ctor()
… >Microsoft.UpdateServices.Administration.PostInstall.ConfigureWebsite(I>nt32 portNumber)
… Microsoft.UpdateServices.Administration.PostInstall.Run()
… >Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] >arguments)
Erreur irr‚cup‚rableÿ: Le chemin d'accŠs sp‚cifi‚ est introuvable.

If someone have some idea to fix it ?

Thank you in advance.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,636 questions
0 comments No comments
{count} votes