Well, I have the same issue with my Surface 9 2tb wd740.
A lot of bsods during the installation of Windows.
Then turned both parameters in electricity plan as it was discussed above.
Now I still have bsods twice-three times a day.
windows updates are installed....
Any more ideas? I ve tired of it( And I dont wont to return to my 256gb)
Maybe really reinstall the system with the scripts above? Or they just change electricity parameters which i ve already changed?