Docs / Start here / For Windows administrators

PDF644 KB

GPWarden 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 WindowsOn RHEL with GPWarden
Processing order: local, site, domain, OUs; link order; Enforced; Block InheritanceThe 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 filtersThe 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 usersThe 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 ResultsModeling in GPMC predicts the RHEL result. On the workstation, gpwardenctl result is gpresult.
Windows LAPS: Get-LapsADPassword, the LAPS tab in ADUCThe same, for the RHEL workstation's local administrator account.
BitLocker recovery passwords on the computer's BitLocker Recovery tabThe same tab shows the recovery password for the workstation's encrypted disks (LUKS).
Certificate templates and auto-enrollmentThe same templates, permissions and Certificate Services Client - Auto-Enrollment policy.
Wired and Wireless Network Policies, NPSThe 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:

PowerShell
# 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):

GPWarden's templates in the GPO editor, the System category

Step 2: Get the workstation into the domain

The Linux team joins the workstation and installs GPWarden. Give them this checklist:

  1. Join the workstation to example.com with realm join (or adcli), into OU=Linux,OU=Workstations,DC=example,DC=com.
  2. Install GPWarden from the subscription repository: gpwardenctl license set <file with the key>, then dnf install gpwarden gpwarden-desktop.
  3. gpwarden-authselect enable, then systemctl enable --now gpwardend.
  4. 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.

A layout that works well:

GPOLinked toContents
Your existing workstation baselineWorkstations 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 DesktopLinux OULinux-only settings: GNOME settings, packages, Linux scripts, preferences with Linux paths and service names.
Windows-only GPOsanywhereGive 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 runOn the RHEL workstation
gpupdategpwardenctl update (any user: computer policy and their own)
gpupdate /forcegpwardenctl update --force
gpupdate /target:computergpwardenctl update --target computer
gpresult /rgpwardenctl result (root: computer; a user: their own settings)
gpresult /vgpwardenctl result -v (every setting and the GPO that won)
gpresult /h report.htmlgpwardenctl result --html report.html (laid out like gpresult /h)
gpresult /scope user /user bobgpwardenctl result --user bob (root)
Event Viewer, System, source GroupPolicyjournalctl -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-LapsPasswordSet-LapsADPasswordExpirationTime -Identity WS042 from your admin workstation: the RHEL workstation rotates at its next hourly check
Control Panel, Install a program from the networkThe 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 pathOn 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 PoliciesPassword 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 OptionsInteractive logon: Message title/text (banner on the login screen, text consoles and SSH), Machine inactivity limit (screen lock).
... > Restricted GroupsAdministrators: 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 DirectoryRights 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-inSmart-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) Policies802.1X with NPS: EAP-TLS, PEAP, PEAP-TLS, smart cards. See the Wi-Fi scenario.
... > Public Key Policies > Certificate Services Client - Auto-EnrollmentAuto-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 PolicyRefresh interval, Always wait for the network, loopback.
Administrative Templates > System > LAPSWindows LAPS, all settings. See the LAPS scenario.
Administrative Templates > System > Removable Storage AccessAll Removable Storage classes: Deny all access blocks USB storage.
Administrative Templates > System > Windows Time ServiceTime sources (Configure Windows NTP Client). Without it, the workstation syncs from the DCs, like a Windows member.
Administrative Templates > Windows Components > BitLocker Drive EncryptionChoose 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 UpdatesAutomatic 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 ListIntranet sites in the Intranet or Trusted zone get single sign-on (Kerberos) in Firefox, Chrome and Edge.
Administrative Templates > Google Chrome / Microsoft EdgeEvery policy, mandatory and Recommended. Check on the workstation at chrome://policy or edge://policy.
Administrative Templates > GPWardenRHEL-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 settingsRegistry 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 GroupsAdministrators (built-in): the same as Restricted Groups, member by member.
Preferences > Control Panel Settings > PrintersTCP/IP printers for everyone on the workstation.
Preferences > Control Panel Settings > Scheduled TasksScheduled and immediate tasks that start Linux programs. Run as SYSTEM (root), a domain account, or the user who signs in.
Preferences > Control Panel Settings > ServicesStartup type and start / stop / restart for RHEL services, by their Linux name (cups, bluetooth). Disabled means the service cannot be started.
Preferences > Windows Settings > EnvironmentSystem environment variables, including adding to PATH.
Preferences > Windows Settings > Ini FilesSettings in configuration files under /etc.

User Configuration > Policies

GPMC pathOn 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-EnrollmentA 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 PolicySet Group Policy refresh interval for users.
GNOME settings per userRegistry 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 SettingsDrive 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 > PrintersShared 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 .msi packages. RHEL installs RPM packages; published programs are .zap files 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 result names each one.

The full list, with the reason for each, is in RATIONALE.md.

When a setting does not arrive

  1. 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.
  2. 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.
  3. 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.
Questions about this page? Ask in the chat or write to support@gpwarden.com.