wd10tmvv-11tk7s1 Connectors or adapter help

I am trying to repair this for a freind, the drive can be picked up by his TV and the movies whatched but the PC says that it needs formatting and won’t go any further. I pulled it apart and noticed pins, and was wondering if I can use these to connect it primarily to the PC ( Photo Attached ) any help would be appreciated