Liju, I second legacydude's suggestion to try a system restore (with all USB devices unplugged till after the restore is complete).
In Windows 7, & I believe Vista also, you just go to the start/fun & type in rstrui & hit enter to bring System Restore up. If XP, type in restore/rstrui.
After the restore, verify if the devices work or not. If this still does not fix the problem, right-click My Computer icon on the start menu & select properties.
Under Device Manager, select Universal Serial Bus controllers, & right-click each one/uninstall. Works best if you either use PS2 style mouse for this, or if not, save the USB mouse for last to remove.
Afterwards, should be able to hit your power button once to cause the computer to automatically start the shutdown sequence. Then, when you power back on, Windows should automatically be able to identify & re-install your USB devices. Works better if you leave all USB external flash/dvd/etc disconnected till all the USB connections are restored.
Other things you may want to do, since there is a reason you had a BSOD.
If your using 98/ME, they do not always run things in separate memory spaces, causing crosslinked files/BSOD's. Upgrade suggested, whether with Windows, or something free like Ubuntu.
If your using Windows 2000, XP is generally better for hardware support/compatibility/stability, etc.
If using Vista/7, could be some incompatible driver that needs an update.
Other things that may cause a BSOD.
- Heat -> Blow the dust out of your computer while it is powered off & disconnected
- Malware -> If you feel you have malware & are uncertain how to remove it, contact a malware moderator up here for assistance
- Drivers -> Old/incompatible drivers or hardware. Update the drivers or hardware.
- Disk Space -> Very low disk space can crash Windows. Make more room on your drive by running CCleaner, removing old restore points, whatever, if your low on disk space.
Let us know if anything helps.
Thanks!