Hello there, this is Emily.
Based on the issue you described, it is very likely to be a hardware issue with the WD itself, considering it doesn't work on any device, and the error message suggests hardware issue.
Normally there's command to run to check health status of the drive, but without having the drive letter assigned at this moment, none of those commands will help in your situation.
I will definitely recommend you seek out local repair or contact WD support. I don't think this is an issue that can be resolved as a Windows issue. I am sorry. Good luck!