I'm using an Arduino Leonardo connected to a computer running Windows 7 and am experiencing a problem when shutting down Windows.
Arduino software/drivers are version 1.8.3 Windows is freshly installed and is fully up to date The computer is Skylake based -- Core i3 6100 CPU on an Asus H170-Pro Motherboard
I have scanned the computer with Malwarebytes and Norton AntiVirus both of which find no malware.
So here's the problem: Whenever I have the Leonardo plugged into the computer and try to shutdown Windows, the shutdown process hangs. If I leave the computer to sit (after initiating a shutdown), after about 5 minutes, the computer will stop the shutdown process and reboot.
If I unplug the Leonardo before shutting down, the same problem occurs: the shutdown process hangs.
If I boot the computer without the Leonardo connected and don't connect it during the Windows session, I can shutdown the computer with no problems.
The sketch on the Leonardo is not contributing to this problem-- I have uploaded the factory blink sketch and the problems outlined above persist.
I have enabled and disabled XHCI hand-off in the motherboard usb settings in bios, but this does not resolve the problem.
Does anyone have any ideas or suggestions that might solve this problem?