Novel class of amino pyrimidine thioglycoside derivatives were designed from sodium 2-cyano-3-(arylamino)prop-1-ene-1,1-bis(thiolate) 1a-d and guanidine hydrochloride 2 to afford the corresponding sodium 2,6-diamino-5-aryl-1,2-dihydropyrimidine-4-thiolate 3a-d, which in coupling with peracylated α-D-gluco- and galactopyranosyl bromides 5a,b in DMF gave the corresponding pyrimidine thioglycosides 6a-h. Acidification of 2,6-diamino-5-aryl-1,2-dihydropyrimidine-4-thiolate salts 3a-d with hydrochloric acid formed the corresponding pyrimidine-4-thioles 4a-d. The latter were stirred with peracetylated halo sugars α-D-gluco- and galacto-pyranosyl bromides in sodium hydride and DMF to yield the pyrimidine thioglycosides 6a-h. Deacetylation of the pyrimidine thioglycosides gave the corresponding free pyrimidine thioglycosides 7a-h. The compounds were characterized by 13C NMR, 1H NMR, and IR. The pyrimidine thioglycosides 6a-h and free pyrimidine thioglycosides 7a-h were tested against H5N1 virus strain and exhibited high to moderate activity.