[en] Bacterial peptidoglycan glycosyltransferases (GTs) of family 51 catalyze the polymerization of the lipid II precursor into linear peptidoglycan strands. This activity is essential to bacteria and represents a validated target for the development of new antibacterials. Application of structure-based virtual screening to the National Cancer Institute library using eHits program and the structure of the glycosyltransferase domain of the Staphylococcus aureus penicillin-binding protein 2 resulted in the identification of two small molecules analogues 5, a 2-[1-[(2-chlorophenyl)methyl]-2-methyl-5-methylsulfanylindol-3-yl]ethanamine and 5b, a 2-[1-[(3,4-dichlorophenyl)methyl]-2-methyl-5-methylsulfanylindol-3-yl]ethanamine that exhibit antibacterial activity against several Gram-positive bacteria but were less active on Gram-negative bacteria. The two compounds inhibit the activity of five GTs in the micromolar range. Investigation of the mechanism of action shows that the compounds specifically target peptidoglycan synthesis. Unexpectedly, despite the fact that the compounds were predicted to bind to the GT active site, compound 5b was found to interact with the lipid II substrate via the pyrophosphate motif. In addition, this compound showed a negatively charged phospholipid-dependent membrane depolarization and disruption activity. These small molecules are promising leads for the development of more active and specific compounds to target the essential GT step in cell wall synthesis.