The laptop shuts down while installing Windows. The installation process runs fine for a while but after some time the laptop shuts down on its own. Same problem happens if you start the installation process again.
1. Laptop overheating.
2. Memory failure.
It’s possible that the laptop shuts down on its own because of overheating. Take a look inside the cooling module. If the cooling fan and heat sink are dirty and clogged with dust, clean it with compressed air. After the cooling module is cleaned, try installing the operating system again.
Also, this problem could be related to the memory failure. Test laptop memory with Memtest86+ utility. If it fails test, replace the memory module.
If you have two memory modules installed in the laptop, remove them one by one and try installing Windows with only one memory module in place. If one of the memory modules is bad, the installation process will run smoothly when this module is removed.