# On Windows

Runtime is started from console with &lt;Runtime-Home&gt;/bin/setenv.bat

1. Edit &lt;Runtime-Home&gt;\bin\ setenv.bat
2. Add line:
   * SET JAVA\_TOOL\_OPTIONS=-Dlog4j2.formatMsgNoLookups=true
   * The screenshot below is given as an example

![](https://help.qlik.com/talend/en-US/cve/Content/Resources/Log4j2_Disclosure/image3.png)

1. Restart Runtime