The stream editors I tried work for creating LaTeXConfig.lyx, but
produce other errors.
My solution was to use another stream editor just for that case. Here is
a solution that
runs smoothly but requires changes in the config and config.bat files.
http://www.semverteilung.vwl.uni-muenchen.de/links/LaTeXConfigFix.zip
Ekkehart