Before we get started with the steps, first try and reinstall Minecraft to ensure there are no corrupt files causing issues. Make sure you save your worlds properly so you don't lose any progress.
Update Java if the blue screen happens when launching the Java version of Minecraft. Use the latest Java installer on Windows: Make sure you are logged in to the Xbox and MS Store apps with matching ...