Drive maps, printers and shortcuts for users
Goal: users find their departmental shares, their printers and their shortcuts when they sign in to a RHEL workstation, from the same Group Policy Preferences that serve them on Windows, including item-level targeting.
You need: GPWarden on the workstations. For shared printers, the Linux team
installs samba-krb5-printing (the GPWarden package recommends it).
1. Drive maps
User Configuration > Preferences > Windows Settings > Drive Maps, New > Mapped Drive:
- Location:
\\fs01.example.com\Finance; Label as: Finance; Drive Letter: S. - On the Common tab, Item-level targeting: Security Group = EXAMPLE\Finance.
On RHEL the share appears in Files (the file manager) as a bookmark S: Finance,
mounted when the desktop session starts, with the user's Kerberos ticket: no
password prompt. DFS paths on the domain (\\example.com\dfs\Finance) work too.

2. Printers
User Configuration > Preferences > Control Panel Settings > Printers:
- New > Shared Printer:
\\print01.example.com\Floor2-Color, Set this printer as the default printer, targeted to a group or an IP range as on Windows. - New > TCP/IP Printer: an IP address and port 9100 (raw) or LPR, for printers without a print server.
Printers deployed with Print Management (Deploy with Group Policy) arrive too. For printers every user of a computer should have, use the same items under Computer Configuration.
What happens on RHEL:
- Each printer becomes a CUPS queue. A shared printer prints to the Windows print server over SMB as the signed-in user, so the server's queue shows the real owner, and quotas and auditing on the server keep working.
- A printer from user policy can be used only by the users who received it; other users see its name but cannot print to it.
- The default printer is the user's own.
- Driver: CUPS' generic PostScript driver, which most office printers accept. For a printer that needs its own driver, name the model in Computer Configuration > Policies > Administrative Templates > GPWarden (RHEL) > Printers > Printer drivers. Windows drivers cannot run on RHEL.
3. Shortcuts
User Configuration > Preferences > Windows Settings > Shortcuts:
- Target type URL: an intranet page, shown in the app grid with its name.
- File System Object with a UNC path: opens the share in Files.
- A Linux program by its path (
/usr/bin/gnome-calculator), for RHEL-only items.
The shortcuts appear in the GNOME app grid, where Windows shows them on the desktop or Start menu.
4. Mixed Windows and RHEL OUs
Drive maps, shared printers and URL shortcuts mean the same on both systems, so
one item serves both. For items that only make sense on one system (a Linux
program path, a Windows drive letter in a file path), add item-level targeting:
Operating System (a Windows version never matches RHEL), or a WMI query such as
SELECT * FROM Win32_OperatingSystem WHERE Version LIKE "linux-%".
Item-level targeting works as on Windows for: security group, user, OU, computer name, site, IP address range, domain, WMI query and operating system. An item that uses a filter GPWarden cannot evaluate (a registry or file check, for example) is skipped with a warning instead of guessed.
5. Check
- The user signs out and in (or runs
gpwardenctl update), then looks in Files, the print dialog and the app grid. gpwardenctl resultas the user lists each item and its outcome;gpwardenctl result -vshows which GPO set it.lpstat -plists the queues;lpstat -dthe user's default.
Also available
User Configuration > Preferences also has Environment (variables, appending to PATH), Files (copied from a share into the home folder), Folders and Registry (GNOME settings the user may change). Remove this item when it is no longer applied and Apply once and do not reapply work as on Windows.