When using DISKPART I accidentally used the CLEAN command on my portable WD 500gb HDD. Now it is not showing as a drive in my computer, though shows as unallocated space in Disk Management.
Thanks for your help
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
testdisk might be able to fix that.
If there's data on the disk that needs to be recovered, don't do this!
You'll need to recreate a partition and format it. Diskpart is capable of doing both:
select disk 1or whatever number refers to your hard drive, use
list diskto find out.
create partition primarywill create one large partition. Use
help create partition primaryfor more options.
select partition 1
format quickto create the file system. Once again, check
help formatfor more options.