Registry_error bsod

I am getting REGISTRY_ERROR BSOD on my PC. It all started with PC being idle for more than 4 minutes, upon which it starts going bananas. I have Windows 10 preview build so I have no idea why being idle is so bad for my PC right now (Win 10). Something is using up my CPU a lot, causing crashes. My prime suspect is Windows Defender but turning it off did not help. Ideas?

In start menu search task scheduler and In the left pane, double-click on Task Scheduler Library and find Microsoft and the Windows then locate and double click on .NET Framework and in right pane disable task When computer is idle under Triggers

BSOD (Blue Screen of Death) mostly occurred when Windows unexpectedly shutdown, and the BSOD occurs, then a registry_error shows on screen.
Solution
Disable all .Net Framework tasks
Open Start Menu
Search Task Scheduler and click the same
In left panel double click on Task Scheduler Library
Double click on Microsoft
Double Click on Windows
Locate .Net Framework sub folder to display contents
Right Click on all .Net Framework tasks that have when compute is idle under Triggers and click on Disable
Close and you will never see BSOD again

What is the error code did you see on the Blue Screen?

If you receiver a Blue Screen with a error message REGISTRY_ERROR bug, that indicates that a severe registry error has occurred. In other words something has gone wrong with the registry. This error may indicate that the registry encountered an I/O error while trying to read one of its files. This can be caused by hardware problems or file system corruption. Try the below mentioned troubleshooting steps and check if it helps.

Method 1:

Use the DISM tool and System File Checker for repairing any missing or corrupted system files if they are causing the issue.

  1. Click Start .
  2. Type cmd , and then press CTRL+SHIFT+ENTER to open elevated command prompt (I.e. Command prompt with admin rights).
  3. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue .
  4. Type or copy paste the below command lines into it and hit Enter key:

DISM.exe /Online /Cleanup-image /Scanhealth

DISM.exe /Online /Cleanup-image /Restorehealth

sfc /scannow

To close the Administrator: Command prompt window, type Exit, and then press Enter. Reboot your system to see if problem still occurs.

Method 2:

I see you telling that the problem started recently after windows updates. If an app or update that you recently installed caused problems with your PC, you can restore Windows back to an earlier point in time, called a restore point. System Restore doesn’t change your personal files, but it might remove recently installed apps and drivers.

Note: Windows automatically creates a restore point when you install desktop apps and new Windows updates, if the last restore point is older than 7 days. You can also create a restore point manually at any time.

To restore your PC to an earlier point in time

  • Press Windows Key + R to open run command

  • Type rstrui and hit Enter key.

  • Select Recommended Restore or any other restore point prior to the windows updates installed and click Next

***** Follow the instructions to restore your PC to earlier and see if it works fine.