I'm gonna build a new pc

Solution
Yeah it will have data but you need to format the c drive and install Windows for proper compability. So if you have any files in c drive, make a backup copy