Just did something really stupid along the lines of an rm rf but with my hardware devices on a Windows Server 2008 Standard box. The damage was 25 devices either removed or given the status 'remove on reboot' before I caught what I did and killed the process.
I quickly opened device manager and did a 'scan for hardware changes' which seems to have brought back the hardware I removed, however still all the devices with a 'remove on reboot' status (including my processor) are scheduled to be removed on reboot. If I look at the status of these devices I see the message "The drivers for this device will be uninstalled when the machine is restarted. Any changes you make to this device will not be preserved."
Is there anyway I can cancel these pending uninstalls??