A series of novel 4-amino-5-mercapto-3-[(3-aralkyl amido/imidoalkyl) phenyl]-1,2,4-triazoles (5a-d) were obtained by treating m-(aralkyl amido/imidoalkyl) benzoic acid hydrazides (3a-d) with carbon disulphide in alcoholic KOH and hydrazine hydrate, respectively. These triazole derivatives were employed in the synthesis of 5-[(3′-aralkyl amido/imidoalkyl) phenyl]-1,2,4-triazolo[3,4-b]-1,3,4-thiadiazines (6a-d). The newly synthesized compounds were evaluated for their antiviral activity against two animal viruses, namely, Japanese encephalitis virus (JEV) strain P20778 and herpes simplex virus-1 (HSV-1) strain 753166.