Why open source MFA for Windows logon needs its own design
If your organization runs Windows desktops, servers and RDP and must add a second factor without sending authentication data to a SaaS service, a self-hosted credential provider is a practical route, and privacyIDEA is one open source option that provides one. The design decisions that matter most are not the token types but what happens at the Windows logon screen when the MFA server is slow, unreachable or unavailable to a laptop that has been off the corporate network for weeks. Those outage and offline behaviors, along with which accounts are covered first, should drive the architecture before any server is built. Windows logon differs from web single sign-on in three ways that change the design. First, the credential provider runs before the user has a session, so there is no browser, no redirect and no identity provider page to fall back on. Second, Windows keeps a local cache of previously verified credentials so that a laptop can start without a network, which means the second factor has to be reconciled with that cache rather than simply bolted on. Third, the logon path runs during boot and unlock, where a misconfigured provider can lock out every user on a device, including administrators. A web application can show an error page and retry; a failed desktop logon can leave staff unable to work at all. The reader should therefore decide early which logon paths are in scope (console logon, RDP, server logon, unlock), which accounts must never be left without a working factor, and how a laptop should behave when it cannot reach the MFA server. Confirm with any implementation partner how the credential provider handles cached logons and whether it can be tested on a single pilot device before wider rollout. The sections that follow set out the platform options and the rollout steps that follow from these decisions.
Which requirements shape the Windows logon design
This table maps the HIPAA Security Rule and FTC Safeguards Rule requirements, along with offline laptops, RDP and audit needs, to concrete decisions in a Windows logon MFA build. Read each row as a design question with its consequence, then confirm the final scope with your compliance lead and your privacyIDEA implementation partner. The main takeaway is that MFA coverage, per-user identity and logon logging must be designed together, not added after the credential provider is installed.
| Requirement or scenario | What it asks for | Design consequence for Windows logon |
|---|---|---|
| MFA for information system access (16 CFR 314.4(c)) | MFA for any individual accessing any information system at a covered financial institution | Decide which interactive logons, RDP sessions and privileged accounts are in scope, and document any exceptions with an owner and review date |
| Person or entity authentication (45 CFR 164.312) | Verify that a person seeking access is the one claimed, with a mechanism the entity defines | Enroll each user's second factor against their own directory identity so a shared password or shared token cannot satisfy the policy |
| Unique user identification (45 CFR 164.312) | Assign a unique name or number to each user for tracking activity in systems with ePHI | Avoid shared or generic Windows accounts for clinical or staff logons; map every MFA event to one directory user in the logs |
| Offline laptop logon | Users must still reach the device when the network or MFA server is unavailable | Confirm how the credential provider caches or handles offline logon, the cache lifetime, and how a lost laptop is revoked; test this before rollout |
| RDP and remote desktop logon | Remote interactive sessions are an access path into the same systems and data | Apply the same credential provider policy to RDP, and decide whether RDP requires MFA on the target server, the gateway or both |
| Audit trail of each logon attempt | Record and examine activity in systems containing sensitive data, including successes and failures | Forward MFA server events and Windows logon events to a central log platform, keep failed attempts, and set retention to match your policy and regulator |
| MFA server unreachable | Access must continue for authorized users without silently weakening authentication | Define the failure mode in writing: which accounts can fall back, for how long, who approves it, and how the fallback is logged and reviewed |
| Administrator accounts | Privileged access carries higher risk and is usually the first scope agreed with auditors | Enforce MFA on local and domain admin logons and on server consoles before standard user populations, and separate admin identities from daily accounts |
Which open source platforms fit Windows logon
Windows logon MFA depends less on the brand of MFA server than on how the user reaches the machine: a local account, a domain-joined session, or a brokered login through a web identity provider. The cards below cover the platform that provides a Windows credential provider and the alternatives that cover other logon paths, with the checks to run before choosing.
privacyIDEA credential provider
privacyIDEA integrates with Windows logon through a credential provider, which is the component that presents the second factor at the Windows sign-in screen and at RDP. It is the primary fit for this page because it is designed for this logon path rather than relying on a web browser flow. It is licensed under AGPLv3, so confirm with counsel how that license applies to your deployment. Check the supported Windows versions, the offline token behavior for laptops, and how the credential provider is deployed and updated across the fleet.
AD FS as identity provider
AD FS can sign users in to federated applications with MFA provided by privacyIDEA as an identity provider plugin. This covers browser-based sign-ins to federated services, not the Windows sign-in screen itself. Use it when your domain already federates to web applications through AD FS and you want one MFA policy across both paths. Confirm with your Microsoft and privacyIDEA references which AD FS versions and authentication flows your environment uses before assuming coverage of desktop logon.
Keycloak for brokered logons
Keycloak supports OpenID Connect, SAML 2.0, LDAP and Active Directory user federation, and it can run a second factor for web logins. It does not provide a Windows credential provider in the material reviewed for this page, so confirm with the Keycloak project or a partner before planning Windows sign-in through it. It fits best where users sign in to web applications through a central identity provider and the Windows login is a separate concern. Check clustering and the directory federation model against your domain layout.
FreeIPA for Linux-centric estates
FreeIPA is a common choice for centralizing identity in Linux environments and can serve as a user store for privacyIDEA through LDAP. Do not assume it provides a Windows credential provider. Confirm whether Windows hosts can authenticate against it and which MFA component would present the second factor at the Windows screen. It is a strong complement where Linux servers and SSH are the main estate and Windows logon is a smaller population.
Match the choice to the logon path
Local accounts on standalone laptops, domain-joined sessions and brokered logins through a web identity provider each need a different component. Local accounts usually need an offline-capable credential provider and a plan for cached credentials. Domain-joined sessions depend on how the directory and credential provider interact. Brokered logins depend on the identity provider. Map every logon type your users actually use, then select the platform for each. Ask your partner to document the path for each one before committing.
How to roll out Windows MFA without locking out administrators
This sequence adds a second factor to Windows logon and RDP in stages, starting with administrator accounts on non-production systems. Each phase produces a record or tested procedure that the next phase depends on, so a failed step stops the rollout before users are affected.
Map logon paths and user stores
Your team lists every way a person signs in to Windows: console logon, RDP, Remote Desktop Gateway, service and scheduled-task accounts, and local accounts on standalone machines. For each path, record the user store it reads from, such as Active Directory through LDAP or a local SAM database, since privacyIDEA reads users through its user ID resolvers. Done means a logon inventory that marks which paths can take the credential provider, which cannot, and which accounts need a separate exception.
Build the MFA server and recovery path first
Install privacyIDEA on infrastructure the Windows estate can reach and connect it to the chosen user store. Before any Windows machine uses it, issue emergency tokens or recovery codes to the administrators, store them under dual control, and document who can reset a lost token. Done means a test administrator can complete a full logon through the credential provider, and a second test administrator has verified the recovery procedure without help from the project team.
Pilot with a small admin group on test servers
Install the privacyIDEA credential provider on a small set of non-production servers and enable it only for a named group of domain administrators. Test console logon, RDP, a locked-out session, a password change, and a machine rebooted while the MFA server is unreachable. Done means a written test log for each case, with every failure traced to a cause and fixed before the next phase. Keep a rollback plan that restores the default provider on each test server.
Enroll admins and then all users at scale
Admins enroll their tokens first, then enrollment moves to standard users in waves, using the enrollment method each group can complete on its own, such as self-service enrollment or a supervised help desk session. Confirm which token types each group uses, and whether standard TOTP apps or the privacyIDEA Authenticator app is needed for push. Done means an enrollment record for every account in scope, showing token type, enrollment date and any account without a token that is blocked from enforcement.
Enforce on admin accounts and high-risk servers
Turn on mandatory MFA for administrator accounts on domain controllers and other high-value servers, then for admin logons from workstations. Keep the rule scoped to named groups so a policy change affects only the group under test. Done means a logon report showing every administrator sign-in on these systems passed a second factor, and no unexpected lockout occurred during a fixed observation period agreed in advance with the security owner.
Stage enforcement across desktops and RDP
Extend enforcement to standard desktop logons and RDP in waves by business unit, starting with the groups whose enrollment is complete. Decide how offline logons on laptops are handled, including the cached credentials and grace behavior your credential provider configuration supports, and confirm this with the vendor before the wave starts. Done means each wave has a sign-off record and a rollback step that a named engineer can run from the change ticket.
Test outage behavior before final cutover
Simulate an unreachable MFA server from a test network segment and document what each logon path does: whether cached logons work, how long offline access lasts, and whether an administrator can still reach the server. Repeat the test after any change to the failover design. Done means a signed outage test report, a tested break-glass account kept outside the MFA path, and a decision by the owner on whether the wave can proceed.
What happens to laptops and servers when the MFA server is unreachable
The first design decision for Windows logon is what a laptop or server does when the privacyIDEA server cannot be reached, because that answer determines whether a network outage locks out staff. Cached credentials, offline token options, emergency access and high availability of the MFA service each cover a different failure, and the design should state which failures are tolerated and for how long. Treat offline logon as a policy choice for each device class, not a default you inherit from the product. For laptops that leave the network, the usual approach is to allow a logon from locally cached state for a bounded period, paired with an offline token that the user can answer without reaching the server. privacyIDEA supports several token types, but offline use depends on the token and on how the credential provider caches challenges. Confirm with your vendor or partner which token types can be used offline, how long a cached logon remains valid, whether cached logons count against a lockout threshold, and how an offline logon is logged and reconciled when the device reconnects.
Servers and domain controllers need a different answer. Interactive admin logons to servers should be designed so that a broken MFA path never removes the only route to recovery. Keep at least one emergency access account that is excluded from the MFA requirement, stored under dual control, and tested on a schedule. Its use should generate an alert, and its password or secret should be rotated after each use. Decide whether that account is governed by the same policy as the rest of the fleet, and document who may release it and under what conditions. The MFA service itself needs high availability inside your network: at least two privacyIDEA nodes behind a load balancer, a shared and replicated database, and resolvers that remain reachable from both sites. Test the design on the actual credential provider and privacyIDEA versions you deploy, because offline and failover behavior changes between releases. Run a planned outage in a lab, record what each device class does, and confirm each behavior in your own environment before go-live.
Questions buyers ask before adding MFA to Windows logon
How much effort and time does adding MFA to Windows logon take?
The effort depends on how many logon paths you need to cover, not on a fixed figure. Console logon, RDP, Remote Desktop Gateway, and offline laptop logon each need their own design and testing. The count of user stores matters too: a single Active Directory forest is simpler than several domains or a mix of directories. Endpoint count drives the rollout effort, since enrollment, pilot waves, and help desk support scale with the number of users and machines. The privacyIDEA documentation covers installation on Ubuntu and CentOS or RHEL-family systems, but no project timeline is supplied here, so ask any partner for a written plan tied to your logon paths and fleet size.
Can our IT team deploy MFA for Windows logon without outside help?
Yes, a capable team can do it, but the work spans identity, endpoint, and server skills at once. The privacyIDEA README says the project integrates with Windows logon through a credential provider, so the desktop side is a packaged component rather than custom code. The harder parts are the MFA server build, connection to your directories through LDAP, token policy design, and testing offline and outage scenarios. Teams without spare capacity often choose a fixed-scope engagement with DeployOpen, which plans, implements, hardens, and documents the platform inside your infrastructure. Ask whether your team will own the runbooks after handover.
What does our team need to provide for a Windows MFA project?
Plan for four inputs before work starts. First, directory access: a service account with read rights to the user store, documented through an LDAP user ID resolver. Second, hosting: a Linux server or pair of servers for the privacyIDEA service inside your network. Third, a test fleet: a small set of Windows workstations and servers that mirror your builds, with test accounts. Fourth, a change window for the production credential provider rollout and any Group Policy changes. Confirm the exact account rights, network paths, and window length with your partner against your own environment.
Can we add MFA to RDP before console logon?
RDP is a common first step because it is the main remote path for administrators and often carries the most risk. The credential provider approach covers Windows logon, and remote sessions need their own test to confirm the second factor appears at the point of remote login. Put admin accounts on RDP first, verify the prompt on a test server, then extend to console logon and other servers. Keep a break-glass admin account that is excluded from enforcement, documented and tested, so an MFA fault cannot lock out every administrator. Confirm the RDP behavior on your exact Windows versions in the test fleet before rollout.
What happens to Windows logons when the MFA server is unreachable?
The outcome depends on how the credential provider and policy are configured, so decide it before rollout. Common options include denying logon, allowing a cached or offline method for laptops, or permitting logon only for an emergency account. Offline logon for laptops needs a design that stores what is required for verification on the device and expires it on a schedule you set. Test the outage path by blocking the MFA server on purpose in the test fleet. Ask any partner to show the failure behavior for each logon path and to document who approves the emergency process.
Does Windows MFA need a high availability design?
A single MFA server becomes a single point of failure for every enforced logon, so most designs need redundancy. The privacyIDEA project documents its installation paths, but the high availability layout, database replication, and load balancing are design decisions for your environment. Size the design around how many users must log on during a outage window, your network segments, and how quickly you must recover. Ask for a failover test with written results before you enforce MFA on production servers.
Which tokens can users enroll for Windows logon?
privacyIDEA supports several token types, including FIDO2 and WebAuthn passkeys, hardware keys, PIV and x509 smartcards, push, TOTP, and HOTP. Standard TOTP and HOTP can use apps such as Google Authenticator, while push notifications need the privacyIDEA Authenticator app. Choose tokens by user group: administrators may need hardware keys, while office staff may use an app. Confirm with your partner which token types the Windows credential provider supports in your version, since support can differ between logon paths.
Which logs do we need to prove Windows MFA is enforced?
Keep records of which accounts are enforced, which token types they use, and every successful and failed logon event from the MFA server and the Windows machines. Retain configuration history for the policy, the credential provider version, and changes to exclusions such as break-glass accounts. These records support audit controls under the HIPAA Security Rule and monitoring requirements under the FTC Safeguards Rule, but they do not make a system compliant alone. Agree the log destinations and retention with your compliance lead before go-live.
What auditors ask for to prove Windows logon MFA works
Auditors rarely accept a statement that MFA is turned on. They ask for records that show who was enrolled, how the credential provider and policy were configured, what happened at each logon, and whether the design held during an outage. Each item below maps to the component that produces it, and the retention period for each should be agreed with your auditor before the evidence window opens.
Enrollment records per user
Keep a dated record for each account showing which token types were enrolled, when, by whom and whether identity was verified before enrollment. In a privacyIDEA deployment, the audit log and token list give the starting point, and the identity source remains the directory your users already authenticate against. Check that disabled and departed accounts show their tokens revoked, and that the export you hand over matches what the directory reports.
Credential provider and policy exports
Export the configuration that decides which accounts must present a second factor, including the credential provider deployment, the group scope of the policy and any exceptions for break-glass accounts. Store these exports under version control so you can show what changed and when. Confirm with your auditor whether they want the exports taken at a fixed point in time or continuously.
Logon attempts with MFA results
Auditors look for records of successful and failed Windows and RDP logons showing that the second factor was checked. privacyIDEA writes authentication events to its audit log, while Windows writes the logon events on the endpoint and domain controller. Confirm that both sources record a common user identifier and timestamp, so an examiner can match a Windows logon to its MFA decision.
Collection in an existing SIEM
If you already run Wazuh, configure it to collect the Windows event logs and the privacyIDEA logs into one place so that logon evidence is searchable and retained under a single policy. If you use another SIEM, the same principle applies: confirm that forwarding is reliable and that the collector itself is logged. Verify that log integrity and access controls are documented, since auditors will ask who could alter or delete records.
Outage and offline logon test records
Keep dated records of tests that show what happens when the MFA server is unreachable, including the behavior for admin accounts, cached offline logons on laptops and the time taken to recover. Each test should state the scenario, the expected result, the actual result and the person who signed off. These records answer the question auditors ask most often: whether a failure of the MFA service could silently bypass the control.
Retention and access to evidence
Agree the retention period for each evidence type with the auditor, along with who may access the records and how they are protected from change. Confirm whether the auditor expects a sample of logons or the full population, and whether evidence from the audit period must be reproducible years later. Document the answers in the control narrative so the evidence set is complete before fieldwork begins.
Questions to ask an implementation partner before signing
Start with the credential provider, because every other risk on a Windows logon project sits on top of it. Ask the partner which Windows client and server versions they have tested the privacyIDEA credential provider on, in which order, and with which update channel they will retest after each Windows feature update. Ask whether testing covers the domain-joined, workgroup and Azure AD joined cases you actually run, whether RDP with network level authentication is included, and who owns the test matrix as a written deliverable. A partner who cannot show a dated test record for each version in scope has not yet proven the design.
Next, pin down offline logon and the outage runbook in writing. Ask how cached credentials and offline logon are configured for laptops, what happens to a user who has never logged on while the MFA server is unreachable, and who approves a temporary bypass and how long it stays open. Ask for the exact runbook steps for an MFA server outage, a credential provider failure that blocks all logons, and a lost token, including the break-glass account and where its credentials are kept. Confirm which of these behaviors are demonstrated in acceptance tests and which are only described in documentation.
Then ask about sequencing and evidence. Ask the partner to commit to admin and privileged accounts first, to name the groups in scope for each wave, and to show how enrollment will run at scale, including the enrollment workflow, the help desk script and the rate of enrollments they expect to support. For audit, ask which privacyIDEA events are logged for successful and failed Windows logons, where those logs are forwarded, how long they are retained, and how the output maps to the unique user identification and audit controls described in 45 CFR 164.312 and the monitoring duty in 16 CFR 314.4. Finish by requiring a written scope with acceptance criteria tied to each of these items, a named set of Windows versions, and a signed change process for anything added later.
How DeployOpen scopes and supports Windows logon MFA
The sequence turns a Windows logon MFA requirement into a written scope, a tested privacyIDEA deployment inside your infrastructure, and handover documents your team and assessors can use.
Agree the written scope before work starts
DeployOpen and your team define which Windows workstations, servers and RDP entry points are in scope, which account groups must use a second factor first, and which offline or outage behaviors are acceptable. Most engagements are fixed-scope, so the scope, deliverables and timelines are agreed in writing before any change is made. The step closes when both parties sign off on the scope document and the list of systems it covers.
Assess directories, endpoints and existing logon flows
DeployOpen reviews where user accounts live, typically Active Directory or another LDAP source that privacyIDEA can read through its user ID resolvers, and inventories the Windows versions, domain controllers, jump hosts and RDP paths in scope. The team also records which service accounts and automation cannot take an interactive second factor, so they can be handled separately. The step closes with a current-state inventory and a list of open questions for your identity and endpoint teams to confirm.
Design token policy, offline logons and outage behavior
DeployOpen and your team decide which token types apply to which users, such as push, TOTP, hardware keys or smartcards, and how laptops that log on without network access will authenticate. The design also defines what happens when the privacyIDEA server cannot be reached, including who may bypass MFA, under what controls, and how each bypass is logged. The step closes with a signed design record that lists each logon scenario and its expected result.
Deploy privacyIDEA and the Windows credential provider
DeployOpen installs privacyIDEA inside your cloud account, data center or enclave, with the high availability and database layout agreed in the design, and deploys the Windows credential provider to a pilot group of machines. Admin accounts are enabled first, followed by the wider population in stages. The step closes when pilot logons succeed on each Windows version in scope and the configuration is recorded in version control.
Test logon, RDP and outage paths
DeployOpen runs a written test plan covering interactive logon, unlock, RDP, offline laptop logon, enrollment failures, expired tokens and an unreachable MFA server. Each test records the expected and actual result, and any failed case is fixed and retested before rollout continues. The step closes with a signed test report that shows every scenario in the design has been exercised, including the outage bypass path.
Enroll users at scale with help desk support
DeployOpen prepares enrollment guidance, self-service steps and help desk scripts for the token types you chose, then supports waves of enrollment across the agreed user groups. Recovery and lost-token procedures are tested with your help desk staff before the wider population is enforced. The step closes when each wave reaches its agreed enrollment target and the help desk has signed off on its runbook.
Hand over documentation and prepare compliance evidence
DeployOpen delivers architecture diagrams, configuration records, runbooks, the outage and bypass procedure, and a log of enforced systems and changes. These records are arranged so your compliance team and independent assessors can review logon coverage and the audit trail, although DeployOpen does not issue audit reports or certifications itself. The step closes with a handover meeting and a documented list of items your team owns after handover.
Continue support through an optional retainer
If you want ongoing help, DeployOpen can provide a retainer covering privacyIDEA upgrades, configuration changes, periodic testing of logon and outage paths, and support for new Windows systems. Retainer scope, response expectations and fees are agreed in writing, and the scope can be adjusted as your environment changes. The step is complete when the retainer terms are signed or your team confirms it will run operations in-house.

