The syntheses of the title compounds were performed using lauric and myristic acids. The compounds obtained were characterized using 1H-, 13C-NMR and 2D 1H-1H COSY, 1H-13C HSQC NMR, IR, and high-resolution mass spectrometry. Both compounds exhibited bactericidal activity on S. aureus comparable to that of a reference drug (miramistin). Compound 10, with lauric acid fragment, had a 16-fold higher activity on P. aeruginosa compared to compound 11, which in turn contains myristic acid fragment (with minimum inhibitory concentrations of 32 and 512 μg/mL, respectively). Compound 11 exhibited a pronounced activity against all types of fungi (higher than the activity of miramistin), while the activity of compound 10 was considerably lower. Thus, compound 11 can serve as a promising antimicrobial agent for the treatment of various fungal and staphylococcal infections, while compound 10 is of interest to treat P. aeruginosa-associated infections.