Docs / Start here / For Windows administrators
PDF644 KBGPWarden for Windows administrators
On this page
You manage RHEL workstations the way you manage Windows ones: GPOs in the Group Policy Management Console (GPMC), linked to OUs, filtered by security group or WMI, checked with Group Policy Modeling. GPWarden is the Group Policy client on the RHEL workstation. It reads the same GPOs as a Windows 11 client and applies Microsoft's own settings wherever they mean something on RHEL.
This guide stays in Windows terms. The few steps that happen on the Linux workstation are in a checklist you can hand to the Linux team (their guide has the details).
What stays the same
| You know this from Windows | On RHEL with GPWarden |
|---|---|
| Processing order: local, site, domain, OUs; link order; Enforced; Block Inheritance | The same. GPWarden reads gPLink and gPOptions as Windows does. |
| Security filtering (Apply group policy on the GPO's Delegation tab) | The same, evaluated against the computer's or user's groups. Group changes take effect at the next refresh, without a reboot. |
| WMI filters | The same filters. RHEL answers the common WMI classes with Linux facts: Win32_OperatingSystem reports OSType = 36 and Version = linux-<version>, so OSType = 18 (Windows) never matches RHEL. |
| Loopback processing (Merge / Replace) | The same. |
| Background refresh every 90 minutes ± 30, and the user interval from Set Group Policy refresh interval for users | The same defaults and the same policies. Boot and sign-in never wait for policy unless Always wait for the network at computer startup and logon is enabled. |
Central Store (PolicyDefinitions) | GPWarden's own templates (GPWarden.admx) go into the Central Store next to Microsoft's. Google's and Microsoft's browser templates are read from there too. |
| Group Policy Modeling and Group Policy Results | Modeling in GPMC predicts the RHEL result. On the workstation, gpwardenctl result is gpresult. |
Windows LAPS: Get-LapsADPassword, the LAPS tab in ADUC | The same, for the RHEL workstation's local administrator account. |
| BitLocker recovery passwords on the computer's BitLocker Recovery tab | The same tab shows the recovery password for the workstation's encrypted disks (LUKS). |
| Certificate templates and auto-enrollment | The same templates, permissions and Certificate Services Client - Auto-Enrollment policy. |
| Wired and Wireless Network Policies, NPS | The same policies and the same NPS network policies. |
| Event IDs 1500, 1502, 1055, 4732, 10018, ... | The same numbers in the workstation's journal (EVENTS.md). |
Before you begin
- Domain controllers on Windows Server 2016 or later.
- For encrypted LAPS: domain functional level 2016, the LAPS schema extension and a KDS root key, as for Windows LAPS.
- The RHEL workstations reach the DCs on the usual ports: DNS, Kerberos, LDAP, SMB (SYSVOL) and RPC. The table is in DEPLOYMENT.md.
- An OU for the Linux workstations. GPWarden works in a mixed OU too, but a separate OU keeps Linux-only settings away from Windows clients.
Step 1: Prepare Active Directory (once)
On a DC or an admin workstation with RSAT, as a Domain Admin:
# GPWarden's administrative templates into the Central Store (from the
# gpwarden-admx package, /usr/share/gpwarden/admx, or the release download).
$store = "\\$env:USERDNSDOMAIN\SYSVOL\$env:USERDNSDOMAIN\Policies\PolicyDefinitions"
Copy-Item .\GPWarden.admx $store
Copy-Item .\en-US\GPWarden.adml "$store\en-US"
# Windows LAPS, if not already in use: schema, and the computers' right to
# write their own password.
Update-LapsADSchema
Set-LapsADComputerSelfPermission -Identity "OU=Linux,OU=Workstations,DC=example,DC=com"
Get-KdsRootKey # none? Add-KdsRootKey -EffectiveImmediately (usable after 10 hours)For Chrome and Edge settings, put Google's chrome.admx and Microsoft's
msedge.admx (with their ADML files) in the Central Store as you would for Windows.
GPWarden reads them to give each setting the type the browser expects.
GPWarden's own settings then appear in the GPO editor under Administrative Templates > GPWarden (RHEL):

Step 2: Get the workstation into the domain
The Linux team joins the workstation and installs GPWarden. Give them this checklist:
- Join the workstation to
example.comwithrealm join(oradcli), intoOU=Linux,OU=Workstations,DC=example,DC=com. - Install GPWarden from the subscription repository:
gpwardenctl license set <file with the key>, thendnf install gpwarden gpwarden-desktop. gpwarden-authselect enable, thensystemctl enable --now gpwardend.- Send back the output of
gpwardenctl result(run as root).
The output of step 4 should list the same GPOs, in the same order, as Group Policy
Modeling shows for that computer in GPMC. If a GPO is missing, the output says why,
in the same words gpresult uses (Denied (Security), Denied (WMI Filter), ...).
The workstation also gets its license key from Group Policy if you prefer: Computer Configuration > Policies > Administrative Templates > GPWarden (RHEL) > Software > GPWarden subscription license key.
Step 3: Create and link GPOs
A layout that works well:
| GPO | Linked to | Contents |
|---|---|---|
| Your existing workstation baseline | Workstations OU (Windows and Linux) | Password and lockout policy, logon banner, inactivity limit, removable storage, LAPS, auto-enrollment: settings that mean the same on both. |
| Linux Desktop | Linux OU | Linux-only settings: GNOME settings, packages, Linux scripts, preferences with Linux paths and service names. |
| Windows-only GPOs | anywhere | Give them a WMI filter for Windows (SELECT * FROM Win32_OperatingSystem WHERE OSType = 18). |
Settings that exist only on Windows (for example most of Windows Components) are
listed in gpwardenctl result -v and otherwise ignored. A shared baseline is
therefore safe to link to Linux workstations: nothing is half-applied.
Step 4: Check the result
| On Windows you run | On the RHEL workstation |
|---|---|
gpupdate | gpwardenctl update (any user: computer policy and their own) |
gpupdate /force | gpwardenctl update --force |
gpupdate /target:computer | gpwardenctl update --target computer |
gpresult /r | gpwardenctl result (root: computer; a user: their own settings) |
gpresult /v | gpwardenctl result -v (every setting and the GPO that won) |
gpresult /h report.html | gpwardenctl result --html report.html (laid out like gpresult /h) |
gpresult /scope user /user bob | gpwardenctl result --user bob (root) |
| Event Viewer, System, source GroupPolicy | journalctl -u gpwardend; the events carry the Windows IDs, e.g. journalctl -u gpwardend GPWARDEN_WINDOWS_EVENT_ID=1055 |
certutil -pulse (auto-enrollment now) | gpwardenctl update |
Reset-LapsPassword | Set-LapsADPasswordExpirationTime -Identity WS042 from your admin workstation: the RHEL workstation rotates at its next hourly check |
| Control Panel, Install a program from the network | The same name in the GNOME app grid |
The HTML report is the easiest thing to ask a user or the Linux team for: one file,
the same sections as gpresult /h.
Where the settings are in GPMC
Everything below is configured exactly as for Windows unless the right-hand column says otherwise.
Computer Configuration > Policies
| GPMC path | On RHEL |
|---|---|
| Windows Settings > Scripts (Startup/Shutdown) | Add Linux scripts (first line #!/bin/bash or similar, Unix line endings). Run as root. Windows scripts in the same GPO are skipped. |
| Windows Settings > Security Settings > Account Policies | Password and lockout policy for the workstation's local accounts, as on a Windows member. Domain accounts follow the domain policy on the DCs. |
| ... > Local Policies > Security Options | Interactive logon: Message title/text (banner on the login screen, text consoles and SSH), Machine inactivity limit (screen lock). |
| ... > Restricted Groups | Administrators: who may use sudo and approve admin prompts in GNOME. For time-limited administrators, use a group with AD's time-bound membership (Add-ADGroupMember -MemberTimeToLive). |
| GPWarden > System > Use sudo rules from Active Directory | Rights for specific commands, optionally with start and end times, as sudoRole objects in AD (the sudo schema extension once). |
| ... > Security Options > Interactive logon: Require smart card / Smart card removal behavior, and GPWarden > System > Allow smart card sign-in | Smart-card sign-in with certificates from CAs in AD's NTAuth store, mapped by UPN as on Windows. Unlike Windows, it is off until a policy turns it on. |
| ... > Wired Network (IEEE 802.3) Policies and Wireless Network (IEEE 802.11) Policies | 802.1X with NPS: EAP-TLS, PEAP, PEAP-TLS, smart cards. See the Wi-Fi scenario. |
| ... > Public Key Policies > Certificate Services Client - Auto-Enrollment | Auto-enrollment and renewal from your enterprise CA; requests waiting for CA manager approval are collected once approved. The AD root CAs are trusted on every member without any setting. |
| Administrative Templates > System > Group Policy | Refresh interval, Always wait for the network, loopback. |
| Administrative Templates > System > LAPS | Windows LAPS, all settings. See the LAPS scenario. |
| Administrative Templates > System > Removable Storage Access | All Removable Storage classes: Deny all access blocks USB storage. |
| Administrative Templates > System > Windows Time Service | Time sources (Configure Windows NTP Client). Without it, the workstation syncs from the DCs, like a Windows member. |
| Administrative Templates > Windows Components > BitLocker Drive Encryption | Choose how ... drives can be recovered with Save BitLocker recovery information to AD DS: the workstation's encrypted disks get a 48-digit recovery password, shown on the computer's BitLocker Recovery tab. |
| Administrative Templates > Windows Components > Windows Update > Configure Automatic Updates | Automatic updates of the RHEL workstation (download only, or install on the scheduled day and hour). |
| Administrative Templates > Windows Components > Internet Explorer > Internet Control Panel > Security Page > Site to Zone Assignment List | Intranet sites in the Intranet or Trusted zone get single sign-on (Kerberos) in Firefox, Chrome and Edge. |
| Administrative Templates > Google Chrome / Microsoft Edge | Every policy, mandatory and Recommended. Check on the workstation at chrome://policy or edge://policy. |
| Administrative Templates > GPWarden | RHEL-only settings: Group Policy (refresh interval, wait for the network), Software (install and remove packages, package repositories, security updates only, the subscription license key), System (time synchronization), Printers (printer drivers), Disk encryption (rotate the recovery password after use). |
| GNOME settings | Registry values under HKLM\Software\Policies\GPWarden\dconf\<setting path>, set with Set-GPRegistryValue (example in the lock-down scenario). Set and locked: users cannot change them. |
| Preferences > Control Panel Settings > Local Users and Groups | Administrators (built-in): the same as Restricted Groups, member by member. |
| Preferences > Control Panel Settings > Printers | TCP/IP printers for everyone on the workstation. |
| Preferences > Control Panel Settings > Scheduled Tasks | Scheduled and immediate tasks that start Linux programs. Run as SYSTEM (root), a domain account, or the user who signs in. |
| Preferences > Control Panel Settings > Services | Startup type and start / stop / restart for RHEL services, by their Linux name (cups, bluetooth). Disabled means the service cannot be started. |
| Preferences > Windows Settings > Environment | System environment variables, including adding to PATH. |
| Preferences > Windows Settings > Ini Files | Settings in configuration files under /etc. |
User Configuration > Policies
| GPMC path | On RHEL |
|---|---|
| Windows Settings > Scripts (Logon/Logoff) | Linux scripts, run as the user with their Kerberos ticket. |
| Windows Settings > Security Settings > Public Key Policies > Certificate Services Client - Auto-Enrollment | A certificate for each user, stored in their home folder and in the browsers' certificate store. |
Software Settings > Software installation (published .zap packages) | The program appears in Install a Program from the Network for the users in scope. See the software scenario. |
| Administrative Templates > System > Group Policy | Set Group Policy refresh interval for users. |
| GNOME settings per user | Registry values under HKCU\Software\Policies\GPWarden\dconf\<setting path> (set and locked), or Preferences > Windows Settings > Registry with the same key (a default the user may change). |
| Preferences > Windows Settings | Drive Maps (bookmarked and mounted in the file manager), Shortcuts (app grid launchers), Environment, Files, Folders, Registry (GNOME settings the user may change). |
| Preferences > Control Panel Settings > Printers | Shared and TCP/IP printers for the user, Set as default. |
Item-level targeting works on Preferences items as on Windows (security group, OU, computer name, IP range, site, WMI query, operating system, user). An item that uses a filter GPWarden cannot evaluate (a registry or file check, for example) is skipped with a warning rather than guessed.
What is different
- Use Linux names in Preferences. Services, file paths, programs in scheduled
tasks and environment values are entered as they exist on RHEL (
cups,/etc/app/app.ini,/usr/local/bin/backup.sh). Windows clients in the same OU would log errors for them, so link such items to the Linux OU or target them by operating system. - Group membership changes need no reboot. GPWarden reads the computer's groups at every refresh.
- No
.msipackages. RHEL installs RPM packages; published programs are.zapfiles that name an RPM or a package from a repository. - Some Windows options have no RHEL meaning and are reported instead of
applied, for example Log on as for a service, user-side Chrome and Edge
policies (the browsers read only machine-wide policy on Linux), a scheduled task
that repeats every n days.
gpwardenctl resultnames each one.
The full list, with the reason for each, is in RATIONALE.md.
When a setting does not arrive
- Run Group Policy Modeling for the computer (and user) in GPMC. GPWarden follows the same rules, so if Modeling does not show the GPO, the workstation will not apply it either.
- Ask for
gpwardenctl result -v(or the HTML report) from the workstation. A GPO that was filtered out is listed with the reason; a setting that was not applied is listed with the reason. - If the report says the domain controller could not be reached (event 1055), it is a network or DNS problem on the workstation: hand it to the Linux team with their troubleshooting table.