About Virtualization, VDI, SBC, Application Compatibility and anything else I feel like
However, in a Multi User environment such as Citrix XenApp or Microsoft’s Remote Desktop Services (Terminal Server), all connected users report the same computername.
If the application relies on unique computernames to handle tasks such as file and record locking, then the application will fail.
We can however set an Application Compatibility Flag in the registry to return the username instead of the computername.
To demonstrate this behaviour I wrote a small Test Application called TestAppCompatFlags.exe.
Without the compatibility flags the application will return the Computername and Username when pressing the buttons:
When you press the Set Compatibility Flag button the following registry key will be created:
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\TestAppCompatFlags
In this key a DWORD value Flags will be set to 18 HEX.
You need to restart the test application to test the new behaviour:TestAppCompatFlags.zip (813)
.NET .NET FrameWork Active Directory Altiris Apple Automation Manager Citrix Dell Delphi Excel Exchange Exchange2003 Exchange2010 Hack HP iOS Java LinkedIn Linux Lync MSI Office Office 2010 Passat Password PowerPoint PowerShell RES RNS510 SasLibEx SCOM Security Terminal Server ThinApp TSAdminEx VBS VCDS Visual Basic Visual Studio VMWare Volkswagen VW Windows PE Wordpress XenApp