Any idea how to resolve an external hard drive error?

Hi all who reads this,

I’m currently trying to install the Unreal Engine 4.18 on my pc (windows 10, fully updated HP laptop) and I originally had it installed on my external hard drive (WD elements 1 TB) but it broke down after I had been careless with it. I deleted the codes and data from my pc and am trying to redowload it , but the launcher Always wants to go to that WD elements external hard drive. I have adjusted all of my maps to my pc’s hard drive , as well as the path-to-follow for any downloads. Any help on how to resolve the issue?