Type diskpart at the command prompt and hit Enter.
Type list disk and press Enter to display all connected hard drives.
Make sure you know which disk you want to reset before you continue!
Type select disk # and press Enter (where # is the number of the hard drive you want to reset).