Setting compatibility mode for all users

Published on Tuesday 22nd January, 2008 (AEST)

When setting up a new Citrix server recently, I had to set the compatibility mode to 'Windows XP' for several legacy applications, in order for them to work correctly on Windows Server 2003. However, setting the compatibility mode on a shortcut does not apply to all users, even if the shortcut is in the All Users folder.

The solution is quite simple. In Windows 2003, application compatibility settings are stored in the registry, in the following key:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers

(Note that this is not consistent across Windows versions).

So, once the compatibility mode has been set for one user, the registry key can be exported to a file, and imported via the login script for all users.

Have something to add? Simply send me an email. Comments deemed relevant and helpful to other readers will be added to this page.

© 2007-2010 Andy Dowling. XHTML & CSS.