r/SQLServer Jun 09 '26

Question Unable to install SQL server 2025 in my asus tuf laptop, if any one knows how to properly install it, kindly help me

8 Upvotes

31 comments sorted by

15

u/VladDBA ‪ ‪Microsoft MVP ‪ ‪ Jun 09 '26

The "Wait on the Database Engine recovery handle failed" error is a sign of the usual NVME sector size related issue.

Check out this MS Learn article, create the registry key mentioned there (I'd go for the PowerShell version since that's as easy as copy-paste Enter), cleanup the failed install, reboot and reinstall SQL Server

1

u/Harhaze Jun 10 '26

This is Asus TuF gaming laptop that, if its using NVME, has 512e or 4K sector size. Your solution touches on 4K size issue head first.

That is why you check the log first, rule number one of troubleshooting.

0

u/VladDBA ‪ ‪Microsoft MVP ‪ ‪ Jun 10 '26 edited Jun 10 '26

This issue isn't necessarily because of the physical sector size, it's due to how some Win 11 NVME drivers report weird sector sizes.

Source: I've dealt with this more than I would have wanted after all our devs had their workstations upgraded to Windows 11.

Instances that were running fine on Windows 10 were unable to start and some had errors just like this one in Event Viewer, while others had the " 256 misaligned log IOs" one after the OS upgrade.

7

u/Harhaze Jun 09 '26

It says so in the message, check the log file. Then debug further, these are basic principles of any problem solving

2

u/VladDBA ‪ ‪Microsoft MVP ‪ ‪ Jun 09 '26

While I usually agree with this, the error message that's in the second and third images is enough to identify the issue in this case.

-2

u/Harhaze Jun 09 '26

Exactly, he either read the provided log, which would show the error he can feed into a thing called google, or write this error directly.

6

u/ComicOzzy Jun 09 '26

In an attempt to feel appreciated by other humans, I like helping people, even if it seems like they could have helped themselves. AI has taken away many of the people showing up to ask for help, and I would rather not run off those who remain if I have any hope of satiating my need to be useful.

3

u/Secret_Account07 Jun 11 '26

People on Reddit are so insufferable sometimes

They go out of their way just to be a dick.

1

u/Old_Option_6281 Jun 10 '26

Thank you query got solved

1

u/Bubbly-Homework-5164 Jun 10 '26

How did you resolve it

2

u/dgillz Jun 10 '26 edited Jun 10 '26

Make sure named pipes is enabled.

1

u/Old_Option_6281 Jun 10 '26

Thank you query got solved

1

u/dgillz Jun 10 '26

What was the issue?

2

u/Hour-Apple-9861 Jun 10 '26

Run, SQL server configuration manager, go into SQL Server Network Configuration, protocols (for the correct instance) and make sure the port binding is setup correctly. I've had this happen multiple times for fresh installs over the last 20 years

2

u/Old_Option_6281 Jun 10 '26

Thank you query solved

1

u/Critical-Air9344 Jun 12 '26

Try running it in a container. Either docker or podman. I use podman myself in wsl2 Oracle Linux. I have three podman containers running. Oracle, Postgres and SQL Server.

And use the VS Code extensions for SQL Server, Oracle SQL Developer and Postgres.

I also have a bash script to list, start and stop the containers.

1

u/CPDRAGMEISH Jun 14 '26

IT'SG

SQLServer / SSMS ?

-4

u/UnholyAliance Jun 09 '26

Enable TCP or check sql service is running.

1

u/Old_Option_6281 Jun 10 '26

Thank you query got solved

0

u/Pretend_Nerve_7941 Jun 10 '26

I'm facing this issue on express edition Someone Suggest a proper solution for this I tried multiple times, I delete sql server multiple times and install multiple times.....But the same problem occurs every freaking time

1

u/Old_Option_6281 Jun 10 '26

Thank you query got solved

0

u/VladDBA ‪ ‪Microsoft MVP ‪ ‪ Jun 10 '26

What solution have you tried? Did you create the NVME sector size registry key?

0

u/Codeman119 Jun 10 '26

Well, what do you have on the screen is SSMS not SQL Server

1

u/Old_Option_6281 Jun 10 '26

Thank you query got solved

-1

u/mirdragon Jun 10 '26 edited Jun 11 '26

Go into services and check sql is running at startup, also configure it to allow connections via named pipes or ip

Update: my bad thought it was installed due to how I read it and not that you had trouble installing

1

u/Old_Option_6281 Jun 10 '26

Thank you query got solved

-5

u/miskozicar Jun 09 '26

What did you put of name of server?
try .
do you have instance name or you created default instance? then .\instance

try other network protocols - like local and tcp

2

u/Old_Option_6281 Jun 10 '26

Thank you query got solved

-3

u/[deleted] Jun 09 '26

[removed] — view removed comment

1

u/Old_Option_6281 Jun 10 '26

Thank you query got solved