That depends on how ‘dead’ the computer is. If the hard drive is healthy, you can remove it and connect it to another computer as an external device to recover the files. Furthermore, if some data was deleted in the process, you can restore the deleted files from Windows 10 and 11 drives using the data recovery tool Disk Drill. If the drive is no longer booting or being recognized, refer to a data recovery specialist.