Google Answers Logo
View Question
 
Q: What are those *.INI files that my PC keeps creating, and can I delete them? ( Answered 5 out of 5 stars,   2 Comments )
Question  
Subject: What are those *.INI files that my PC keeps creating, and can I delete them?
Category: Computers > Operating Systems
Asked by: bbb-ga
List Price: $5.00
Posted: 27 Mar 2003 12:37 PST
Expires: 26 Apr 2003 13:37 PDT
Question ID: 181926
I have system 2000. My system creates *.INI files in certain
directories, I have no idea while. It then says I shouldn't delete
them, because they're system files. But I've deleted them by accident
at times, and nothing has exploded. Can I just delete them? And can I
stop the system from creating them, if they're meaningless?
Answer  
Subject: Re: What are those *.INI files that my PC keeps creating, and can I delete them?
Answered By: missy-ga on 27 Mar 2003 14:43 PST
Rated:5 out of 5 stars
 
Hi there!

It's never a good idea to alter or delete any file on your PC unless
you're absolutely certain about what it does.

In the case of .INI files, this is doubly true.  Patterned after the
UNIX concept of .profile files, .INI files, also called
"initialization files" or "profile files", are important system files
that contain information vital to both the function of Windows and
your software.  .INI files contain your system and software settings,
registration information and personal settings.  Deleting these files
can be disastrous - consequences include the possibility of your
software failing to function properly to your computer refusing to
boot at all.  .INI files *can* be modified, but only specific
portions.  If you don't know what they do, you're best served to just
leave them alone.

The Decenber, 1997 issue of "Smart Computing" explains .INI files in
depth.  Because of copyright concerns, I cannot reproduce the entire
article here.  I can, however, provide relevant excerpts:

" The information about your system’s configuration, such as the
amount of memory it has and the installed peripherals, is stored in
the Autoexec.bat and Config.sys files. Each time you boot, or start
up, your computer, it must check these files to relearn its settings.
Similarly, Windows has its own set of configuration files that control
that operating environment: the initialization files. These files hold
important information about Windows’ many changeable settings—from
installed fonts to wallpapers, from the cursor’s blinking rate to the
width of the borders around Desktop windows.

Initialization files are known by their .INI extensions (pronounced
“eye ‘n eye” or “innie”). There’s a whole herd of .INI files,
including System.ini, Win.ini, Progman.ini, and Control.ini. You can
find them, along with all of the other .INI files, by checking the
WINDOWS directory on the hard drive."

[...]

" Don’t be surprised to see dozens of .INI files. Typically, a new
.INI file is added to your system each time you install a new Windows
application.

--Inside An .INI.

You’ll rarely actually have to edit an .INI file manually. In fact,
novice (and, sometimes, not-so-novice) users would do better to steer
clear of making these kinds of changes to their system. .INI files
contain valuable information for the running of Windows, and if you
make the wrong changes or deletions, Windows may run improperly or not
at all."

[...]

" Knowledge of .INI files comes in handy when you try to take a
program off your system. You may think that when you delete or
uninstall a program, the program is completely gone. The fact is,
unless you’re using software that finds parts of unwanted programs and
gets rid of them, there are probably remnants of old applications
lurking within the System.ini file. These “leftovers” may be slowing
your system or popping up in places where you don’t need them.

If you go into the System.ini file, you’ll usually find program
drivers or information about deleted programs under section headings
of their own. Anything beneath these section headers that directly
relates to the specific program can be erased along with the header.
In some cases, you might find that specific program drivers are
located in other sections such as [boot] or [386Enh].

Be cautious, though. If you see an entry that you’re unsure about or
don’t have any documentation on, it’s best to leave it alone. The one
thing you can do (besides backing up the file, of course) is REM
(remark) out a questionable command line. Simply place a semicolon (;)
at the beginning of an entry, and Windows will quit recognizing that
line, thinking it’s simply a programmer’s remark. Then, restart your
system. If everything works properly, you can probably safely delete
the questionable line.

