OneDrive being the root cause is an interesting theory. I also use OneDrive. I'll disable it and retest. Also, the blue-screen and unexpected reboots only started happening after the latest Windows 10 Build 1909 update came out. I've been having this
problem only since early April when my original Surface Laptop 3 upgraded to that build.
I have the Surface Laptop 3, 15" with AMD Ryzen 7 processor. I've been able to repro the crash/blue-screen/reboot consistently.
The computer will go to sleep after X minutes. Once it goes to sleep (not just the monitor turning off, but the laptop going to sleep which you can check in
Power & sleep settings and you can also assign your power button to force the laptop to sleep which makes reproducing this issue easier. So for these experiments, I used the power button, but letting it sleep on it's own also reproduced the
issue.
Pressing the power button and letting it it go sleep for 2 minutes or less, the laptop would wake up quickly, see who I am and log me in without issue. All my windows and apps I had open are still open.
Pressing the power button and letting it go to sleep for 3 minutes or more, I've seen these behaviors:
- After it wakes up, the screen is black and the windows logo screen is shown and boots up from what sleeps like an unexpected shutdown. It logs me in and all my apps/browsers are closed. Opening Chrome, it says "Restore pages? Chrome didn't shut down
correctly." with a restore button. For Edge Chromium, it says "Restore pages? Microsoft Edge closed unexpectedly." with a restore button.
- After it wakes up, I see my apps but the background of my desktop wallpaper is blank (blue) and the computer isn't responding. Shortly after (about 10 seconds), a blue-screen with a frowny face appears stating ":( Your PC ran into a problem and needs
to restart. We're just collecting some error info, and then we'll restart for you." It flashes a scan code briefly but nowhere near long enough to take a picture of it or try and use it (what's the point of showing a scan code you could never use?) It restarts
the laptop and after logging back in, my apps are all closed. Again Chrome and Edge ask me if I want to restore tabs.
- After it wakes up, I see the Cortana eye trying to find me and she seems stuck and unresponsive. Then the computer blue-screens like in #2 and reboots.
- Only one time did I notice that the laptop rebooted in the middle of sleeping at about the 3 minutes marks without me trying to wake it up... After showing the windows logo like when you restart the laptop, it then goes back to sleep. When I do touch
the mousepad to wake up, it logs me in and no apps are open. Opening Chrome or Edge ask me to restore pages.
I was on a support call with Microsoft Surface Tech Support team on April 20th and they had me download a troubleshooting app and scanned the harddrive for errors and when those didn't help they had me re-image the laptop. The problem above still occured
(though I believe I still had OneDrive enabled). They replaced the laptop which I received a new one a few days ago.
The new laptop is doing exactly the same thing. It actually worked the first day just fine and maybe the 2nd day. Upon the 2nd or 3rd day I noticed my apps gone and Chrome/Edge asking to restore pages... oh boy, here we go again. And this is when I started
the experiments and discovered how easy it was to repro this after the laptop goes to sleep for 3 minutes.
Now I'm going to try the experiments again with OneDrive disabled... I'll report shortly.