Ethyl-4-thienyl-6-phenyl-2-oxo-1,2,3,4-tetrahydropyrimidine carboxyl ate (4) was obtained by the reaction of thiophene-2-carbaldehyde, urea and ethylbenzoylacetate. Reaction of (4) with phosphorous oxy chloride followed by hydrazine hydrate afforded the hydrazide (6), condensation of (6) with D-glucose followed by acetylation gave the acetylated compound (8), which cyclized into triazolopyrimidine derivatives (9) in presence of bromine/acetic acid the deprotection of compound (9) in presence of TEA/MeOH afforded the deprotected compound (10). Selected members of the compounds were screened for antimicrobial activity.