In win10 20H2 version, when installing sql Server 2014 express SP1, Exit code (Decimal): -2068119551 occurs. What should I do?

fangfangdlyuxue 41 Reputation points
2020-10-26T12:09:34.113+00:00

Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -2068119551
Exit facility code: 1211
Exit error code: 1
Exit message: Attempted to perform an unauthorized operation.
Start time: 2020-10-26 13:29:33
End time: 2020-10-26 13:29:54
Requested action: Install
Exception help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.4100.1&EvtType=0xEF814B06%400x92D13C14&EvtType=0xEF814B06%400x92D13C14

Machine Properties:
Machine name: DESKTOP-HNQFNLN
Machine processor count: 4
OS version: Windows 8
OS service pack:
OS region: United States
OS language: 中文(中国)
OS architecture: x64
Process architecture: 32 Bit
OS clustered: No

Product features discovered:
Product Instance Instance ID Feature Language Edition Version Clustered Configured

Package properties:
Description: Microsoft SQL Server 2014
ProductName: SQL Server 2014
Type: RTM
Version: 12
Installation location: C:\FC800M_1.0.0.200602\SQLServer_Setup\x86\setup\
Installation edition: Express

Slipstream: True
SP Level 1

Product Update Status:
Success: KB 3058865

Product Updates Selected for Installation:
Title: Microsoft SQL Server 2014 Express SP1
Knowledge Based Article: KB 3058865
Version: 12.1.4100.0
Architecture: x86
Language: 1033

Update Source: Slipstream

User Input Settings:
ACTION: Install
ADDCURRENTUSERASSQLADMIN: true
AGTSVCACCOUNT: NT AUTHORITY\SYSTEM
AGTSVCPASSWORD: <empty>
AGTSVCSTARTUPTYPE: Automatic
ASBACKUPDIR: Backup
ASCOLLATION: Latin1_General_CI_AS
ASCONFIGDIR: Config
ASDATADIR: Data
ASLOGDIR: Log
ASPROVIDERMSOLAP: 1
ASSERVERMODE: MULTIDIMENSIONAL
ASSVCACCOUNT: <empty>
ASSVCPASSWORD: <empty>
ASSVCSTARTUPTYPE: Automatic
ASSYSADMINACCOUNTS: <empty>
ASTEMPDIR: Temp
BROWSERSVCSTARTUPTYPE: Automatic
CLTCTLRNAME: <empty>
CLTRESULTDIR: <empty>
CLTSTARTUPTYPE: 0
CLTSVCACCOUNT: <empty>
CLTSVCPASSWORD: <empty>
CLTWORKINGDIR: <empty>
COMMFABRICENCRYPTION: 0
COMMFABRICNETWORKLEVEL: 0
COMMFABRICPORT: 0
CONFIGURATIONFILE: C:\FC800M_1.0.0.200602\SQLServer_Setup\ConfigurationFile.ini
CTLRSTARTUPTYPE: 0
CTLRSVCACCOUNT: <empty>
CTLRSVCPASSWORD: <empty>
CTLRUSERS: <empty>
ENABLERANU: true
ENU: true
ERRORREPORTING: false
FEATURES: SQLENGINE, REPLICATION, SNAC_SDK
FILESTREAMLEVEL: 0
FILESTREAMSHARENAME: <empty>
FTSVCACCOUNT: <empty>
FTSVCPASSWORD: <empty>
HELP: false
IACCEPTSQLSERVERLICENSETERMS: false
INDICATEPROGRESS: false
INSTALLSHAREDDIR: C:\Program Files\Microsoft SQL Server
INSTALLSHAREDWOWDIR: C:\Program Files (x86)\Microsoft SQL Server\
INSTALLSQLDATADIR: <empty>
INSTANCEDIR: C:\Program Files\Microsoft SQL Server
INSTANCEID: MSSQLSERVER
INSTANCENAME: MSSQLSERVER
ISSVCACCOUNT: NT AUTHORITY\Network Service
ISSVCPASSWORD: <empty>
ISSVCSTARTUPTYPE: Automatic
MATRIXCMBRICKCOMMPORT: 0
MATRIXCMSERVERNAME: <empty>
MATRIXNAME: <empty>
NPENABLED: 1
PID: *****
QUIET: false
QUIETSIMPLE: true
ROLE: AllFeatures_WithDefaults
RSINSTALLMODE: DefaultNativeMode
RSSHPINSTALLMODE: DefaultSharePointMode
RSSVCACCOUNT: <empty>
RSSVCPASSWORD: <empty>
RSSVCSTARTUPTYPE: Automatic
SAPWD: *****
SECURITYMODE: SQL
SQLBACKUPDIR: <empty>
SQLCOLLATION: sql_latin1_general_cp1_ci_ai
SQLSVCACCOUNT: NT AUTHORITY\SYSTEM
SQLSVCPASSWORD: <empty>
SQLSVCSTARTUPTYPE: Automatic
SQLSYSADMINACCOUNTS: <empty>
SQLTEMPDBDIR: <empty>
SQLTEMPDBLOGDIR: <empty>
SQLUSERDBDIR: <empty>
SQLUSERDBLOGDIR: <empty>
SQMREPORTING: false
TCPENABLED: 1
UIMODE: AutoAdvance
UpdateEnabled: true
UpdateSource: Slipstream
USEMICROSOFTUPDATE: false
X86: false