These are only a few of the things that can be done within your
system’s .INI files. Though you usually won’t have to manually edit
them, there are times, as we’ve shown, when you’ll be forced to. Just
remember the two cardinal rules of .INI files: Back them up before you
alter them and don’t make a change if you’re unsure of what you’re
changing."

PC Operating Instructions - How .INI Files Work 
Hannah Henry
Smart Computing Magazine - December 1997• Vol.8 Issue 12

You can read more about .INI files here:

An INI File
http://www.paris-pc-gis.com/mb_r/doc/using_ini/An_INI_file.htm

Windows 2000 Boot.ini Configuration Resources
http://www.labmice.net/Windows2000/install/bootini.htm

I hope this helps!

--Missy

Search terms: [ ".INI files" explained ], and references from my
personal library.

Request for Answer Clarification by bbb-ga on 27 Mar 2003 21:31 PST
Missy: 

Your answer was very thorough and very clear, but I left something
crucial out of the question, so I need to get some further
clarification.

First, I realize that *.ini files should usaully be left alone -— but
I’ve usually seen them in system directories, etc., where I wouldn’t
make any changes.

However, I left out the point of my question: Lately, I’ve seen *.ini
files created by the system in my own data directories, where I have,
typically, word processing (WORD) files.

	First, this is disturbing, since it seems like something is wrong
with the system, or it wouldn’t  do this. I have worked on PCs since
the dawn of time (1984 or so) and haven’t ever seen this behavior,
except in the past couple of months…on my XP operating system and now
on my system 2000 system (I had to switch from one to the other). WP
directories are data directories, and no computer has ever inserted a
“system” file into them. (I’ve probably worked on about 30 or 40 PCs
at times, my own and at work, etc.)
	Second, this causes me active problems. For my work, I have to move
data files around a lot, and this gets in the way now. Example: Say I
have 5 data files in a directory, and I want to delete 3 and move 2
out. I do that, and the directory should now be empty and I would
normally then delete it.  But half the time, such a directory has
acquired an *.ini file at some point, and the system warns me not to
delete it. But common sense and 20 years’ experience suggest that this
is not a “real” functioning *.ini file, since it's in a directory
where it shouldn't occur...and in fact, I’ve inadvertently deleted a
few while deleting WORD files.
	So this problem is a lot more specific and troubling than I
indicated. First, why is my system behaving so strangely? And second,
do I really have to leave a trail of directories, each containing
nothing but one *.ini file?
	Sorry to have omitted the point! 
	I will add something to the fee, since this is now more work to
answer… anyway: Help.

Clarification of Answer by missy-ga on 27 Mar 2003 23:07 PST
Hello again!

Let's handle the second part of your query first:

If you've moved or deleted the data to which these .INI files refer,
no, you do not need to leave them there.  You can safely delete them. 
If the .INI files are appearing in folders you've created yourself,
you may have acquired a "desktop.ini".  Those are likewise fine to
delete.

Now for the first part:

There could be any number of reasons why your system is acting this
way.  It may be an odd carryover from XP (it's Windows, after all, and
that thing has a mind of its own!).  Or it could be something more
sinister.

