It's your XBOX gamepad. Unplug it if wired (or turn it off if wireless), do a reboot (you'll still get the error this time), leave it unplugged or off and then try to get the error. Reboot, restart, sign off, whatever. It won't happen again until you plug the controller back in.
Until it gets fixed officially, I've created a batch files on my desktop that restart Windows Explorer before shutting down or restarting. Here's the code for each. Just open notepad and paste either of the texts into it, and save. Then change the file extension from .txt to .bat
REM Restart Explorer and Reboot
taskkill /F /IM explorer.exe & start explorer
shutdown /r /t 0
or
REM Restart Explorer and Shut Down
taskkill /F /IM explorer.exe & start explorer
shutdown /s /t 0
Run the batch file instead of the normal shutdown or reboot and you won't see the error even with the gamepad plugged in.