Skip to main content
Skip table of contents

Registry examples

Please check that our examples actually work for your purpose before using them. As the registry can be changed by other applications and the operating system at any time (e.g. after updates), we cannot guarantee the correctness of the examples listed here.

Default printer

PathHKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
Value nameDevice

Installed printer

PathHKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PrinterPorts
Value name<Name of the target printer>

Computername

PathHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName
Value nameComputerName

Username

PathHKEY_CURRENT_USER\Volatile Environment
Value nameUsername

Windows name

PathHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
Value nameProductName

Environment variables

User

PathHKEY_CURRENT_USER\Environment
Value name<Name of the target environment variable>

Computer

PathHKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment
Value name<Name of the target environment variable>

Installed software

Please note that the application ID is assigned by the respective software manufacturer and may therefore differ from system to system.

32 bit

PathHKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\<Application ID>
Value nameDisplayName

64 bit

PathHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\<Application ID>
Value nameDisplayName
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.