Fix windows server not using settings.