Windows Server TechCenter > Windows Server Forums > Terminal Services > Ini Sharing won't work properly on Windows Server 2008 R2 with Remote Desktop Service
Ask a questionAsk a question
 

AnswerIni Sharing won't work properly on Windows Server 2008 R2 with Remote Desktop Service

  • Wednesday, November 04, 2009 11:14 AMMCS-AG Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    We are testing our Ini-based VB6 application on a Windows Server 2008 R2 with the Role Remote Desktop Service installed and configured like we did on Windows Server 2003 and Windows Server 2008 R1.

    On Server 2008 R2 we now have the problem that changes made in the ‘master’ ini file during an update of our application are not mirrored to the users ini’s in their home windows directories.

     

    Here are some details on the system and the configuration:

     

    Our application installs the ini file ‘WINACS.ini’ to the c:\windows directory

    To include the ini-file to the ini sharing I added the following entries to the registry:

    HKLM\Software\Microsoft\WindowsNT\CurrentVersion\TerminalServer\Compatibility\IniFiles=

    DWord, Value=4c

    HKLM\Software\WoW6432Node\Microsoft\WindowsNT\ CurrentVersion\TerminalServer\Compatibility\IniFiles=

    DWord, Value=4c

     

    When I insert the same information on a windows server 2008 R1 and execute change user /install before making changes in the ‘master’ ini file (c:\windows), the changes are copied to the user ini files (c:\users\nn\windows) and everything works fine.

     

    I would appreciate any comments on this case which help’s solving the problem.

Answers

  • Saturday, November 07, 2009 2:17 AMMunindra Das [MSFT] Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Thanks a lot for bringing this to our attention! We tried this out and were able to repro the problem. We will definitely investigate this further.

    Unfortunately I don't know of a workaround for this. Without setting the flag or setting it to 0x48 will cause the ini files in the user profile to be overwritten completely with the one in windows folder. Will this work for you?

All Replies

  • Saturday, November 07, 2009 2:17 AMMunindra Das [MSFT] Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Thanks a lot for bringing this to our attention! We tried this out and were able to repro the problem. We will definitely investigate this further.

    Unfortunately I don't know of a workaround for this. Without setting the flag or setting it to 0x48 will cause the ini files in the user profile to be overwritten completely with the one in windows folder. Will this work for you?
  • Saturday, November 07, 2009 12:57 PMMCS-AG Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks for the comment to this problem. Because the ini files include also user specific information, after once copied to the user profile, they can't be overwritten completely.