Update to the latest build of Win 10 and the error goes away
Microsoft Windows 10 Core x64 Edition, (10.00.15063.00)
This is The Windows 10 Creators Update. Go to Settings and Windows updates. You will see a line "Good news! The Windows 10 Creators Update is on its way. Want to be one of the first to get it?" Click the link, down load the Windows 10 Upgrade assistant and run it. It takes an hour or so to update but takes care of the run time error every time you close the program