If jamesj2001's advice doesn't work....
Go to Device Manager, click a "+" sign next to IDE ATA/ATAPI Controllers.
You'll see two items:
- ATA Channel0 (or Primary Channel)
- ATA Channel1 (or Secondary Channel)
Right click on each of them, and click Uninstal. Confirm.
Restart Windows. They'll be automatically reinstalled.