[Solved] Recovering SQL database when OS crashed

sanforall Asks: Recovering SQL database when OS crashed
I was working on a DB design its almost finished. But missed to take a backup. While working due to some reason my OS got crashed (Win 10) and nothing helped to recover it.

But I am able to access the hdd contents when connecting in another PC.

So is there is anyway to recover the DB using an SQL server express installation on that PC.

On googling I have found there is some attach option using MDF files

But I am not able to find the MDF files in the Program FilesMS SQL server folder

Where SQL server express 2019 is storing MDF files by default?

Ten-tools.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your response here to help other visitors like you. Thank you, Ten-tools.