Fellow Researcher Sublime1-ga suggests opening up the .INI files in
question with a text editor and checking carefully to see what they
refer to.  Since the files are readable, you should be able to tell
whether they are needed or not (for example, if it refers to a file
named "Fred", but you've deleted "Fred", you can delete that .INI).

If it is unclear what the .INI is referring to, start looking for
Trojans.  Run your anti-virus program and also get yourself a copy of
SpyBot Search & Destroy:

SpyBot
http://security.kolla.de/

If the .INIs in question were dropped by a Trojan, your antivirus
software and SpyBot will flag them and get rid of them for you.

Good luck!

--Missy

Request for Answer Clarification by bbb-ga on 28 Mar 2003 08:49 PST
Missy: 

You have given me some very useful information. I do in fact have a
file called "desktop.ini" -- a possibility you discussed:

["If the .INI files are appearing in folders you've created
yourself,you may have acquired a "desktop.ini".  Those are likewise
fine to delete." ]

Below, in fact, is the text of that file. I can't tell what it refers
to--but you have said that it's OK to delete. The system, of course,
warns me that it's a system file and that if I delete it "your
computer may not work properly."
I hope that you're correct!

As far as the other *.INI files, I may not be able to tell what
they're referring to either, but if they pop up in data directories,
I'll delete them.

I do run Norton antivirus regularly, by the way. 

But I wish I could stop the *.INI from appearing...

Thanks very much,
Brad 

P.S. contents of the DESKTOP.INI file:

[.ShellClassInfo]
IconFile=%SystemRoot%\system32\SHELL32.dll
IconIndex=27
ConfirmFileOp=0
[{5984FFE0-28D4-11CF-AE66-08002B2E1262}]
PersistMoniker=file://Folder Settings\Folder.htt
PersistMonikerPreview=%WebDir%\classic.bmp
[ExtShellFolderViews]
{5984FFE0-28D4-11CF-AE66-08002B2E1262}={5984FFE0-28D4-11CF-AE66-08002B2E1262}

Clarification of Answer by missy-ga on 28 Mar 2003 15:42 PST
Hi Brad, 

As long as that file appears in a folder you've created yourself, yes,
you're OK to delete it.

I have no idea how or even if you can prevent these extraneous files
from being created - I've reached the end of my skillset on this one.

If you like, you can post this as a seperate question for one of our
Windows experts to try to puzzle out for you, or you can try
contacting Microsoft to see why it's doing this to begin with:

Microsoft Online Help and Support
http://support.microsoft.com/default.aspx?scid=fh;[ln];oasoem

(You'll need your product ID number.).

Good luck!

--Missy

Request for Answer Clarification by bbb-ga on 28 Mar 2003 16:29 PST
Missy:
Okay! 
Many thanks for that wrapup, and for the earlier info.
bbb
bbb-ga rated this answer:5 out of 5 stars and gave an additional tip of: $2.00
See my note with further clarification of my question...

Comments  
Subject: Re: What are those *.INI files that my PC keeps creating, and can I delete them?
From: phi-ga on 02 Apr 2003 09:20 PST
 
hi, 
for the description of the "desktop.ini" files  I believe it was
already explained to a degre in ur previos question regarding the
structure of the windows file tree .
while its beyond the scope of my curent knowledge as to how to disable
the formation of desktop.ini files in selective folders. I do assure u
they do not present any harm. it maybe be that the show up
unneccesarily and is sometimes a distraction. fortunately there is
method to avoid that .
for that 
1) open windows explorer
2) go to "tools" menu and submenu "folder options"
3) click on "View" tab 
4) under the  " Hidden files and folders"  select "Do not show hidden
files and fodlers"
scroll down and put a check mark on "Remember each folder's view
settings"
5) click apply 
6) click on the button   under "You can set all of ur folders to the
same view" selecting " Like current Folder"
7) click apply
8) click OK

the draw back to the above procedure is that all ur special fodlers
such as
"My pictures" and crontrol panel will take on a different view when u
open them
i,e they may look different as in they might show the foles as a list
as opposed to icons but that can easily be rectified  by going to the
"View" menu in windows explorer whenever u see a view u do not like
and selecting how u would like to see it.
Subject: Re: What are those *.INI files that my PC keeps creating, and can I delete them?
From: bbb-ga on 05 Apr 2003 20:28 PST
 
to phi-ga:
Thanks! I'll try this. I dimly remember a long time ago setting
folders to not show hidden files etc., because I didn't want to delete
anything that could cause a problem...
I"ll try your suggestion!
Bbb

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy