You erased your sound device? Go to:
Start>settings>Control Panel>System>Hardware>Device Manager
and right-click the "Sound, Video and Game Controllers" entry. Select "Scan for hardware changes"
Your sound device should be discovered and the drivers put back in.. unless you manually went around deleting all the drivers you could find.