Couldnot Open Key UNKNOWN\Components\. when install SQL2019

Quest 1 Reputation point
2022-05-26T10:23:13.563+00:00

Hi ,

Uninstalled SQL 2016 version completely and install SQL 2019 Developer version in windows 10 , while installing getting the error prompt "Error 1402. Could not open key UNKNOWN\Components.... Verify that you have sufficient access to that key or contact your support personnel " .

I have tried all the suggestion from MIcrosoft forums ,I gave Full Control under adminstrator account and run the query in cmd Prompt "SECEDIT /CONFIGURE /CFG %WINDIR%\INF\DEFLTBASE.INF /DB DEFLTBASE.SDB /VERBOSE /AREAS REGKEYS" and still issue persists. Any help is appreciated.

205845-sl.jpeg

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,675 questions
{count} votes

4 answers

Sort by: Most helpful
  1. Tom Phillips 17,716 Reputation points
    2022-05-26T14:53:33.847+00:00
    2 people found this answer helpful.
    0 comments No comments

  2. Quest 1 Reputation point
    2022-05-26T12:04:32.497+00:00

    205854-summary-145729.txt

    I tried to click that file to check , same error persists with some explanation and when i click the error link it goes to Microsoft website .


  3. CathyJi-MSFT 21,086 Reputation points Microsoft Vendor
    2022-05-27T03:31:19.27+00:00

    Hi @Quest ,

    >Could not open key: UNKNOWN\Components\E76F7102E9174B94484FD2237D1B06C6\7705D418F39C2E248B571707701C689B.
    >Could not open key: UNKNOWN\Components\023B3CE874798074CA60E2B343A45479\4D4F33C25A9E1ED4CAEFA33164E47630.
    >Could not open key: UNKNOWN\Components\1C577CC61E2D0E84E920735D0B9EEA23\763D39D9CC2A8734DB3697FEF37EC687.

    The error is generally caused by insufficient or incorrect permissions on the named registry keys or parent container of such registry keys. Error seen in summary log is pointing to three registry paths. To resolve this issue, select appropriate permission to the Windows Registrys that mentioned in summary log. Note: Back up the registry key before you modify any key in the registry.

    1.Click Start > Run, type regedit, and click OK. The Registry Editor window opens.
    2.Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components. The 'S-1-5-18' key may be different on your computer.
    3.Once you find the registry key (such as E76F7102E9174B94484FD2237D1B06C6) displayed in the error message under components, you need to provide permission for the key.
    Right Click the GUID –> go to Permissions –>
    Click on Advanced –> Click Add –> Type <hostname>\administrators and click Ok –> Click Ok –> Click Ok
    206073-screenshot-2022-05-27-112800.jpg
    206056-screenshot-2022-05-27-112920.jpg

    Refer to the blog SQL SERVER – FIX – Error 1402 – Could not Open Key: UNKNOWN\Components to get detail information.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".


  4. Erland Sommarskog 100.9K Reputation points MVP
    2022-05-27T09:34:15.21+00:00

    Its Corporate environment and using Trend Micro security Agent Anti malware.

    After Uninstall sql 2016 and then install sql 2019 , suddenly got this issue

    It is not implausible that the permissions errors you see are due to Group Policy or (over-)zealous surveillance of the registry from TrendMicro. We certainly have seen cases where the anti-malware software has prevented SQL Server from being installed. Although, the UNKNONWN thing suggests that something is really wonky. But it could be a combination of both.

    Anyway, I suggest that you discuss with your IT department. Possibly, your machine has to be refreshed from your corporation standard image.

    0 comments No comments