Error:control characters are not allowed

If it's not the configuration file, then maybe it's the registry file. This thread sounds very similar: Winlogbeat v5 fail to start after upgrade