Read-Only Feature of the SAP GUI Options Dialog

It is possible to restrict the usage of the SAP GUI Options dialog by setting some or all of its options read-only. Setting the options read-only in the UI does not change the reading priority of the registry values. When options have been set read-only, the user can no longer change these settings via the SAP GUI Options dialog.

There are three possibilities to set options in SAP GUI Options dialog read-only.
  1. Setting all options read-only

    To set all options in the SAP GUI Options dialog read-only, create the following registry values:

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP\General]

    [HKEY_LOCAL_MACHINE\SOFTWARE\SAP\General] (32 Bit OS)

    AllOptionsReadOnly (REG_DWORD) = 1

    CurRegValReadOnlyActive (REG_DWORD) = 0

    Result: In the title bar of the SAP GUI Options dialog, the text [read-only] will be added.

  2. Setting most options read-only and exceptions changeable

    To activate the feature that most options in the SAP GUI Options dialog should be read-only and only a few exceptions should remain changeable create the following registry values:

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP\General]

    [HKEY_LOCAL_MACHINE\SOFTWARE\SAP\General] (32 Bit OS)

    AllOptionsReadOnly (REG_DWORD) = 1

    CurRegValReadOnlyActive (REG_DWORD) = 1

    Result: In the title bar of the SAP GUI Options dialog, the text [partly read-only] will be added and all options of the SAP GUI Options dialog are read-only. You can now make some special options changeable again by using the following approach:

    1. You know the registry value name of the option, for example, SelectedTheme.

    2. You know the registry key where the registry value is located, for example, [HKEY_CURRENT_USER\Software\SAP\General\Appearance].
    3. Under HKEY_LOCAL_MACHINE, you now add _ReadOnly to the registry value name, for example, SelectedTheme_ReadOnly, and create the REG_DWORD registry value under the “same” registry key as the original registry key. For example: [HKEY_LOCAL_MACHINE\Software\SAP\General\Appearance] (32 Bit OS);

      [HKEY_LOCAL_MACHINE\Wow6432Node\Software\SAP\General\Appearance]

    4. Set the _ReadOnly REG_DWORD registry value to 0, so that the option belonging to this registry value is again changeable in the SAP GUI Options dialog, for example SelectedTheme_ReadOnly (REG_DWORD)=0.
  3. To activate the feature that most options in the SAP GUI Options dialog should remain changeable and only a few exceptions should be read-only create the following registry values:

    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP\General]

    [HKEY_LOCAL_MACHINE\SOFTWARE\SAP\General] (32 Bit OS)

    AllOptionsReadOnly (REG_DWORD) = 0

    CurRegValReadOnlyActive (REG_DWORD) = 1

    Result: In the title bar of the SAP GUI Options dialog, the text “[partly read-only]” will be added and all options of the SAP GUI Options dialog remain editable.

    To make specific options read-only, proceed as follows:

    1. You know the registry value name of the option, for example AnimatedFocus.
    2. You know the registry key, where the registry value is located, for example, [HKEY_CURRENT_USER\Software\SAP\General\Appearance].
    3. Under HKEY_LOCAL_MACHINE, you now add _ReadOnly to the registry value name, for example, AnimatedFocus_ReadOnly, and create the REG_DWORD registry value under the “same” registry key as the original registry key. For example:

      [HKEY_LOCAL_MACHINE\Software\SAP\General\Appearance] (32 Bit OS);

      [HKEY_LOCAL_MACHINE\Wow6432Node\Software\SAP\General\Appearance]

    4. Set the _ReadOnly REG_DWORD registry value to 1, so that the option belonging to this registry value will be set read-only in the SAP GUI Options dialog, for example, AnimatedFocus_ReadOnly (REG_DWORD) = 1.