WD Blue SA510 unusable after running gparted

I have a WD Blue SA510 installed in my PC. It has performed well for a month.
I wanted to install Windows 7 so in order to wipe the drive clean I ran gparted to delete the partitions. After I did this, I attempted to install Windows 7 from a bootable USB. The installation failed. As a test, I used a spare San Disk internal SSD and the windows 7 installation was successful.
Is there a way to recover the drive and set back to factory defaults.

Thanks for any assistance,
Bob W

Hi @Kn4hh ,

Kindly refer to the below article Microsoft Windows 7: End of Support:

Please contact the WD Technical Support team for best assistance and troubleshooting:https://support-en.wd.com/app/ask