Share via

Getting error while Installing SQL Server 2022

Bhavish Rohilla 0 Reputation points
2023-09-07T18:10:30.3666667+00:00

I am getting an error while installing the SQL Server with the error code - 2064908287.
Packages are downloaded successfully but unable to install. I am attaching a screenshot of the error. The log file too didn't help me in solving the error.

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories


1 answer

Sort by: Most helpful
  1. Erland Sommarskog 134.7K Reputation points MVP Volunteer Moderator
    2023-09-13T21:01:52.26+00:00

    This appears to be the key line:

    PerfLib 2.0 counter removal failed with exit code 2. Command line: C:\WINDOWS\system32\unlodctr.exe /m:hkengperfctr.xml from directory C:\Program Files\Microsoft SQL Server\160\Shared.

    Error 2 is usually "File not found". Can you check whether you have a file C:\Program Files\Microsoft SQL Server\160\Shared\hkengperfctr.xml?

    Then again, my reading of the log file is that although this operation fails, Setup still seems to jog along and complete its work. Which kind of making sense, because the PerfCounter removal is not likely to be critical.

    Have you tried connecting to one of your quite many SQL Server instances? What do you see in the SQL Server Configuration Manager?

    (Also, please use comments to post any answers to my question. The Answer window is for answers to the original problem.)

    Was this answer helpful?

    0 comments No comments

Your answer

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