Windows 10, version 20H2 - Install error code 0x84BB0001

BlazTU 81 Reputation points
2020-11-02T11:12:41.837+00:00

After upgrading Windows 10 till Version 20H2. SQL Server 2019 Cumulative updates (SQLServer2019-KB4577194-x64.exe) failed with error code 0x84BB0001.

I have tried to:
• Remove SQL Server completed with removal from Apps, delete folder C:\Program Files\Microsoft SQL Server, clean up regedit
• Uninstall antivirus program
• Grant more permissions in regedit (Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server)
• Run Framework Repair (FixDotNet20201031150343016.cab)
• Run installation as Administrator permission
• Run installation as Administrator built-un account.

I can install SQL Server 2019 Express (SQLEXPR_x64_ENU.exe), but not the CU (SQLServer2019-KB4577194-x64.exe). The error occurs on multiple computers.

Logs from Setup Bootstrap

(01) 2020-11-01 13:15:51 Slp: Sco: Attempting to open registry subkey Microsoft Edge
(01) 2020-11-01 13:15:51 Slp: Error: Action "Microsoft.SqlServer.Configuration.SetupExtension.InitializeUIDataAction" threw an exception during execution.
(01) 2020-11-01 13:15:51 Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: Det blev forsøgt at udføre en uautoriseret handling. ---> Microsoft.SqlServer.Configuration.Sco.ScoException: Det blev forsøgt at udføre en uautoriseret handling. ---> System.UnauthorizedAccessException: Det blev forsøgt at udføre en uautoriseret handling.
(01) 2020-11-01 13:15:51 Slp: ved Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess)
(01) 2020-11-01 13:15:51 Slp: --- Slut på staksporing af indre undtagelser ---
(01) 2020-11-01 13:15:51 Slp: ved Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess)
(01) 2020-11-01 13:15:51 Slp: ved Microsoft.SqlServer.Configuration.MsiExtension.ArpRegKey.CleanupPatchedProductRegistryInfo()
(01) 2020-11-01 13:15:51 Slp: ved Microsoft.SqlServer.Configuration.MsiExtension.SetPatchInstallStateAction.ExecuteAction(String actionId)
(01) 2020-11-01 13:15:51 Slp: ved Microsoft.SqlServer.Configuration.ProductInstallProperty.GetInstalledPackages(String instanceName, List1& installedInstancePackages, List1& installedSharedPackages, String& returnedErrorMessage)
(01) 2020-11-01 13:15:51 Slp: ved Microsoft.SqlServer.Configuration.ProductInstallProperty.CollectProductData()
(01) 2020-11-01 13:15:51 Slp: ved Microsoft.SqlServer.Configuration.FeatureTreeConfigurationBase.LoadFeatureTreeDefinitionAllInstances()
(01) 2020-11-01 13:15:51 Slp: ved Microsoft.SqlServer.Configuration.FeatureTreeConfigurationBase..ctor(ServiceContainer context, FeatureEdition featureEdition)
(01) 2020-11-01 13:15:51 Slp: ved Microsoft.SqlServer.Configuration.PatchFeatureTree.InitializePatchFeatureTree(ServiceContainer context)
(01) 2020-11-01 13:15:51 Slp: ved Microsoft.SqlServer.Configuration.SetupExtension.InitializeUIDataAction.ExecuteAction(String actionId)
(01) 2020-11-01 13:15:51 Slp: ved Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
(01) 2020-11-01 13:15:51 Slp: ved Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.<>c__DisplayClass2_0.<ExecuteActionWithRetryHelper>b__0()
(01) 2020-11-01 13:15:51 Slp: ved Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(ActionWorker workerDelegate)
(01) 2020-11-01 13:15:51 Slp: --- Slut på staksporing af indre undtagelser ---
(01) 2020-11-01 13:15:51 Slp: ved Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(ActionWorker workerDelegate)
(01) 2020-11-01 13:15:51 Slp: ved Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionWithRetryHelper(WorkflowObject metaDb, ActionKey action, ActionMetadata actionMetadata, TextWriter statusStream)
(01) 2020-11-01 13:15:51 Slp: ved Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
(01) 2020-11-01 13:15:51 Slp: ved Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
(01) 2020-11-01 13:15:52 Slp: Received request to add the following file to Watson reporting: C:\Users\Branel\AppData\Local\Temp\tmpA13C.tmp
(01) 2020-11-01 13:15:52 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
(01) 2020-11-01 13:15:52 Slp: Inner exceptions are being indented
(01) 2020-11-01 13:15:52 Slp:
(01) 2020-11-01 13:15:52 Slp: Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException
(01) 2020-11-01 13:15:52 Slp: Message:
(01) 2020-11-01 13:15:52 Slp: Det blev forsøgt at udføre en uautoriseret handling.
(01) 2020-11-01 13:15:52 Slp: HResult : 0x84bb0001
(01) 2020-11-01 13:15:52 Slp: FacilityCode : 1211 (4bb)
(01) 2020-11-01 13:15:52 Slp: ErrorCode : 1 (0001)
(01) 2020-11-01 13:15:52 Slp: Data:
(01) 2020-11-01 13:15:52 Slp: WatsonData = Uninstall@Microsoft Edge
(01) 2020-11-01 13:15:52 Slp: DisableRetry = true
(01) 2020-11-01 13:15:52 Slp: Stack:
(01) 2020-11-01 13:15:52 Slp: ved Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess)
(01) 2020-11-01 13:15:52 Slp: ved Microsoft.SqlServer.Configuration.MsiExtension.ArpRegKey.CleanupPatchedProductRegistryInfo()
(01) 2020-11-01 13:15:52 Slp: ved Microsoft.SqlServer.Configuration.MsiExtension.SetPatchInstallStateAction.ExecuteAction(String actionId)
(01) 2020-11-01 13:15:52 Slp: ved Microsoft.SqlServer.Configuration.ProductInstallProperty.GetInstalledPackages(String instanceName, List1& installedInstancePackages, List1& installedSharedPackages, String& returnedErrorMessage)
(01) 2020-11-01 13:15:52 Slp: ved Microsoft.SqlServer.Configuration.ProductInstallProperty.CollectProductData()
(01) 2020-11-01 13:15:52 Slp: ved Microsoft.SqlServer.Configuration.FeatureTreeConfigurationBase.LoadFeatureTreeDefinitionAllInstances()
(01) 2020-11-01 13:15:52 Slp: ved Microsoft.SqlServer.Configuration.FeatureTreeConfigurationBase..ctor(ServiceContainer context, FeatureEdition featureEdition)
(01) 2020-11-01 13:15:52 Slp: ved Microsoft.SqlServer.Configuration.PatchFeatureTree.InitializePatchFeatureTree(ServiceContainer context)
(01) 2020-11-01 13:15:52 Slp: ved Microsoft.SqlServer.Configuration.SetupExtension.InitializeUIDataAction.ExecuteAction(String actionId)
(01) 2020-11-01 13:15:52 Slp: ved Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
(01) 2020-11-01 13:15:52 Slp: ved Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.<>c__DisplayClass2_0.<ExecuteActionWithRetryHelper>b__0()
(01) 2020-11-01 13:15:52 Slp: ved Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(ActionWorker workerDelegate)
(01) 2020-11-01 13:15:52 Slp: Inner exception type: System.UnauthorizedAccessException
(01) 2020-11-01 13:15:52 Slp: Message:
(01) 2020-11-01 13:15:52 Slp: Det blev forsøgt at udføre en uautoriseret handling.
(01) 2020-11-01 13:15:52 Slp: HResult : 0x80070005
(01) 2020-11-01 13:15:52 Slp: Stack:
(01) 2020-11-01 13:15:52 Slp: ved Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess)
(01) 2020-11-01 13:24:45 Slp: Watson Bucket 2
Original Parameter Values

