Hi! I encountered the same problem after updating my windows 10 and nvidia gtx1050. FYI i decided to update my system because the game crashed out of nowhere (freezing screen and buzzing-freezing sound); but alas, I encountered another problem instead.

I tried to roll back the windows update, the error persisted.

I tried to rollback the driver update, the error persisted.

One thing that i noticed is that after i updated my windows, the game resolution changed by itself. It seems like the new update kinda mess with the screen resolution and stuffs. My FFXIV UI was getting smaller and IDK.

But luckyly after i did what you suggested, the error is gone. Hopefully I wont encounter something like this again in the future. I have reinstalled both windows and nvidia update to the latest version and the error message is no longer there after i close my game.

ps: my error messages appear whenever i close my game; be it on borderless or full screen window. There are two messages, the first one is the unexpected error with "kernel dll" and the second one is a fatal error. I haven't done any further tests after the issue was resolved. But ill keep you guys updated.