TEMP environment setting changing to "local_" folder

jarweb 111 Reputation points

We have FSLogix in place which is supposed to be only implemented when users log on to our Citrix servers - this was set up by someone else so I'm not fully familiar with it.

We have a strange issue with some pcs/laptops and some users. When they log on, their environment variables for TMP and TEMP are changing to c:\users\local_user.name" which doesn't exist on the pc/laptop so some apps stop working until we set these back to the user's actual profile folder. I can view these settings in the registry under HKCU\Environment - TMP & TEMP

I can't work out how this setting is being changed. I don't see any GPO setting that could be forcing the change. I can manually change the setting but it is being updated again the next time the person connects to the network and logs on.

I'm also assuming it's something to do with FSLogix as the "local_user.name" folders are created and used on the Citrix servers when users log on.

Has anyone seen a similar issue and can advise ?


A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,844 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,285 questions
A set of solutions that enhance, enable, and simplify non-persistent Windows computing environments and may also be used to create more portable computing sessions when using physical devices.
465 questions
{count} votes

2 answers

Sort by: Most helpful
  1. jarweb 111 Reputation points


    It was a long time ago now so can't remember fully. But I think it was related to the fact the affected users had a Profile path set in their Active Directory account and when they were going into the office and connecting to the corporate network directly on their laptops. This was changing something but can't remember exactly what. When we removed the profile path it seemed to fix the problem.

    I think FSLOGIX uses the local_user.name when users log onto Citrix so I think this was conflicting with the profile path setting.

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    Comments have been turned off. Learn more