Using mclient to Read and Set Registry Settings in HP ThinPro Thin Clients
2025.03.09 | Yuki Rea
mclient is a command within the HP ThinPro operating system on HP Thin Clients that can be used to set and query registry settings.
This tool can be used to configure the operating system and it's applications.
The settings templates built into HP Device Manager can be quite limiting, if you need more advanced scripts or conditions, the mclient command can be used.
The examples below are the commands you are likely to use most frequently and find most useful.
For more information regarding HP ThinPro and the mclient command, please reference the following documentation.
HP ThinPro 8.1 Administrator Guide
get and gettree
mclient get is used to query a registry value. In order to query the registry tree, mclient gettree can be used instead.
The following example can be used to check if sleep is enabled within the registry.
You can see that the value retuned is 0, meaning sleep is disabled.
mclient get root/Power/default/AC/sleep
value 0
Use gettree as follows to get all available registry keys and their values within the specified location. The output may be very long depending on how large the registry at the chosen location is. Pipe the command into grep or other post processing commands to filter the output.
mclient gettree root/Power/
You can use the following example to get the saved username of your VMware Horizon View connections.
mclient gettree root/ConnectionType/view/connections | grep username -A 1
set and commit
mclient set is used to set a registry key. Once the key is set, it must be commited to persistent storage using mclient commit
The following example is to disable sleep using the mclient command.
mclient set root/Power/default/AC/sleep 0 mclient commit root/Power/default/AC/sleep