Based on the complexity of your situation, it seems there could be multiple factors contributing to the issues. While a clean install of Windows may help, there are several steps you might want to consider before going down that route again:
- Hardware Diagnostics:
- Test your SSD using dedicated tools like CrystalDiskInfo or Samsung Magician to check for errors or failing sectors.
- Run diagnostics for your RAM using tools like MemTest86, as one module has already failed.
- Check motherboard and processor temperatures to rule out overheating issues using software like HWMonitor.
- System File Integrity:
- Run and
Code:
DISM /Online /Cleanup-Image /RestoreHealth
commands in Command Prompt to repair corrupted system files.
- Windows Defender and Antivirus Conflicts:
- Temporarily disable Defender's real-time protection in settings to regain control over Avast. If that works, verify the compatibility between Defender and Avast.
- Boot into Windows Safe Mode using
Code:
Shift + Restart > Troubleshoot > Advanced options
to troubleshoot further if Safe Mode becomes functional.
- Virus Check:
- Use a bootable antivirus disk (e.g., Kaspersky Rescue Disk) to scan your PC offline and rule out malware.
- Event Log Review:
- Identify recurring error codes in the Event Viewer (once accessible) to pinpoint the root cause.
- Motherboard and SSD Suspicions:
- If hardware diagnostics reveal no issues and viruses are ruled out, the motherboard could have failing components, or the SSD controller might be at fault.