Configuration file: C:\Program Files (x86)\Microsoft SQL Server\120\Setup Bootstrap\Log\20201026_132919\ConfigurationFile.ini

Rules with failures:

Global rules:

Scenario specific rules:

Rules report file: C:\Program Files (x86)\Microsoft SQL Server\120\Setup Bootstrap\Log\20201026_132919\SystemConfigurationCheck_Report.htm

Exception summary:
The following is an exception stack listing the exceptions in outermost to innermost order
Inner exceptions are being indented

Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException
Message:
Attempted to perform an unauthorized operation.
HResult : 0x84bb0001
FacilityCode : 1211 (4bb)
ErrorCode : 1 (0001)
Data:
WatsonData = Uninstall@Microsoft Edge
DisableRetry = true
DisableWatson = true
Stack:
at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess)
at Microsoft.SqlServer.Configuration.MsiExtension.ArpRegKey.CleanupPatchedProductRegistryInfo()
at Microsoft.SqlServer.Configuration.MsiExtension.SetPatchInstallStateAction.ExecuteAction(String actionId)
at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.<>c__DisplayClasse.<ExecuteActionWithRetryHelper>b__b()
at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(ActionWorker workerDelegate)
Inner exception type: System.UnauthorizedAccessException
Message:
Attempted to perform an unauthorized operation.
HResult : 0x80070005
Stack:
at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess)

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

Accepted answer
  1. Shashank Singh 6,251 Reputation points
    2020-10-26T15:42:05.83+00:00

    If you look at the error

    Attempted to perform an unauthorized operation.
    HResult : 0x84bb0001
    FacilityCode : 1211 (4bb)
    ErrorCode : 1 (0001)
    Data:
    WatsonData = Uninstall@Microsoft Edge
    DisableRetry = true
    DisableWatson = true
    Stack:
    at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess)
    at Microsoft.SqlServer.Configuration.MsiExtension.ArpRegKey.CleanupPatchedProductRegistryInfo()
    at Microsoft.SqlServer.Configuration.MsiExtension.SetPatchInstallStateAction.ExecuteAction(String actionId)
    at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.<>c_DisplayClasse.<ExecuteActionWithRetryHelper>b_b()
    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(ActionWorker workerDelegate)
    Inner exception type: System.UnauthorizedAccessException
    Message:
    Attempted to perform an unauthorized operation.
    HResult : 0x80070005
    Stack:
    at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess

    There are 2 things here

    1. Either your account does not have sysadmin privileges on system where you are installing SQL Server express.
    2. There is anti virus(AV) running on system which is blocking registry access.

    I have seen 2nd case as usual cause. Can you stop the AV, uninstall failed installation and reinstall the SQl Server express. This time make sure you use SQL Server express 2014 Sp1 express 64 bit.

    0 comments No comments

7 additional answers

Sort by: Most helpful
  1. fangfangdlyuxue 41 Reputation points
    2020-10-26T12:19:20.347+00:00

    Is this cause the problem?


  2. AmeliaGu-MSFT 13,986 Reputation points Microsoft Vendor
    2020-10-27T02:20:23.993+00:00

    Hi @fangfangdlyuxue ,

    In addition, you can remove previous failed installation clearly using the steps in this link.
    Please make sure you right-click on setup.exe file and select run as administrator when you want to install the SQL Server 2014 SP1 64 Bit. And please disable any antivirus software temporarily on the machine for the time that the installation is running.

    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.

    0 comments No comments

  3. fangfangdlyuxue 41 Reputation points
    2020-10-27T03:02:09.96+00:00

    Why can sql Server 2014 express SP1 be installed normally without closing AV in win10 1909 version?


  4. fangfangdlyuxue 41 Reputation points
    2020-10-28T01:48:15.547+00:00

    What are the specific changes in AV between the win10 1909 and 20H2 versions
    that will prevent the installation of sql Server 2014 express SP1?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.