Windows server 2012 terminal server ini mapping

Kevin 21 Reputation points
2020-12-09T15:57:23.923+00:00

In windows 2012 R2 with terminal server installed, how does the ini mapping work? I have a program that uses and ini file and it gets copied from the c:\windows directory to the users home directory or the users profile in c:\users\username\windows. Is it microsoft that does this or is it the 3rd party application?

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,225 questions
{count} votes

Accepted answer
  1. Eleven Yu (Shanghai Wicresoft Co,.Ltd.) 10,671 Reputation points Microsoft Vendor
    2020-12-10T04:13:45.283+00:00

    Hi,

    It is a microsoft normal behavior. In below article, it mentions "The first time you run the app, it searches the home directory for its .ini files. If the .ini files aren't found in the home directory, but are found in the system directory, Remote Desktop Services copies the .ini files to the home directory, ensuring that each user has a unique copy of the application .ini files. Any new .ini files are created in the home directory". This behavior should be designed to ensure each user can run the application successfully and isolately.
    https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/change-user

    Also after researching, I found below article about Application Compatibility with INI File Mapping. You can read it for a reference.
    https://dille.name/blog/2015/03/24/application-compatibility-with-ini-file-mapping/

    Hope above information can help you.

    Thanks,
    Eleven

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it. Thanks.

    0 comments No comments

0 additional answers

Sort by: Most helpful