Hi
Welcome to Microsoft community.
I understand how frustrating it can be to encounter installation errors when trying to reset or reinstall Windows. The error message you’re seeing typically indicates that there is a problem with the installation process. Let’s go through some troubleshooting steps to help you resolve this issue. Check BIOS Settings:Restart your computer and enter the BIOS/UEFI settings (usually by pressing F2, Delete, or Esc right after powering on).Look for settings related to SATA Mode. If it's set to RAID, try changing it to AHCI. This can sometimes help with installation issues. Save the changes and exit the BIOS. Create a Bootable USB Drive:If you haven’t already, create a bootable USB drive with the Windows 10 installation media.You can use the Windows Media Creation Tool from the Microsoft website to create the USB drive. Make sure to select the correct version of Windows that matches your current installation. Boot from the USB Drive:Insert the bootable USB drive and restart your computer.Enter the BIOS again and ensure that your USB drive is set as the primary boot device. Save changes and exit. Run Installation:When the Windows installer loads, ***select Repair your computer.***Go to Troubleshoot > Advanced options > Command Prompt.In the Command Prompt, type the following commands one by one and press Enter after each: diskpart
This will open the DiskPart utility. Type:
list disk Identify your main disk (usually Disk 0) and type: select disk 0
Now, type:
clean
This will erase all data on the disk, so make sure you have backups if needed. Next, type: convert gpt Finally, type: exit Restart and Install Windows:Exit the Command Prompt and select Install Windows from the setup menu. Follow the prompts to install Windows. Check for Hardware Issues:If the installation still fails, it may be worth checking for hardware issues, such as faulty RAM or a failing hard drive. You can use tools for RAM and the built-in Windows Check Disk utility for your hard drive. Ensure that your BIOS is up to date. Sometimes BIOS updates can resolve installation issues. If you still encounter issues after these steps, consider resetting BIOS settings to default to rule out any misconfigurations.
Disclaimer: Microsoft provides no assurances and/or warranties, implied or otherwise, and is not responsible for the information you receive from the third-party linked sites or any support related to technology.
If you are going to modify BIOS Settings, please back up all your personal files first to ensure you do not lose data. If the problem persists or you encounter new error messages, please let me know, and we can explore further troubleshooting options. Thank you for your patience, and I hope this helps you get your computer back up and running! Best regardsDerrick Qian | Microsoft Community Support Specialist