Kodi error after Windows 10 restart

I don’t know where I should post this, but I really hope it is ok.
I don’t use Kodi that much but yesterday was the first time I saw this error when opening Kodi “ERROR: Exception caught on main loop. Exiting

The problem only occurs when I run Kodi with my GPU (GTX 560M) and it does not happen with my integrated graphics (Intel 3000 HD)
So I guess there are some GPU issues. I can enter Kodi if I reinstall my GPU drivers and never restart since the problems occurs when I restart but does get fixed when I reinstall the driver.
I can also run Kodi if I only run it with my Intel 3000 HD graphics which I really don’t want to.

I don’t know if this is a Windows 10 issue or a Nvidia issue or a Kodi issue.
After the last big “windows anniversary update” that was on Windows 10, I noticed that Windows changed some settings. Like it was resetting everything. Some drivers was even uninstalled.
I wonder if something gets turned off when I restart my laptop.

I really don’t know and I’m wondering if anyone here knew anything about it.