I need a script to detect if the users display language is DE or EN.
The reg key that holds this value is:
HKEY_CURRENT_USERControl PanelDesktopPrefferedUILanguage with the value de-DE or en-US.
The problem is that if i check this location from a system account there is no PrefferedUILanguage string because the string is a user specific setting.
So i have to check in all the SIDS under HKEY_USERS for the PrefferedUILanguage string, and i don’t know how to do that.