Unable to install SQL Server (setup.exe) Exit code (Decimal). -2147467259. Error description: Unknown error (0xe0000235)

Abhishek 0 Reputation points
2023-12-24T18:05:43.92+00:00

Hi,

I'm having an error when I install Microsoft SQL Server on my Windows 11 Virtual Machine.

Unable to install SQL Server (setup.exe) Exit code (Decimal). -2147467259. Error description: Unknown error (0xe0000235). Hope you can help.

Detail.txt

Summary_WINDOWS-VM0G7E8_20231225_044458.txt

SQL Server | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Morad Aziz 80 Reputation points
    2023-12-25T14:02:28.07+00:00

    Go to start enter cmd.exe in the search field and run as admin.

    Then enter the following line:

    reg add "HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device" /v "ForcedPhysicalSectorSizeInBytes" /t reg_multi_sz /d "* 4095" /f

    This registry key will force the sector size to 4095. Reboot your PC, go back to the command prompt and enter this time:

    fsutil fsinfo sectorinfo c:

    This should now return 4096 as in the screenshot below. Afterwards I was able to install the SQL server without any issues. Good luck!


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.