usually, you just need to delete the profiles folder and make a new profile in vanilla, but even vanilla doesnt start up.
when startin in windowed mode i get this error:


Explain the exactly what you did, and the exact steps you took."after setting up my new HDD"
Depending on what version of BF2 you had, you have to install BF2, then BF2:SF , then patch 1.41 Full, then patch 1.5,then i installed BF2, installed BF2:SF and then 1.5.
after that, i installed 0.96 part 1-3, then pr 0.96 to 0.97 patch, then mappack, then vietnam, then vietnam patch.