• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 297
  • Last Modified:

Corupt Win.ini file

What would cause my win.ini file to corupt?  I use win 3.11, have a 133 motherboard, pentium clone (amp, I think).  When it corupted I lost my fonts & color.
1 Solution
There are any numerous ways to corrupt a file..
..Check the HD for bad blocks,etc...
..was the pc powered off while in a running state?
..Did a driver installation/or any win app fail during install?

just to name a few possible ways...
Try to boot windows 3.11 at dosprompt with this command
and see file BOOTLOG.TXT
P.S.. If you win.ini become to larger than 32 kb your system will be corrupt.
A common problem is if you are running some kind of caching software with write-cache enabled. If you then exit windows and immediatly turn off the power, the cache will not always be flushed to disk, leaving corrupt files behind.
Will You Be GDPR Compliant by 5/28/2018?

GDPR? That's a regulation for the European Union. But, if you collect data from customers or employees within the EU, then you need to know about GDPR and make sure your organization is compliant by May 2018. Check out our preparation checklist to make sure you're on track today!

otisbirdAuthor Commented:
Now I need more information:  Scorch
What is 'powered off' while in running state?  Do you mean turned off with out going out of windows?
What is 'driver installation/ or any win app fail during install?'

What is an example of 'software with write enable'.  Then I may understand about 'flushing the disk'.
otisbirdAuthor Commented:
More questions.  This is for Tessib:
I booted from dos promt with win/b.  It just took me to windows.  Was it suppose to take me to dos shell or something?  Or were am I looking for BOOTLOG.TXT file?
1)'Powered off while running state' : you should NOT press Reset
button or switch off computer while you in Windows. Doing this
may corrupt files.

2)Check AUTOEXEC.BAT/CONFIG.SYS and look for SMARTDRV. This is
cache software. Hard disk not accessed directly, but any write
operations are placed in queue, then executed in burst(s). Also
many areas on HD, frequently accessed, are put into RAM, so update
happens in RAM for faster access. When HD free from read/write
operation, these areas are updated from their RAM images (flush).

3) Win/b creates file BOOTLOG.TXT in \Windows directory. Can't
see how it'll help you to solve Win.ini corruption problem.

4) From DOS run SCANDISK.EXE (\DOS or \WINDOWS folders). This
program will check your HD file structure for errors. I believe
this'll solve your problem.

5) Backup often WIN.INI and SYSTEM.INI files to prevent corruption
in future.
otisbirdAuthor Commented:
If windows freezes up and you say NOT to press reset....what do you do to get it started again?
Try to do it "soft way" - by Ctrl-Alt-Del. If it doesn't work ONLY
then press Reset. Anyway, if you forced to reboot while you in
Windows, run Scandisk right after reboot to ensure that all
damages were repaired (you may skip Surface Scan tho').
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Managed Security Services Webinar - March 15

Selecting the right managed security services platform to grow your business can be a huge undertaking. Join WatchGuard and Frost & Sullivan in an upcoming webinar as we dive into the key elements of selecting a vendor platform and partnership to fuel a successful MSSP business.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now