HOWTO: Set Unicode User Registry values with Ivanti Workspace Control

Version 11

    Question

    HOWTO: Set Unicode User Registry values with Ivanti Workspace Control

     

    Consider the following scenario:

     

    • A new User Registry item is created in the Ivanti Workspace Control Console.
    • A local registry key, that contains Chinese (中文) or Japanese (日本語) characters, is opened by clicking Action > Registry > Open HKEY_CURRENT USER... or Action > Registry > Open HKEY_LOCAL MACHINE....
    • The registry values, that contain these characters, are selected and added.

     

    In this scenario, question marks (?) are displayed instead of the Chinese or Japanese characters.

     

    Applying the User Registry item to a user session will give the data as is displayed in the Ivanti Workspace Control Console. So with question marks.

     

     

    Values in the registry

    Registry.png

     

    Values in the Ivanti Workspace Control Console

    User Registry.png

     

     

    Answer

    In Ivanti Workspace Control 10.3.10.0 or higher, setting Unicode User Registry values is supported.

    The following registry key has to be set on a machine where the Workspace Control Console is started, to activate the functionality.

     

    32-bit:

    Key: HKEY_LOCAL_MACHINE\SOFTWARE\RES\Workspace Manager

    Value: SupportUnicodeRegDataImport

    Type: REG_SZ

    Data: Yes

     

     

    64-bit:

    Key: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\RES\Workspace Manager

    Value: SupportUnicodeRegDataImport

    Type: REG_SZ

    Data: Yes

     

     

    The following message will be displayed upon opening an existing User Registry item that contains Unicode data and if the registry value is not set for that particular Workspace Control Console.

    User Registry.png

     

    The registry value will be set automatically after clicking the OK button.

     

    Notes:

    • The Data column of the User Registry edit window will show a different character set to properly display Unicode data.
    • The UCS2 encoding needs to be chosen instead of ANSI when exporting User Registry items that contain Unicode data.