
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
<(CM) Support tip>Auto Get Global in CM 9 and RM 8.3
Incident description :
AUTOGG and AutoGetGlobal keys are still in use for controlling how Auto Get Global behaves in CM 9/RM 8.3 Client
Resolution :
1 The registry keys below are still in use.
HKEY_CURRENT_USER\Software\Hewlett-Packard\HP TRIM\DBID\45 \AutoGetGlobal (DWORD)
**45 is the DBID for your database
HKEY_CURRENT_USER\Software\Hewlett-Packard\HP TRIM\AutoGetGlobal (DWORD) HKEY_LOCAL_MACHINE\SOFTWARE\Hewlett-Packard\HP TRIM\MSISettings\AUTOGG (String)
2, How the keys are created and the designed behaviour :
2.1 The 3 Registry keys are created and functions correctly only when RM/CM Client is installed via script using msiexec command with AUTOGG =”1” set.
**There was an option for user who installs the program to turn AUTOGG on when installing TRIM Client via GUI, however that option has been removed, hence AUTOGG can only be turned on via script installation method (using msiexec ).
An example of the installation script :
msiexec /i C:\HPE_CM_x86.msi /quiet PATCH="C:\HPE_CM_x86.msp" /l*vx C:\MSTinstall\Logs\HFinstall.log ADDLOCAL=HPTRIM,Client AUTOGG="1"
** Please note, if the Client is installed manually via running the setup.exe , none of the registry keys will work, even when the keys are created manually after the installation.
2.2 Upon the completion of installation for RM/CM Client using msiexec method, the following registry keys are created :
HKEY_LOCAL_MACHINE\SOFTWARE\Hewlett-Packard\HP TRIM\MSISettings\AUTOGG (String)
HKEY_CURRENT_USER\Software\Hewlett-Packard\HP TRIM\AutoGetGlobal (DWORD)
Both key value are set to 1.
2.3 When user firstly logs in and connects to the database via RM/CM Client installed on this machine, the program will check the registry key :
HKEY_CURRENT_USER\Software\Hewlett-Packard\HP TRIM\AutoGetGlobal (DWORD)
If the key value is set to 0 , Client won’t auto load Global Settings.
If the key value is set to any value other than 0, Client will load Global Settings , and it will create registry key HKEY_CURRENT_USER\Software\Hewlett-Packard\HP TRIM\DBID\45 \AutoGetGlobal (DWORD) (**45 is the DBID for the database )
and once Global Settings has been loaded successfully, the key value will be set to 1.
2.4, When user logs in and connects to CM every time after the first time, the program will check the following two keys :
A, HKEY_CURRENT_USER\Software\Hewlett-Packard\HP TRIM\DBID\45 \AutoGetGlobal (DWORD) **45 is the DBID for your database
B , HKEY_CURRENT_USER\Software\Hewlett-Packard\HP TRIM\AutoGetGlobal (DWORD)
If key B exists and value is not set to 0 , the program will check key A.
If Key A value is set to 0, Client will load Global Settings and then set key A value to 1.
If Key A value is set to non-zero value, Client will not perform Get Global.