Good morning, I have trouble starting the configuration of "Post-deployment Configuration"
Could you please help me
I attach the error log
Thank you
2022-02-21 09:38:58 Postinstall started
2022-02-21 09:38:58 Detected role services: Api, UI, WidDatabase, Services
2022-02-21 09:38:58 Start: LoadSettingsFromXml
2022-02-21 09:38:58 Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentLocal
2022-02-21 09:38:58 Value is true
2022-02-21 09:38:58 End: GetConfigValue
2022-02-21 09:38:58 Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentDirectory
2022-02-21 09:38:58 Value is E:\Wsus
2022-02-21 09:38:58 End: GetConfigValue
2022-02-21 09:38:58 Content directory is E:\Wsus
2022-02-21 09:38:58 Database roleservice is not installed
2022-02-21 09:38:58 End: LoadSettingsFromXml
Post install is starting
2022-02-21 09:38:58 Start: Run
2022-02-21 09:38:58 Fetching WsusAdministratorsSid from registry store
2022-02-21 09:38:58 Value is S-1-5-21-1675393580-1428064767-1266305033-1559
2022-02-21 09:38:58 Fetching WsusReportersSid from registry store
2022-02-21 09:38:58 Value is S-1-5-21-1675393580-1428064767-1266305033-1560
2022-02-21 09:39:09 Configuring content directory...
2022-02-21 09:39:09 Configuring groups...
2022-02-21 09:39:09 Starting group configuration for WSUS Administrators...
2022-02-21 09:39:09 Found group in regsitry, attempting to use it...
2022-02-21 09:39:10 Searching for existing group...
2022-02-21 09:39:10 Existing group was found
2022-02-21 09:39:10 Writing group to registry...
2022-02-21 09:39:10 Finished group creation
2022-02-21 09:39:10 Starting group configuration for WSUS Reporters...
2022-02-21 09:39:10 Found group in regsitry, attempting to use it...
2022-02-21 09:39:10 Searching for existing group...
2022-02-21 09:39:10 Existing group was found
2022-02-21 09:39:10 Writing group to registry...
2022-02-21 09:39:10 Finished group creation
2022-02-21 09:39:10 Configuring permissions...
2022-02-21 09:39:10 Fetching content directory...
2022-02-21 09:39:10 Fetching ContentDir from registry store
2022-02-21 09:39:10 Value is E:\Wsus
2022-02-21 09:39:10 Fetching group SIDs...
2022-02-21 09:39:10 Fetching WsusAdministratorsSid from registry store
2022-02-21 09:39:10 Value is S-1-5-21-1675393580-1428064767-1266305033-1559
2022-02-21 09:39:10 Fetching WsusReportersSid from registry store
2022-02-21 09:39:10 Value is S-1-5-21-1675393580-1428064767-1266305033-1560
2022-02-21 09:39:10 Creating group principals...
2022-02-21 09:39:11 Granting directory permissions...
2022-02-21 09:39:12 Granting permissions on content directory...
2022-02-21 09:39:12 Granting registry permissions...
2022-02-21 09:39:12 Granting registry permissions...
2022-02-21 09:39:12 Granting registry permissions...
2022-02-21 09:39:12 Configuring shares...
2022-02-21 09:39:12 Configuring network shares...
2022-02-21 09:39:12 Fetching content directory...
2022-02-21 09:39:12 Fetching ContentDir from registry store
2022-02-21 09:39:12 Value is E:\Wsus
2022-02-21 09:39:12 Fetching WSUS admin SID...
2022-02-21 09:39:12 Fetching WsusAdministratorsSid from registry store
2022-02-21 09:39:12 Value is S-1-5-21-1675393580-1428064767-1266305033-1559
2022-02-21 09:39:12 Content directory is local, creating content shares...
2022-02-21 09:39:12 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."
2022-02-21 09:39:13 Deleting existing share...
2022-02-21 09:39:13 Creating share...
2022-02-21 09:39:13 Share successfully created
2022-02-21 09:39:13 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."
2022-02-21 09:39:13 Deleting existing share...
2022-02-21 09:39:13 Creating share...
2022-02-21 09:39:13 Share successfully created
2022-02-21 09:39:13 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."
2022-02-21 09:39:13 Deleting existing share...
2022-02-21 09:39:13 Creating share...
2022-02-21 09:39:13 Share successfully created
2022-02-21 09:39:13 Finished creating content shares
2022-02-21 09:39:13 Stopping service WSUSService
2022-02-21 09:39:13 Stopping service W3SVC
2022-02-21 09:39:13 Configuring WID database...
2022-02-21 09:39:13 Configuring the database...
2022-02-21 09:39:14 Establishing DB connection...
2022-02-21 09:39:14 Checking to see if database exists...
2022-02-21 09:39:15 Database exists
2022-02-21 09:39:15 Switching database to single user mode...
2022-02-21 09:39:17 Loading install type query...
2022-02-21 09:39:17 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
2022-02-21 09:39:18 Install type is: Reinstall
2022-02-21 09:39:19 Creating logins...
2022-02-21 09:39:19 Fetching account info for S-1-5-20
2022-02-21 09:39:19 Found principal
2022-02-21 09:39:19 Found account
2022-02-21 09:39:19 Got binary SID
2022-02-21 09:39:19 Fetching WsusAdministratorsSid from registry store
2022-02-21 09:39:19 Value is S-1-5-21-1675393580-1428064767-1266305033-1559
2022-02-21 09:39:19 Fetching account info for S-1-5-21-1675393580-1428064767-1266305033-1559
2022-02-21 09:39:19 Fetching account info for S-1-5-21-1675393580-1428064767-1266305033-1559
2022-02-21 09:39:19 Found principal
2022-02-21 09:39:19 Found account
2022-02-21 09:39:19 Got binary SID
2022-02-21 09:39:19 Setting content location...
2022-02-21 09:39:19 Fetching ContentDir from registry store
2022-02-21 09:39:19 Value is E:\Wsus
2022-02-21 09:39:21 Swtching DB to multi-user mode......
2022-02-21 09:39:24 Finished setting multi-user mode
2022-02-21 09:39:24 Writing DB settings to registry...
2022-02-21 09:39:24 Disposing Connection
2022-02-21 09:39:24 Clearing Connection Pools
2022-02-21 09:39:24 Marking PostInstall done for UpdateServices-WidDatabase in the registry...
2022-02-21 09:39:24 Starting service W3SVC
2022-02-21 09:39:25 Configuring IIS...
2022-02-21 09:39:25 Start: ConfigureWebsite
2022-02-21 09:41:25 System.Runtime.InteropServices.COMException (0x80080005): Server execution failed
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at Microsoft.UpdateServices.Administration.UseCustomWebSite..ctor()
at Microsoft.UpdateServices.Administration.PostInstall.ConfigureWebsite(Int32 portNumber)
at Microsoft.UpdateServices.Administration.PostInstall.Run()
at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
Fatal Error: Server execution failed