Skip to main content

Windows Registry Key Query


Display the content of the requested Windows registry key.

Supported registry key types:

  • String
  • DWORD (displayed in upper-case 0x hex)
  • QWORD (displayed in upper-case 0x hex)

Sample Configuration#

"type": "winreg",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#ffffff",
"background": "#444444",
"template":" \uE62A {{ .Value }}",
"properties": {
"path": "HKLM\\software\\microsoft\\windows nt\\currentversion\\buildlab",


  • path: string - registry path to the desired key using backslashes and with a valid root HKEY name. Ending path with \ will get the (Default) key from that path.
  • fallback: string - the value to fall back to if no entry is found

Template (info)#

default template
{{ .Value }}


  • .Value: string - The result of your query, or fallback if not found.