It was set for ATA.  Anyway, solved the problem - turns out it wasn't the hard drive that windows installation had problems with - it was the pendrive. Switching it from usb 3.0 spot to usb 2.0 solved the problem.
Alright so, I installed ubuntu on my dell latitude e6230, wiping the whole drive. Recently I've been wanting to go back to windows. Since the windows product key on the back of my laptop is for a pre-installed windows, I couldn't download it straight from microsoft website. After contacting their support, they gave me a download link for a win7 iso, so I thought the problem was solved. However, during installation I get 0x80070570 error at 1% of installation.   Couldn't solve that problem on my own, so I contacted MS support again, this time they told me that the installer they gave me WON'T work because I need OEM iso from dell, and told me to get it from Dell support - apparently it worked for other people.  So, my questions are:  - What do you guys think about it? - Where do I get the win7 oem iso?
Win7 clean install problems, oem iso download