After you close the drive, in some instances the drive SHALL be connected to where the old drive D was, or there will be trouble. As to wiping the old drive, well, many ways to do that but a few missing details and I can't tell what app gave you the errror.
Hey I just cloned my old D hard drive which I was using as a place to put all programs since my C is a ssd boot disc and after I cloned my old D drive to a new one because on reboots the sata drive could not be seen by the bios and now I can't change my old D drive to a different drive letter so I can change the new Hard drive to d. I get an error that says the parameter is incorrect. Also I can't format the old drive either. Any help would be greatly appreciated and if you need more info feel free to ask.