Detect user UI Display Language from system account

Home Forums Scripting General Scripting Detect user UI Display Language from system account

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    KodiaK
    Member
    #159911

    Hello,

    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.

    Can someone please help me out.

    Thank you.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.