Configuration Files (ini)

Posted: 07-31-2007, 12:47 PM
Anyone know how Vista handles .ini files? I have software that uses an ini
file but unless I run the software as administrator, it seems to use a
cached version. The user I log in as is in the Domain Admins group too!!


Reply With Quote

Responses to "Configuration Files (ini)"

dean-dean
Guest
Posts: n/a
 
Re: Configuration Files (ini)
Posted: 07-31-2007, 03:57 PM
Go to C:\Program Files, and click on Compatibility Files in the Toolbar of
Windows Explorer. This will take you to C:\Users\(Your
Name)\AppData\Local\VirtualStore\Program Files. This is where Vista puts
the files of programs that write certain types of user files to the
C:\Program Files subdirectories. When you're in C:\Program Files\Your
Program (or possibly a subfolder of that path), you should also see a button
in the taskbar of Windows Explorer called "Compatibility Files", which will
you take you directly to your program's config files.

In your program's Options dialog, can you change the default location (path)
of the .ini file (or editing the .ini file itself) to a path that is under
your account name.

For example, C:\Users\(Your Name)\Documents\ProgramName Data (you may have
to create the folder there first). Then Vista won't redirect your files.
It doesn't really cotton to user files being written to the C:\Program Files
subdirectories, after the initial installation, and has put the Program
Files folder on a security level as that of the Windows folders themselves,
making TrustedInstaller the owner.

Too, if your program writes a temporary .ini file (such as program.ini.bak
or program.ini.$$$) in the course of writing to the .ini file,
Virtualization might get confused and virtualize the wrong file, causing
your program, possibly, to recreate the default, because it can't find its
"finalized" program.ini file.

"Paul Smith" <pauls@innate.co.uk> wrote in message
news:%23PE9Og20HHA.3768@TK2MSFTNGP06.phx.gbl...
> Anyone know how Vista handles .ini files? I have software that uses an ini
> file but unless I run the software as administrator, it seems to use a
> cached version. The user I log in as is in the Domain Admins group too!!
>
>
Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lost configuration, documents, desktop folders and files El Oscar Windows Vista Administration 0 04-16-2008 05:08 AM
XP Program Files, User Files, etc... Configuration Corbin Matthews Windows XP Configuration & Management 0 10-15-2004 05:37 AM
VPN Configuration WR Reinhart Windows XP Work Remotely 1 05-14-2004 10:43 AM
Perpetual "Please wait while Setup updates your configuration files" Computer Genie Windows XP Setup 1 09-14-2003 02:59 PM
duplicate files after instalation and configuration Pierre McKenty Windows XP Performance & Maintenance 1 07-18-2003 01:11 AM