(01) 2020-11-01 13:24:45 Slp: Parameter 0 : SQL Server 2019@rtm @KB4577194

(01) 2020-11-01 13:24:45 Slp: Parameter 1 : Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey

(01) 2020-11-01 13:24:45 Slp: Parameter 2 : Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey

(01) 2020-11-01 13:24:45 Slp: Parameter 3 : Microsoft.SqlServer.Configuration.Sco.ScoException@عنتر عبداللطيف على شرقاوى @1

(01) 2020-11-01 13:24:45 Slp: Parameter 4 : System.UnauthorizedAccessException@-2147024891

(01) 2020-11-01 13:24:45 Slp: Parameter 5 : InitializeUIDataAction

(01) 2020-11-01 13:24:45 Slp: Parameter 7 : Uninstall@Microsoft Edge

(01) 2020-11-01 13:24:45 Slp: Parameter 8 : Uninstall@Microsoft Edge

(01) 2020-11-01 13:24:45 Slp:
Final Parameter Values

(01) 2020-11-01 13:24:45 Slp: Parameter 0 : SQL Server 2019@rtm @KB4577194

(01) 2020-11-01 13:24:45 Slp: Parameter 1 : 0x48BB60BC

(01) 2020-11-01 13:24:45 Slp: Parameter 2 : 0x48BB60BC

(01) 2020-11-01 13:24:45 Slp: Parameter 3 : 0xD3BEBD98@عنتر عبداللطيف على شرقاوى @1

(01) 2020-11-01 13:24:45 Slp: Parameter 4 : 0xBB814387

(01) 2020-11-01 13:24:45 Slp: Parameter 5 : InitializeUIDataAction

(01) 2020-11-01 13:24:45 Slp: Parameter 7 : 0xBDFEC019

(01) 2020-11-01 13:24:45 Slp: Parameter 8 : 0xBDFEC019

(01) 2020-11-01 13:24:45 Slp: Sco: Attempting to write hklm registry key Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\150\Setup Bootstrap\Log\20201101_131546\Registry_SOFTWARE_Microsoft_Microsoft SQL Server.reg_
(01) 2020-11-01 13:24:45 Slp: Sco: Attempting to write hklm registry key Uninstall to file C:\Program Files\Microsoft SQL Server\150\Setup Bootstrap\Log\20201101_131546\Registry_SOFTWARE_Microsoft_Windows_CurrentVersion_Uninstall.reg_
(01) 2020-11-01 13:24:45 Slp: Sco: Attempting to write hklm registry key MSSQLServer to file C:\Program Files\Microsoft SQL Server\150\Setup Bootstrap\Log\20201101_131546\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_
(01) 2020-11-01 13:24:45 Slp: Sco: Attempting to write hklm registry key Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\150\Setup Bootstrap\Log\20201101_131546\Registry_SOFTWARE_Wow6432Node_Microsoft_Microsoft SQL Server.reg_
(01) 2020-11-01 13:24:45 Slp: Sco: Attempting to write hklm registry key Uninstall to file C:\Program Files\Microsoft SQL Server\150\Setup Bootstrap\Log\20201101_131546\Registry_SOFTWARE_Wow6432Node_Microsoft_Windows_CurrentVersion_Uninstall.reg_
(01) 2020-11-01 13:24:45 Slp: Sco: Attempting to write hklm registry key MSSQLServer to file C:\Program Files\Microsoft SQL Server\150\Setup Bootstrap\Log\20201101_131546\Registry_SOFTWARE_Wow6432Node_Microsoft_MSSQLServer.reg_
(01) 2020-11-01 13:24:45 Slp: Det blev forsøgt at udføre en uautoriseret handling.
(01) 2020-11-01 13:24:45 Slp: Watson bucket for exception based failure has been created
(01) 2020-11-01 13:24:45 Slp: WER: Application level consent value 'True' was mapped to consent status 'WerConsentApproved'
(01) 2020-11-01 13:24:52 Slp: WER: Result of the submission:: 'WerReportUploaded'
(01) 2020-11-01 13:24:52 Slp: WER: Submitted 1 of 1 failures to the Watson data repository
(01) 2020-11-01 13:24:52 Slp: SetupTelemetry: Writing Telemetry to Datastore
(01) 2020-11-01 13:24:52 Slp:
(01) 2020-11-01 13:24:52 Slp: ----------------------------------------------------------------------
(01) 2020-11-01 13:24:52 Slp:
(01) 2020-11-01 13:24:52 Slp: Error result: -2068119551
(01) 2020-11-01 13:24:52 Slp: Result facility code: 1211
(01) 2020-11-01 13:24:52 Slp: Result error code: 1
(01) 2020-11-01 13:24:52 Slp: SetupTelemetry: Closing Telemetry Session
(01) 2020-11-01 13:24:52 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
(01) 2020-11-01 13:24:52 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\SQMClient
(01) 2020-11-01 13:24:52 Slp: Sco: Attempting to get registry value MachineId
(01) 2020-11-01 13:24:52 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
(01) 2020-11-01 13:24:52 Slp: Sco: Attempting to open registry subkey Software\Microsoft\Microsoft SQL Server\150
(01) 2020-11-01 13:24:52 Slp: SetupTelemetry: Not creating telemetry audit log. Value 'UserRequestedLocalAuditDirectory' doesn't exist in 'HKLM\Software\Microsoft\Microsoft SQL Server\150'
(01) 2020-11-01 13:24:52 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
(01) 2020-11-01 13:24:52 Slp: Sco: Attempting to open registry subkey Software\Microsoft\Microsoft SQL Server\150
(01) 2020-11-01 13:24:52 Slp: Sco: Attempting to get registry value CustomerFeedback
(01) 2020-11-01 13:24:52 Slp: Sco: Attempting to get registry value EnableErrorReporting
(01) 2020-11-01 13:24:52 Slp: SetupTelemetry: Telemetry has an active session with 4 events.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,773 questions
{count} votes

Accepted answer
  1. yottya 86 Reputation points
    2020-11-04T11:57:43.483+00:00

    Hi @BlazTU

    Please get the offline installer for Microsoft Edge (Chromium).
    Once you have it, run Edge installer and then try to run SQL Update again.

    2 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. AmeliaGu-MSFT 13,961 Reputation points Microsoft Vendor
    2020-11-03T07:07:20.043+00:00

    Hi @BlazTU ,

    Please double check you have grant full permissions to below registry keys to the setup account and SQL Service account:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\150\
    And please make sure you have uninstalled all antivirus software temporarily.
    In addition, you can try to change the SQL Server service account and SQL Server Browser account to Local System in SQL Server Configuration Manager before installing CU8 for SQL Server 2019.
    To uninstall Cumulative update, please go to Control Panel\Programs and Features\Installed updates.

    Best Regards,
    Amelia


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    Users always get connection timeout problem when using multi subnet AG via listener. Especially after failover to another subnet