Based on the information given by Microsoft, if you have recently attached a device to your computer, like a camera or portable music player, you can remove the device and restart your computer. Sometimes, Windows cannot repair the computer automatically due to the device being connected.