The Windows registry and Ubuntu Pro for WSL¶
Ubuntu Pro
This page refers to features that require an Ubuntu Pro subscription.
The Windows registry is a database provided by Windows where programs can read and write information. Pro for WSL uses it as a read-only source of configuration.
In Pro for WSL, you can use the Windows registry to supply the configuration for Ubuntu Pro and Landscape to the Windows Agent.
See more: install Pro for WSL and add a Pro token

Expected contents of the UbuntuPro registry key¶
The Windows agent will read the following values from the key at HK_CURRENT_USER\Software\Canonical\UbuntuPro:
Value
UbuntuProToken(typeString) expects the Ubuntu Pro token for the user.Value
LandscapeConfig(typeStringorMulti-line string) expects the Landscape configuration.