In our domain, we are using roaming desktops and at logon have a script that checks computer name and sets default printer based on it. So if user1 logs into location A, it gets printer A set as default and if they log in at location B, it gets printer B set as default.
We've recently added some thin clients that run off of a computer in our domain, and since they all log into a specific computer, we're using the session id to determine their location. The problem is if the user1 is signed in to multiple sessions, the default printer sets for all of them.
So user1 logs into location A, its default printer gets set to printer A. If another person logs in as user1 at locationB, it gets its default printer set to printer B, but so does the user at location A.
How do I get ts sessions to act like normal domain sessions?