Microsoft no longer officially supports Windows 10, so do this if you want to keep using your older PC securely.
To get your Primogems, you'll first have to redeem your Genshin livestream codes, which means reaching Adventure Rank 10.