Registry measure

Measure=Registry measures the value of a key in the Windows Registry.

Options

General measure options
All general measure options are valid.
RegHKey
Name of the root key. Valid values are:
  • HKEY_CURRENT_CONFIG
  • HKEY_CURRENT_USER
  • HKEY_LOCAL_MACHINE
  • HKEY_CLASSES_ROOT
  • HKEY_PERFORMANCE_DATA
  • HKEY_DYN_DATA
RegKey
Name of the subkey.
RegValue
Name of the value. If not specified, the default value is retrieved.

Note: The two registry key value types supported are REG_SZ (string) and REG_DWORD (number). If a REG_SZ string value is numeric, both the string and number measure values will be set.

Example

[Rainmeter]
Update=1000
BackgroundMode=2
SolidColor=0,0,0,255
[MeasureWindowsVersion]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=Software\Microsoft\Windows NT\CurrentVersion
RegValue=ProductName
UpdateDivider=-1
[MeterText]
Meter=String
MeasureName=MeasureWindowsVersion
X=5
Y=5
W=100
H=25
FontColor=255,255,255,255
Text="Version: %1"