In this case, it’s possible for you to consider disabling the faulty driver.
Right-tap on theStart iconto chooseDevice Managerfrom the drop-down menu.
Expand the category that includes the faulty driver, right-hit the driver and hitUninstall/Disable unit.

Step 3. power cycle your setup to verify if unexpected shutdown and restart exists.
To do so:
Step 1.
PressWin+Sto evoke thesearch bar.

Typemsconfigand hitEnterto launchSystem Configuration.
Under theServicestab, tickHide all Microsoft servicesand hitDisable all.
Under theStartuptab, click onOpen Task Manager.

Disable all startup items inTask Manager.
Go back to theServicestab and then click onApply&OKto save the changes.
Fix 3: Change prefs in Startup and Recovery.

Heres how to do it:
Step 1.
Right-click onThis PCto chooseProperties.
Scroll down to findSystem protectionand hit it.
In theAdvancedtab, hitSettingsunderStartup and Recovery.
UnderSystem failure, untickWrite an event to the system logandAutomatically restart.
UnderWrite an event to the system log, selectnonefrom the drop-down menu.
To fix corrupted system files, you’re free to run a scan withSystem File Checker.
Typecmdin the search bar to locateCommand Promptand right-choose it to chooseRun as administrator.
In the command window, typesfc /scannowand hitEnter.
Heres how to do it:
Step 1.
Typerstruiand click onOKto openSystem Restore.
Click onNext> select a restore point > hitNext> pressFinishto start the process.
Final Words
This post sheds light on causes and solutions forWindows has recovered from an unexpected shutdown.