I found the problem, the hard drive i used was not clean, it had os already in it so i used Eraseus software to clean the hard disk and installed Linux [pop os!] any Linux user here!!
I recently found this pc' it did not had HHD in it so i took it a used my 2.5" laptop hhd to boot windows, after entering i can't find intel graphics for i3-8100 so i checked the device manager, i can only find microsoft basic display adaptor. there is no other option even after checking hidden option.
vostro-3470 intel graphics not being detected