How to prevent .ini file from being rename to .ctx

D

Doug

I have placed an .ini file in every TS users windows
folders for a particular application, but when I upgrade
the application the .ini files gets rename to .ctx

From what I understand TS detects that the application
was updated, therefore it renames the .ini file in the
windows folders to .ctx and copies the new .ini file from
the upgrade into the windows folders. But in my case I
want to keep the old ini.

I question is, how can I prevent the .ini files from
being renamed to .ctx?

Thanks for any help
 
M

Matthew Harris [MVP]

I think the problem you are having dealing with Citrix,
since I'd be willing to bet you are using Citrix
MetaFrame. Regardless, check out this link:

http://support.microsoft.com/default.aspx?scid=kb;
[LN];186504

Here's a quote from that page:

"When you log on, Terminal Services checks whether its
system .ini files are newer than the .ini files on your
computer. If the system version is newer, your .ini file
is either replaced or merged with the newer version. This
depends on whether or not the INISYNC bit, 0x40, is set
for this .ini file. Your previous version of the .ini file
is renamed as Inifile.ctx. If the system registry values
under the \TerminalServer\Install key are newer than your
version under HKEY_CURRENT_USER, your version of the keys
is deleted and replaced with the new keys from
\TerminalServer\Install."

If I were you, I would check the INISYNC bit in your
registry and turn it off. Check out this link for more
info on how to do this:

http://support.microsoft.com/default.aspx?scid=kb;
[LN];186519

Alternatively, you could go to
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal
Server\Install\IniFile Times and delete the entry for your
ini file.

-M
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top