The most common reason for this issue is that you are using anti-virus/firewall software that incorrectly thinks mIRC is a trojan or a virus and is deleting your mIRC settings without telling you. Which anti-virus/firewall software are you using? You may need to add mIRC to the exceptions list or to contact the anti-virus/firewall developer to ask them how to resolve this issue.