Which should you choose: Remote Desktop Services or Apache Guacamole for remote access?
If your RD Gateway or RD Web Access roles are under review, the decision is narrower than it looks. Apache Guacamole connects to RDP session hosts rather than replacing them, so the session hosts, their Windows licensing and any remaining broker role stay in place either way. What changes is the front end: who authenticates, how users reach the desktop, and where the gateway runs. Keeping RDS fits when your users depend on native Windows and macOS clients, RemoteApp published apps, and a broker and licensing arrangement that already works. Your RDS CALs and session host estate do not disappear just because the gateway moves, so confirm the licensing position with your Microsoft licensing advisor before assuming any saving.
Guacamole fits when browser-only access is the goal, when you want the gateway under your own control with an Apache-2.0 license, or when you need MFA and session recording added to a path you can review. Its web application handles authentication through extensions for LDAP, SAML, OpenID Connect, Duo and TOTP, and the session recording player extension is documented in the manual. Expect a trade-off in native client features and in RemoteApp-style experiences, which Guacamole does not reproduce. Review the Guacamole manual against your required printing, drive redirection and clipboard behavior before committing.
The decision turns on three questions. First, which RDS roles will remain: if you keep the connection broker and session hosts, Guacamole is a front-end swap, but if you move to a different delivery model, the scope is larger. Second, how many session hosts and collections sit behind the gateway, because each connection must be imported and maintained. Third, whether your team can run a web application, a guacd daemon, a database backend and patching on a schedule, with a named owner for MFA and logs. If the answers point to an operating model your team cannot sustain, the cheaper option on paper may cost more in staff time.
Which option fits each remote access scenario
This table maps common remote access scenarios to the better fit, RD Gateway and RD Web Access or Apache Guacamole, and the condition that decides it. Read each row against your own user base and licensing position, since the deciding factor is usually who connects and what they need to run.
| Scenario | Better fit | Condition that drives the choice |
|---|---|---|
| Browser-only contractors who need a few internal Windows apps | Apache Guacamole | Users connect from an HTML5 browser with no client install, and connections can be limited to specific hosts through connection groups. |
| Full RemoteApp users who expect published apps to look native on the endpoint | RD Gateway and RD Web Access | Native RemoteApp windows, client-side integration and the RDP client feature set remain stronger in Microsoft's stack. Confirm each feature you depend on. |
| Mixed Windows and Linux access from one portal | Apache Guacamole | Guacamole connects to RDP, VNC and SSH targets from one web interface, so Linux hosts do not need a separate gateway. |
| Strict data residency with all components in your own network | Apache Guacamole | Guacamole and guacd run on servers you control, but the session path still depends on where session hosts run. Confirm the location of every hop. |
| Team with no Windows gateway expertise and limited time to maintain it | Apache Guacamole, if Linux administration is available | The deployment uses a web application, guacd and a database backend. Confirm your team can run Linux, Docker or a database and keep them patched. |
| Large RDS farm with existing Active Directory integration and Microsoft-managed session brokering | RD Gateway and RD Web Access | Brokering, collections and Group Policy-driven settings already work. Replacing only the gateway and web roles is the smaller change. |
| Compliance scope that requires MFA and session monitoring on remote access | Apache Guacamole with an MFA extension and session recording | Duo, TOTP and session recording are documented Guacamole extensions. Confirm your assessor accepts the evidence each one produces. |
| Printing and drive redirection are business critical | RD Gateway and RD Web Access, until tested | Redirection behavior depends on the client and protocol path. Test printing and drive mapping in a pilot before deciding. |
Which RDS roles still remain when Guacamole sits in front
Replacing the gateway and web access roles does not remove Windows Server from the design. Session hosts still run the desktops and apps users actually use, and they stay on Windows Server because Guacamole only connects to them. Guacamole's web application handles the browser session and sign-in, while guacd loads the RDP client plugin that opens the connection to the session host on the user's behalf (Guacamole architecture). The RD Gateway role, which carried RDP over HTTPS and enforced gateway policy, and the RD Web Access role, which published the feed and sign-in page, are the two roles this replacement targets. The rest of the set depends on your farm design. Whether the connection broker, the licensing role and any virtualization host role remain is decided by how you deploy collections, session reconnection and desktops.
RDS CALs still apply to session hosts. Licensing follows the access path into the session host, so placing Guacamole in front does not by itself remove the requirement for each user or device that reaches an RD Session Host. The Remote Desktop Licensing role therefore stays in the farm to issue and track those licenses. Confirm with your Microsoft licensing terms or licensing partner how your current CAL position maps to the new access path, because that interpretation belongs to the license agreement and not to this page. Record the licenses you hold and how they are assigned today before any change, so the migration does not start from an unknown count. The sibling page on RDS CALs with Guacamole covers the licensing questions in more detail.
Confirm the remaining role set against a written inventory before cutover. List every RDS role, the server it runs on and what depends on it. Check whether the connection broker handles session reconnection, load balancing across session hosts or collection membership, and whether a virtualization host role serves pooled or personal desktops. Identify any RemoteApp publishing that users rely on, since Guacamole connection groups can replace the feed but not every broker function moves with it. Test reconnection and host selection in a non-production pilot. Also record where TLS certificates, MFA and access policies currently sit, because those controls shift to Guacamole's authentication layer and the gateway's policies will need new homes.
Where authentication, MFA and session data live
Both RD Gateway and Guacamole put a front end in front of your session hosts, so each one decides where sign-in, multi-factor checks and session records are handled. In both cases, you own the hosting, the configuration and the evidence an assessor will ask to see. The cards below cover the decisions that most often shape a migration.
Authentication backends
Guacamole's web application handles sign-in itself, using extensions for Active Directory and LDAP, SAML, OpenID Connect, CAS, smart card single sign-on or encrypted JSON and HTTP header authentication. RD Gateway instead relies on Windows authentication and Active Directory policy. Confirm which identity source is the system of record, and test how group membership maps to connection permissions before you retire the old gateway.
Guacamole manualMFA placement
Multi-factor authentication must be enforced at the gateway, not only at the desktop. Guacamole offers Duo and TOTP extensions, so the second factor is checked before any RDP session starts. Confirm that the MFA extension, the directory and the session hosts all agree on who the user is, and that a bypass path such as a local break-glass account is documented and monitored.
Database backend
Guacamole stores connections, users and permissions in MariaDB or MySQL, PostgreSQL or SQL Server. Choose the engine your team can back up, patch and restore on a schedule, and confirm the database sits on a segment reachable only from the web tier and guacd. Record who administers it, because changes to connection permissions are access changes.
Session recording location
Guacamole's session recording player extension can capture remote sessions, but the recordings are files you store and protect. Decide where they land, how long they are kept, who can view them and how access is logged. This is the evidence that supports the monitoring of remote sessions that NIST SP 800-171 requirement 3.1.12 expects, so treat it as a control with its own owner.
Network placement of guacd and the web tier
guacd is the daemon that opens the RDP connection to session hosts, so it needs network reach to them, while the web application only needs to talk to guacd and the user's browser. Place the web tier in a DMZ or reverse proxy zone, keep guacd and the database internal, and restrict which session hosts each guacd instance can reach. Write this segmentation down, because it is the first thing a reviewer will test.
Compliance evidence under NIST and CIS
NIST SP 800-46 Rev. 2 expects every component of a remote access technology to be secured against threats identified in a threat model, and CIS Control 6.4 expects MFA for remote network access. Both reviews will ask for configuration exports, access logs and test results from the gateway itself. Those artifacts are your responsibility in a self-hosted setup, and DeployOpen can help prepare them, but independent auditors and certification bodies issue any assessment outcome.
NIST SP 800-46 Rev. 2How load balancing and session recording differ in practice
In an RDS deployment, the gateway, the connection broker and the session hosts divide the work. The RD Gateway role carries RDP inside HTTPS tunnels, and the RD Connection Broker tracks which session host holds each user's session so that reconnects land on the right host. Scaling the front end means planning gateway capacity, broker high availability and the way the farm's load balancer keeps each client's connections on one gateway for the life of a tunnel. Those choices live inside the Microsoft stack, so the reader should confirm the current guidance for the Windows Server release in use.
- Broker dependence: Session redirection depends on the broker database and its availability, so test a broker failover while users are connected.
- Gateway affinity: Confirm how the load balancer keeps a client on one gateway during a session.
- Session host placement: Test that reconnects reach the host holding the disconnected session, not a new one.
- Certificate and name design: Gateway certificates and published names must match what clients resolve after a failover.
Before a cutover, have the platform team write down which role handles each function today and run a failover drill on the existing farm.
Guacamole splits the work differently. The web application handles HTTP, authentication and the Guacamole protocol, and it forwards each session to the guacd daemon, which loads the protocol plugin that connects to the target desktop. A browser session therefore depends on a live connection between the web application and a specific guacd process, so the load balancer must keep a user's HTTP and WebSocket traffic on the same web node for that session. Scaling usually means running more web and guacd containers or hosts, with the database backend shared among them. Test these paths under load, not only in a single-node lab.
- Sticky routing: Configure session affinity at the load balancer and verify it with real browser sessions, including reconnects.
- Shared database: Confirm that connection definitions, users and permissions live in the shared backend that every web node reads.
- guacd placement: Decide whether guacd runs beside each web node or as a pool, and test which hosts can reach the session hosts.
- Timeouts: Set idle and tunnel timeouts at the load balancer so long sessions are not dropped silently.
The Guacamole architecture documentation describes the component split, and the team should confirm the behavior against the version it deploys.
Native RDS recording depends on the Windows session host and the features enabled on it, not on the gateway. Whether a session is recorded, where the recording is stored and who can play it back depend on the configuration of the session host and the broker. Because a Guacamole front end can hide the client details from the session host, the reader must confirm that native recording still captures the sessions that arrive through Guacamole, and that the audit trail records the Guacamole user or service account correctly.
- Feature scope: Confirm which RDS recording features apply to the Windows Server release in use, and whether they are available for the session collections in scope.
- Storage location: Decide where recordings land, how long they are kept and who holds access to the storage.
- Identity mapping: Test whether the recording or log shows the individual user, not only the Guacamole connection account.
- Coverage tests: Run a recorded session through each access path and check that every one produces a recording.
Map the result to the control that requires monitoring and controlling remote access sessions, such as NIST SP 800-171 requirement 3.1.12, and keep the test evidence with the design.
Guacamole can record sessions through its own recording settings and play them back with the session recording player extension. Recording is configured per connection, typically by setting a recording path and a naming pattern in the connection parameters, so the team decides which connections are recorded and where the files are written. The recordings are produced by guacd as the session runs, which means the storage and access controls for those files are the team's responsibility, and the player is an extension that must be installed alongside the web application. Confirm the parameter names and the player installation steps in the manual for the version being deployed.
- Per-connection scope: Enable recording on every connection that reaches a sensitive host, and test a sample of connections after each import.
- Storage controls: Restrict write and read access to the recording directory, set retention, and check backup coverage.
- Player access: Limit playback to reviewers through the same authentication and permission model used for connections.
- Integrity checks: Decide how recordings are hashed or protected from edits, and document the method.
The Guacamole manual is the next read for parameter names and extension setup.
How MFA and sign-in differ between the two models
The core difference is where the sign-in decision is made. In Microsoft Remote Desktop Services, the RD Gateway role evaluates connection authorization policies, and it typically relies on Active Directory for user identity and group membership. Multi-factor authentication on the gateway is configured through Windows Server features and the Microsoft identity stack, so the factor flow is tied to the Windows and Active Directory environment that already governs the session hosts. In Apache Guacamole, the web application handles authentication itself and delegates identity to extensions. The Active Directory and LDAP extension validates credentials against a directory, the SAML and OpenID Connect extensions hand sign-in to an external identity provider, and the Duo and TOTP extensions add a second factor. Smart card single sign-on is also documented for environments that already issue cards.
CIS Controls v8.1 Safeguard 6.4 requires multi-factor authentication for remote network access and sits in Implementation Group 1, so it applies to any organization that uses either model for remote sessions. Both models can meet it, but the implementation differs. Before cutover, confirm which factor flow satisfies your policy: for example, whether the second factor must be enforced at the gateway, at the identity provider, or both, and whether a password-only fallback exists for any path into a session host. Also confirm whether the factor is applied to every protocol and every connection group, and whether the chosen Guacamole extension is one your assessor accepts as MFA for this control.
Plan a test matrix before migration. Sign in as users in each group, from inside and outside the network, and record which factor is challenged, where the decision is logged, and what happens when the second factor service is unavailable. Verify that disabling a user in the directory blocks access through Guacamole within the time your policy allows, because the web application and the RDP session host may each hold separate credentials. Document the result as evidence for the access control and remote access requirements in your framework, including NIST SP 800-171 requirement 3.1.12 if you handle controlled unclassified information.
What each side costs to run and what drives it up
Both front ends need session hosts, and the cost of that layer does not change with the gateway you choose. The differences sit in licensing for the access layer, the infrastructure that carries traffic, and the staff time to build and keep it secure. Read each card as a line item to request in a quote.
RDS CALs and Windows Server licensing
RDS client access licenses are required per user or device when people connect to an RD Session Host, and Windows Server licenses sit under the session hosts. Under Guacamole, the session hosts still need these licenses because the RDP connection still lands on them. Ask your Microsoft partner or licensing contact to confirm how your current agreement counts users, devices and any Software Assurance benefits, and whether any licenses can be retired in a migration.
Session host licensing stays in both designs
The session host layer does not disappear when you add Guacamole. Guacamole connects to RDP session hosts on the user's behalf, so every session still runs on a Windows host that needs its own licensing and patching. Budget for those hosts in both scenarios, and treat any saving as limited to the gateway and web access roles.
Gateway and broker infrastructure
RD Gateway, RD Web Access and the connection broker run on Windows Server and carry their own server licenses, patching and monitoring. Guacamole replaces the gateway and web roles with a Java web application and the guacd daemon, which you host on Linux or in containers. Compare the server count, the Windows Server licenses avoided and the Linux operations effort needed to run guacd and the web application.
Guacamole software at no license fee
Apache Guacamole is released under the Apache License, Version 2.0, so there is no license fee for the software itself. The cost sits in the infrastructure, the database backend (MariaDB, MySQL, PostgreSQL or SQL Server), and the people who install and maintain it. Confirm which extensions your identity model needs, such as LDAP, SAML, Duo or TOTP, because each one adds configuration and testing work.
Apache Guacamole siteHosting and load balancing
Gateway traffic grows with the number of concurrent sessions, so the size of the guacd and web tier depends on peak use, not total headcount. You will need a load balancer, TLS termination, and a plan for session affinity and failover across more than one node. Ask for an estimate that states the peak concurrent sessions, the hosting model, and whether the design includes a second site.
Staff time for build, MFA and patching
Internal time is the largest variable cost in most migrations. It covers deployment, Active Directory and MFA integration, testing printing and drive redirection, session recording setup, and ongoing patching of the Guacamole stack and its database. Estimate the hours per month for patching and the one-time hours for integration, and check whether your team already runs Linux and identity services at the level this needs.
External implementation fees
An implementation partner is paid for scoped work, such as the architecture, deployment, identity integration, migration of connection definitions, hardening and documentation. Fees are one-time for the build and recur only if you buy retainers for upgrades and support. Request a fixed-scope quote that lists each deliverable, the test cases for printing and redirection, the handover documents, and what happens if RDS roles are still needed after cutover.
What a move from RD Gateway and RD Web Access involves
The sequence replaces the gateway and web access front end with a browser gateway while leaving session hosts, licensing and client needs to be confirmed in place. The result is a parallel setup that can be tested and then retired without disrupting users.
Inventory session collections and RemoteApp feeds
The Windows administrator lists every session collection, the session hosts behind each one, published RemoteApp programs, and the users or groups assigned to them. Each published app is recorded with its target host, launch parameters and any RD Web Access feed that presents it. The step is complete when the team has a written inventory that maps every user group to the hosts and apps it reaches today. Confirm early which native client features users depend on, such as printing, drive redirection, clipboard and multi-monitor use, because these decide what the browser path must support.
Deploy guacd and the web application with a database
The infrastructure team installs guacd and the Guacamole web application on Linux or in containers, following the Guacamole manual's installation path, and connects the web application to a supported database backend such as MariaDB or MySQL, PostgreSQL or SQL Server. The team sets up TLS on the web tier and restricts network paths so only the gateway can reach the session hosts on RDP. The step is complete when a test administrator can sign in to the browser interface and open a connection to one test host.
Import connections for each collection
Using the inventory from the first step, the administrator creates connection groups that mirror each session collection, and defines an RDP connection for each host with the correct address, port, security mode and credential handling. Groups are assigned to the same users or directory groups that had access through RD Web Access. The step is complete when every collection in the inventory has a matching group, and a sample user from each group can see only the connections they were permitted under the old setup.
Integrate Active Directory and MFA
The identity team configures the Guacamole LDAP or Active Directory extension so that existing directory accounts and group memberships drive access, and then adds a second factor through the Duo or TOTP extension, or a SAML or OpenID Connect provider if the organization already uses one. Your security team should confirm that the chosen MFA method meets the remote access policy, since CIS Controls Safeguard 6.4 expects MFA for remote network access. The step is complete when a test user is denied access without the second factor and granted access with it, and when the logs show each sign-in event.
Test printing, drive redirection and session behavior
Test users run their daily tasks through the browser path, covering printing to their usual printers, file transfer and any drive or folder redirection their work requires, clipboard use, and sessions that were previously launched as RemoteApp windows. Each test is recorded with the result and any gap, and the team decides whether each gap is closed by configuration, by a different client, or accepted by the business owner. The step is complete when every feature on the confirmed client needs list has a documented result and an owner for each open gap.
Run parallel access with the gateway
The gateway and web access roles stay online while selected users move to the browser path, so both routes reach the same session hosts. The team monitors sign-in failures, session drops, support tickets and the session recording extension output, if it is in use, and adjusts connection settings or group membership as problems appear. The step is complete when a defined set of users has worked through the new path for a period the business agrees on in advance, and no open blocking issues remain.
Retire the gateway role
After parallel access is accepted, the team moves all users to the browser path, removes the RD Gateway and RD Web Access role services or decommissions their servers, and updates firewall rules, DNS records and any published links that pointed to the old endpoints. Access logs and configuration are archived for audit purposes. The step is complete when the old endpoints no longer accept connections, the firewall rules are reviewed, and the RDS licensing position is confirmed with the Guacamole licensing page before session hosts are reconfigured.
How a browser session reaches an RDS session host through Guacamole
The request starts in the user's browser over HTTPS to the Guacamole web application, which handles sign-in against Active Directory or LDAP and any MFA extension. The web application speaks only the Guacamole protocol to guacd, which loads the RDP client plugin and opens RDP to the Windows session host. Check where the trust boundary sits, that the session hosts accept connections only from guacd, and where recordings are written, since the RDS CAL-licensed session hosts remain the destination for every session.
Browser to RDS session host through the Guacamole gateway, with the trust boundary and recording point.
Questions buyers ask before switching from RDS gateway roles
Do RDS CALs still apply if Guacamole sits in front of our session hosts?
Yes, in most setups the licensing question does not go away. Guacamole connects to RDP session hosts on each user's behalf, so the Windows Server session hosts still serve the desktop sessions, and the licensing terms for those sessions still need review. The gateway replacement changes how users reach the hosts, not which Windows components are licensed. Confirm with your Microsoft licensing advisor how your user or device count and your current RDS CAL and Software Assurance position apply to a Guacamole front end before you retire the gateway role. The dedicated licensing page in this group walks through the points to check.
How much effort and time does a migration from RD Gateway take?
The effort depends on the number of connections, the number of session collections, how many authentication sources you integrate, and how much of your current RDS behavior your users rely on. The main drivers are the number of connections to recreate, the Active Directory and MFA integration, and the testing of printing and drive redirection on real endpoints. Guacamole itself is an Apache-2.0 project with a documented installation for native and Docker deployments, so the platform setup is usually the smaller part of the work. Ask any provider for a written scope that lists each connection group, each identity integration and each test, because that list is what sets the timeline.
What does the internal team need to provide during a migration?
Your team needs to supply the inventory of session collections and published apps, the directory and group structure that controls access, and the MFA method you want users to use. Someone must own the decision on which RDS features users still need, such as RemoteApp behavior or native client redirection. You will also need hosts for guacd, the web application and the database backend, plus a channel for changing DNS and firewall rules. Identify these owners early, because gaps in directory data or access rules are the most common reasons a migration slows down.
Can our own team migrate to Guacamole without outside help?
A team with Linux server skills, Active Directory experience and some familiarity with reverse proxies and TLS can often complete a small pilot without outside help. The work gets harder when you need database high availability, SSO with SAML or OpenID Connect, session recording retention rules, and a formal evidence set for an assessment. Guacamole supports database backends on MariaDB or MySQL, PostgreSQL and SQL Server, plus several authentication extensions, so the configuration decisions matter. Be honest about who will run and patch the system after go-live, since that ongoing ownership is usually the question that decides whether a team goes it alone.
Which native RDS client features do we lose with Guacamole?
Guacamole runs in a browser and reaches hosts through protocol plugins, so features that depend on the native Windows client or RDS gateway behavior may not carry over unchanged. Typical items to test before cutover include:
- RemoteApp and per-app launch behavior
- Printing and local drive redirection
- Clipboard, audio and multi-monitor behavior
- Smart card redirection and client-side authentication flows
Whether each item works depends on the protocol plugin and the browser, so test each one with your own users and endpoints. Document the results so that users know what changes on day one.
Can Guacamole record sessions for audit and review?
Yes, the Guacamole manual covers a session recording player extension, so recorded sessions can be reviewed through the web interface. Recording is only one part of the control, though. You also need to decide what is recorded, where the recordings are stored, who can view them, and how long they are kept, and those decisions should match your data handling policy. Access to recordings should be restricted, and the storage location should be included in your backup plan. The control also supports the monitoring of remote access sessions that NIST SP 800-171 requirement 3.1.12 describes, so confirm the approach with your assessor before you rely on it.
What does a fixed-scope DeployOpen engagement cover?
DeployOpen plans, implements, integrates, hardens, backs up, documents and supports self-hosted open-source platforms inside your own infrastructure. For this migration, a fixed-scope engagement would normally cover the agreed deployment of guacd and the web application, the database backend, the Active Directory and MFA integration, the connection import plan, the testing of agreed features, and the retirement steps for the gateway role. Scope, deliverables and timelines are agreed in writing before work starts, and a quote follows from that written scope. DeployOpen does not issue audit reports or certifications, so independent assessors remain responsible for those decisions.
What security checks should we run before cutover?
Before cutover, check that the Guacamole web application is served over HTTPS, that MFA is enforced for every remote access path, and that the database and guacd hosts accept connections only from the components that need them. Confirm that the gateway role is no longer reachable from the internet once users move. Review the access rules that map directory groups to connections, because mistakes there expose hosts more widely than the old gateway policies did. Follow the CIS Controls v8.1 Safeguard 6.4 expectation for MFA on remote network access and test it with your own accounts. Independent security testing is a useful final check if your policies require one.
How DeployOpen works on this
DeployOpen plans, implements, integrates, hardens, documents and supports self-hosted Apache Guacamole inside your own infrastructure, with the RDS session hosts, Active Directory and MFA setup that Microsoft Remote Desktop Services vs Apache Guacamole decisions depend on. Work starts with a written scope so you can decide which RDS roles to retire and which to keep.
How we scope
- Inventory the RD Gateway, RD Web Access and RD Connection Broker roles and the session collections they publish.
- Confirm which RDS CAL and Windows Server licensing obligations still apply once Guacamole fronts the session hosts.
- Agree in writing the authentication design, MFA method, session recording needs and the apps and protocols in scope.
- Engagements are fixed-scope, with deliverables and timelines agreed before work starts.
How we build
- Deploy guacd and the Guacamole web application with a MariaDB, MySQL, PostgreSQL or SQL Server backend in your environment.
- Integrate Active Directory through LDAP or SAML, and configure Duo or TOTP multi-factor authentication as scoped.
- Import connections for each session collection and test printing, drive redirection and clipboard behavior against your real workflows.
- Test access controls, TLS configuration and the session recording player, then document the results.
How we hand over
- Deliver architecture diagrams, configuration records, access model documentation and a runbook for operators.
- Document how to retire the RD Gateway and RD Web Access roles and what changes for end users.
- Provide evidence for NIST SP 800-171 requirement 3.1.12 and CIS Controls Safeguard 6.4 where those apply to your environment.
- Walk your administrators through daily operation, logging and change procedures before handover.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Plan Guacamole upgrades and patch cycles, including release changes such as the 1.6.0 line, against your change process.
- Retest access paths and MFA after directory, certificate or session host changes.
- Ask in the quote for who handles host patching, certificate renewal and backup of the Guacamole database.

