Yes. You say your hard drive IS going bad? So get a new drive. Install it as C or primary master with the OS on it, and connect the old drive as D or primary slave. If the old drive can be read by the new operating system you may be able to save the files to the new drive