Using apache-tomcat-9.0.64.exe to install on Windows 10, I supplied a installer config file using the /C-flag. The file contains: JavaHome=C:\Program Files\Java\jdk-17.0.3.1 TomcatAdminEnable=true TomcatAdminUsername=admin TomcatAdminPassword=somepassword TomcatAdminRoles=admin-gui,manager-gui,manager-script All options were honored, except TomcatAdminRoles, it remained at "admin-gui,manager-gui" (i.e., lacking manager-script) I did not use any other flags and I also manually selected the host manager to be installed I tried moving the option, switching line breaks, let file end with trailing newline and vice versa, but nothing helped.
Note: It is recommended that you do not enable both the manager-script and manager-gui roles for the same user as that allows the CSRF protection to be bypassed. I can see why the TomcatAdminRoles aren't being set as expected. I am working on a fix.
Fixed in: - 10.1.x for 10.1.0-M17 onwards - 10.0.x for 10.0.23 onwards - 9.0.x for 9.0.65 onwards - 8.5.x for 8.5.82 onwards