mIRC Home    About    Download    Register    News    Help

Print Thread
mIRC deletes mirc.ini in roaming on hard reset #258753 24/08/16 01:30 AM
Joined: Aug 2007
Posts: 333
foshizzle Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Aug 2007
Posts: 333
My power supply is starting to go and I've noticed that mIRC's mirc.ini file gets reset with the default whenever my computer does a hard reset. My profile is saved in the roaming folder and there is no indication of why this is happening.

I've had this happen on multiple version of Windows (currently running Win10+Anniversary x64) back to probably win7 but seems to happen pretty consistently now.


This is not the signature you are looking for
Re: mIRC deletes mirc.ini in roaming on hard reset [Re: foshizzle] #258754 24/08/16 02:56 AM
Joined: Jan 2004
Posts: 1,276
L
Loki12583 Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,276
What version of mIRC are you running?

Re: mIRC deletes mirc.ini in roaming on hard reset [Re: Loki12583] #258755 24/08/16 03:29 AM
Joined: Aug 2007
Posts: 333
foshizzle Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Aug 2007
Posts: 333
Latest (7.46).

Mind you this has been happening (typically very infrequently) for the past 3+ years


This is not the signature you are looking for
Re: mIRC deletes mirc.ini in roaming on hard reset [Re: foshizzle] #258756 24/08/16 11:16 AM
Joined: Jan 2004
Posts: 1,276
L
Loki12583 Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,276
Yeah but 7.46 was specifically supposed to take care of that

Re: mIRC deletes mirc.ini in roaming on hard reset [Re: foshizzle] #258757 24/08/16 11:31 AM
Joined: Jan 2016
Posts: 19
Stewie1k94 Offline
Pikka bird
Offline
Pikka bird
Joined: Jan 2016
Posts: 19
This has been happening to me recently too (at least 3 times last week alone..).

This has even happened after mIRC had been closed. (I wasn't sure if it was closed the first time, but the others I made sure it was.)

Last edited by Stewie1k94; 24/08/16 11:32 AM.
Re: mIRC deletes mirc.ini in roaming on hard reset [Re: foshizzle] #258758 24/08/16 12:27 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Have you checked for temporary copies in your Roaming/mIRC directory? You should be able to use those to recover, even if the file itself is gone. Also you may want to confirm you have the second checkbox disabled in your disk drive cache policies (screenshot).

Re: mIRC deletes mirc.ini in roaming on hard reset [Re: Collective] #258760 24/08/16 03:10 PM
Joined: Aug 2007
Posts: 333
foshizzle Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Aug 2007
Posts: 333
My configurations match that screenshot and I do not have any temporaries. Luckily I did make my own backup a while ago because of this issue, but mIRC does not make any copies itself


This is not the signature you are looking for
Re: mIRC deletes mirc.ini in roaming on hard reset [Re: foshizzle] #258761 24/08/16 06:49 PM
Joined: Apr 2004
Posts: 841
Sat Offline
Hoopy frood
Offline
Hoopy frood
Joined: Apr 2004
Posts: 841
I'm not sure if you checked this so far, but it is kind of important so if you could then please check next time: after the reboot, but before starting mIRC, is your mirc.ini 1) completely missing, 2) there but empty, 3) not empty but also not complete (ie truncated), or 4) does it have garbage in it?


Saturn, QuakeNet staff
Re: mIRC deletes mirc.ini in roaming on hard reset [Re: Sat] #258795 30/08/16 01:48 AM
Joined: Aug 2007
Posts: 333
foshizzle Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: Aug 2007
Posts: 333
so it looks like it is fine until I restart mIRC again, at which point it immediately overwrites it. It is also worth noting that mIRC seems to have been reset (registry maybe?) as it goes through the splash screen again and looks like it may re-register itself. I also noticed that steam has a tendency to log me out, which may be related (maybe some windows issue).

I'd say an easy fix would to at least check for an existing mirc.ini file (or do a better job of checking) before overwriting it


This is not the signature you are looking for
Re: mIRC deletes mirc.ini in roaming on hard reset [Re: foshizzle] #258838 03/09/16 12:12 PM
Joined: Dec 2002
Posts: 4,584
Khaled Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 4,584
Thanks for your bug report. This issue was recently discussed extensively here. Please see the comments in that thread for more details.

Re: mIRC deletes mirc.ini in roaming on hard reset [Re: Khaled] #258850 04/09/16 03:06 PM
Joined: Feb 2003
Posts: 2,668
Raccoon Offline
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,668
Mister Khaled:

May I request that mIRC maintain session backups of the .ini files that users report losing data in? I've attempted to script a solution several times, but I don't think it can ever be as capable as an internally coded solution.

A simple copy of all the .ini's to .ini.bak upon mIRC's start, I think, should solve this problem going forward. Check if a .ini.bak file exists before creating new .ini files from scratch.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!