IT Mass Deployment (Non-Store)
Audience: IT and endpoint administrators deploying Pyze to all client machines when the extension is not installed from the Chrome Web Store or Edge Add-ons. Pyze supplies a signed package; you host it internally and force-install it by policy.
The native host is a small local helper that reads the signed-in OS username and hands the extension a hashed identifier (see Privacy note).
Two components go to every machine:
| Component | Deployed how |
|---|---|
| Native host (binary + preconfigured manifest) | Copy to a fixed path and register (Step 1) |
Extension (signed .crx + update.xml) |
Hosted on your HTTPS server, force-installed by policy (Steps 2 and 3), then pointed at your Pyze app and approved sites by policy (Step 4) |
If your environment can install from the store, the store guide is simpler.
Step 1: Install the Native Host (Machine-Wide)
Use the package for the target OS: pyze-native-host-<customer>-windows.zip or pyze-native-host-<customer>-macos.zip. Run as Administrator or system (Intune, SCCM, Jamf).
Copy pyze-native-host-win-x64.exe and com.pyze.host.json to C:\Program Files\Pyze\, then register the manifest for both browsers:
reg add "HKLM\SOFTWARE\Google\Chrome\NativeMessagingHosts\com.pyze.host" /ve /t REG_SZ /d "C:\Program Files\Pyze\com.pyze.host.json" /f
reg add "HKLM\SOFTWARE\Microsoft\Edge\NativeMessagingHosts\com.pyze.host" /ve /t REG_SZ /d "C:\Program Files\Pyze\com.pyze.host.json" /f
Locked-down images: Citrix, VDI, AppLocker, EDR
Chrome and Edge launch Windows native hosts through cmd.exe by default. If your image blocks that launch under the browser, the registration is correct and the files are in place, but the host never runs and events arrive without a userId. Set this policy alongside the registration so the browser starts the .exe directly (Chrome 120+, Edge 121+):
reg add "HKLM\SOFTWARE\Policies\Google\Chrome" /v NativeHostsExecutablesLaunchDirectly /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Edge" /v NativeHostsExecutablesLaunchDirectly /t REG_DWORD /d 1 /f
On published desktops deliver it with Group Policy or a Citrix WEM registry action, not a manual reg add on a non-persistent host, which is lost at reboot. Details and the diagnostic steps are in Native Host Troubleshooting.
# Create the folders; none of them exist on a fresh Mac
mkdir -p "/Library/Application Support/Pyze" \
"/Library/Google/Chrome/NativeMessagingHosts" \
"/Library/Microsoft/Edge/NativeMessagingHosts"
install -m 755 pyze-native-host-macos-arm64 "/Library/Application Support/Pyze/pyze-native-host"
xattr -d com.apple.quarantine "/Library/Application Support/Pyze/pyze-native-host" 2>/dev/null || true
# Register the manifest for both browsers
cp com.pyze.host.json "/Library/Google/Chrome/NativeMessagingHosts/"
cp com.pyze.host.json "/Library/Microsoft/Edge/NativeMessagingHosts/"
Use pyze-native-host-macos-x64 on Intel Macs.
Step 2: Host the Extension Package
Pyze ships pyze-<customer>-<version>.crx and update.xml, and gives you the extension ID with the package. The package is signed with a fixed key, so the ID never changes between versions, and the native host from Step 1 already trusts it.
Put both files on an internal HTTPS server that every endpoint can reach (office, VPN, Citrix):
- The certificate must be trusted by the endpoints. Allow anonymous GET with no sign-in redirect. SharePoint, OneDrive, and Teams links do not work.
- Serve
.crxasapplication/x-chrome-extension. Do not usefile://or UNC paths. - Edit the one URL in
update.xmlto point at your location:
<updatecheck codebase="https://<host>/pyze/pyze-<customer>-<version>.crx" version="<version>" />
Step 3: Force-Install by Policy
Set the force-install policy with this value (extension ID, semicolon, update.xml URL):
<extension-id>;https://<host>/pyze/update.xml
| Browser | Policy |
|---|---|
| Chrome | ExtensionInstallForcelist. GPO: Google Chrome › Extensions › Configure the list of force-installed apps and extensions. Registry: HKLM\SOFTWARE\Policies\Google\Chrome\ExtensionInstallForcelist, value 1 |
| Edge | ExtensionInstallForcelist. GPO: Microsoft Edge › Extensions › Control which extensions are installed silently. Registry: HKLM\SOFTWARE\Policies\Microsoft\Edge\ExtensionInstallForcelist, value 1 |
| macOS | MDM profile key ExtensionInstallForcelist (array) in com.google.Chrome and com.microsoft.Edge |
Let the Browser Update from Your Server
Also set the ExtensionSettings policy, with override_update_url set to true for the Pyze extension ID. Without this setting, the browser uses the update.xml URL from ExtensionInstallForcelist for the first install only. It does not read your update.xml again, and later Pyze versions do not install.
ExtensionSettings is one value for all extensions
A newExtensionSettings value replaces the old one. If the value already has entries for other extensions, add the Pyze entry to it. If it already has a Pyze entry (for example, the optional browser limit in Policy configuration), add "override_update_url": true to that entry. Set the value in one place only (one GPO or one MDM profile).
The Pyze entry alone:
{
"<extension-id>": {
"override_update_url": true
}
}
The Pyze entry with the optional browser limit, next to an entry for another extension:
{
"<other-extension-id>": { "installation_mode": "allowed" },
"<extension-id>": {
"override_update_url": true,
"runtime_blocked_hosts": ["*://*"],
"runtime_allowed_hosts": ["*://*.your-app.example.com"]
}
}
| Browser | Where to set ExtensionSettings |
|---|---|
| Chrome | GPO: Google Chrome › Extensions › Extension management settings. Registry: string value ExtensionSettings in HKLM\SOFTWARE\Policies\Google\Chrome, with the JSON on one line |
| Edge | GPO: Microsoft Edge › Extensions › Configure extension management settings. Registry: string value ExtensionSettings in HKLM\SOFTWARE\Policies\Microsoft\Edge, with the JSON on one line. The override_update_url field needs Edge 93 or later |
| macOS | MDM profile key ExtensionSettings (dictionary) in com.google.Chrome and com.microsoft.Edge |
Managed devices only
A non-store force-install is honoured only on managed devices (domain-joined, MDM-enrolled, or in Chrome Browser Cloud Management). Elsewhere the entry is ignored.Verify on a client
- Open
chrome://policyand click Reload policies. The entry should be listed without error. - Open
chrome://extensions. Pyze should appear with the ID above and the label Installed by your organization. - On
chrome://policy(edge://policyin Edge),ExtensionSettingsshould be listed without error and showoverride_update_urlfor the Pyze ID. - If the extension is missing, open the
update.xmlURL in the browser on that machine. It must load with no redirect or certificate warning.
Step 4: Set the App Key and Site Allow-List
This step is required. The extension is the same build for every customer, and it reports nothing until your policy sets two values: the Pyze app key and the list of sites it may collect from. Until both are set, no Pyze script is placed on any page and no data is sent.
Pyze gives you the app key. Apply both values to the same device groups as the force-install policy.
Both values go under the extension’s own policy key. Run the commands below with system rights, or deliver the same registry values with Group Policy Preferences or Intune:
reg add "HKLM\SOFTWARE\Policies\Google\Chrome\3rdparty\extensions\<extension-id>\policy" /v AppKey /t REG_SZ /d "<app-key>" /f
reg add "HKLM\SOFTWARE\Policies\Google\Chrome\3rdparty\extensions\<extension-id>\policy\AllowedSites" /v 1 /t REG_SZ /d "https://*.your-app.example.com/*" /f
For Edge, run the same two commands with Microsoft\Edge in place of Google\Chrome. For each further site, add another value under AllowedSites named 2, 3, and so on.
Deliver both values in an MDM configuration profile, in the preference domain com.google.Chrome.extensions.<extension-id> (Edge: com.microsoft.Edge.extensions.<extension-id>):
<key>AppKey</key>
<string><app-key></string>
<key>AllowedSites</key>
<array>
<string>https://*.your-app.example.com/*</string>
</array>
Each AllowedSites entry is a site pattern with a scheme, a host, and a path. To collect from every site, use the single entry *://*/*.
Verify on a client: open chrome://policy (Edge: edge://policy) and click Reload policies. AppKey and AllowedSites should both be listed under the Pyze extension, without error.
How the list is enforced, an optional second limit enforced by the browser, and troubleshooting are in App Key and Site Allow-List by Policy.
Verify the Native Host on a Client
Open chrome://extensions (Edge: edge://extensions), turn on Developer mode, click service worker under Pyze, and reload the extension. The console should show Pyze: Native config loaded followed by User Hash: <string>.
On managed machines the service worker link is hidden until the DeveloperToolsAvailability policy is 1 under HKLM\SOFTWARE\Policies\Google\Chrome (and ...\Microsoft\Edge for Edge). On Citrix published desktops push that value with Group Policy or a Citrix WEM registry action, as a manual change on a non-persistent host is lost at reboot. Remove it again when you are done.
Any other message means the native host is not working. Native Host Troubleshooting maps each console message (not found, forbidden, Failed to start) to its cause and fix.
Updates and Uninstall
Extension: Pyze sends a new .crx and update.xml. Upload the .crx, edit the codebase URL in the new update.xml to your location exactly as in Step 2, then replace the old update.xml. Browsers update silently at their next update check. This needs the override_update_url setting from Step 3; you do not need to change any other policy. Never re-zip or modify the .crx.
If you installed an earlier Pyze version from your own server without override_update_url, add the setting before you replace update.xml, or the browsers can stay on the earlier version. You do not need to remove or install the extension again: after the setting arrives, the browser reads your update.xml at its next update check.
Native host: replace the binary at the install path.
Uninstall extension: delete the force-install entry. The browser removes the extension at the next policy refresh.
Uninstall native host (Windows): run the following, then delete C:\Program Files\Pyze\:
reg delete "HKLM\SOFTWARE\Google\Chrome\NativeMessagingHosts\com.pyze.host" /f
reg delete "HKLM\SOFTWARE\Microsoft\Edge\NativeMessagingHosts\com.pyze.host" /f
Uninstall native host (macOS): delete the two com.pyze.host.json files and /Library/Application Support/Pyze/.
Privacy Note
The native host reads the OS username and sends only a SHA-256 hash of it. The username itself is never sent. The hash is a stable pseudonymous identifier, so the same user gets the same ID on every machine.