Difference between revisions of "Duo MFA for Every Windows Login"
From Notes_Wiki
(Created page with "Home > Authentication Methods > Duo MFA for Every Windows Login == π Objective == Configure '''Duo Multi-Factor Authentication (MFA)''' to prompt users with a '''Duo Push notification''' at '''every Windows login''' (console or RDP). == β
Prerequisites == {| class="wikitable" ! Item !! Details |- | OS || Windows 10/11 or Windows Server 2016/2019/2022 |- | Admin Rights || Local or domain administrator rights on the system |- | Duo Account || F...") Β |
Β |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Objective == | |||
Β | |||
== | |||
Configure '''Duo Multi-Factor Authentication (MFA)''' to prompt users with a '''Duo Push notification''' at '''every Windows login''' (console or RDP). | Configure '''Duo Multi-Factor Authentication (MFA)''' to prompt users with a '''Duo Push notification''' at '''every Windows login''' (console or RDP). | ||
== | == Prerequisites == | ||
{| class="wikitable" | {| class="wikitable" | ||
! Item !! Details | ! Item !! Details | ||
Line 19: | Line 17: | ||
|} | |} | ||
== | == Step-by-Step Configuration == | ||
=== | === Step 1: Sign Up and Create RDP Application in Duo === | ||
# Go to https://admin.duosecurity.com | # Go to https://admin.duosecurity.com | ||
# Sign in or register for a Duo Admin account | # Sign in or register for a Duo Admin account | ||
Line 32: | Line 30: | ||
## '''API Hostname''' | ## '''API Hostname''' | ||
=== | === Step 2: Download & Install Duo Windows Logon Agent === | ||
# Download installer: https://duo.com/docs/rdp | # Download installer: https://duo.com/docs/rdp | ||
# Run the installer on the target Windows system | # Run the installer on the target Windows system | ||
Line 46: | Line 44: | ||
# Finish installation and '''restart the system''' | # Finish installation and '''restart the system''' | ||
=== | === Step 3: Add and Enroll User in Duo Admin Portal === | ||
# Go to Duo Admin Portal β '''Users''' | # Go to Duo Admin Portal β '''Users''' | ||
# Click '''Add User''' and enter the '''Windows login username''' | # Click '''Add User''' and enter the '''Windows login username''' | ||
Line 56: | Line 54: | ||
## Follow instructions to enroll using '''Duo Mobile''' | ## Follow instructions to enroll using '''Duo Mobile''' | ||
=== | === Step 4: Test Windows Login with MFA === | ||
# Lock or restart the system | # Lock or restart the system | ||
# Enter your Windows username and password | # Enter your Windows username and password | ||
Line 64: | Line 62: | ||
* Duo prompt will appear for '''every Windows login''' (console or RDP) | * Duo prompt will appear for '''every Windows login''' (console or RDP) | ||
== | == Repeat for Additional Users == | ||
* Repeat enrollment for every user (Step 3) | * Repeat enrollment for every user (Step 3) | ||
* Ensure usernames match Windows login names exactly | * Ensure usernames match Windows login names exactly | ||
== | == Optional Configuration Notes == | ||
{| class="wikitable" | {| class="wikitable" | ||
! Feature !! Description | ! Feature !! Description | ||
Line 81: | Line 79: | ||
|} | |} | ||
== | == Validation Checklist == | ||
{| class="wikitable" | {| class="wikitable" | ||
! Test Scenario !! Expected Outcome | ! Test Scenario !! Expected Outcome | ||
Line 94: | Line 92: | ||
|- | |- | ||
| No internet (fail-safe ON) || Login bypasses Duo temporarily | | No internet (fail-safe ON) || Login bypasses Duo temporarily | ||
|} | |} | ||
Latest revision as of 11:06, 1 September 2025
Objective
Configure Duo Multi-Factor Authentication (MFA) to prompt users with a Duo Push notification at every Windows login (console or RDP).
Prerequisites
Item | Details |
---|---|
OS | Windows 10/11 or Windows Server 2016/2019/2022 |
Admin Rights | Local or domain administrator rights on the system |
Duo Account | Free or paid Duo Admin account (https://admin.duosecurity.com) |
Mobile App | Duo Mobile installed on the userβs smartphone |
Internet Access | Required on the PC to contact Duo cloud |
Step-by-Step Configuration
Step 1: Sign Up and Create RDP Application in Duo
- Go to https://admin.duosecurity.com
- Sign in or register for a Duo Admin account
- Navigate to Applications β Protect an Application
- Search and select: Microsoft RDP
- Click Protect this Application
- Note down the following:
- Integration Key
- Secret Key
- API Hostname
Step 2: Download & Install Duo Windows Logon Agent
- Download installer: https://duo.com/docs/rdp
- Run the installer on the target Windows system
- During setup, enter the following:
- Integration Key
- Secret Key
- API Hostname
- Select the following options:
- [β] Use Duo Authentication for console logon
- [β] Use Duo Authentication for RDP logon
- [ ] Only prompt for RDP logins (leave unchecked)
- [β] Choose fail-safe option based on policy
- Finish installation and restart the system
Step 3: Add and Enroll User in Duo Admin Portal
- Go to Duo Admin Portal β Users
- Click Add User and enter the Windows login username
- After creating the user:
- Assign a phone/device
- Send an enrollment link via email or SMS
- On the userβs mobile phone:
- Open the link
- Follow instructions to enroll using Duo Mobile
Step 4: Test Windows Login with MFA
- Lock or restart the system
- Enter your Windows username and password
- Youβll receive a Duo Push notification
- Approve the request on your phone to complete login
- Duo prompt will appear for every Windows login (console or RDP)
Repeat for Additional Users
- Repeat enrollment for every user (Step 3)
- Ensure usernames match Windows login names exactly
Optional Configuration Notes
Feature | Description |
---|---|
Fail-Safe Mode | Choose whether login is allowed if Duo is unreachable |
RDP-Only Prompt | Leave unchecked to enforce MFA for console and RDP login |
Offline Mode | Not supported (Duo requires internet access) |
Central Management | Use Registry or GPO to centrally manage Duo settings |
Validation Checklist
Test Scenario | Expected Outcome |
---|---|
System restart | Duo prompt appears before login completes |
Lock screen login | Duo prompt appears before unlocking |
Incorrect push response | Login is denied |
No internet (fail-safe OFF) | Login is blocked |
No internet (fail-safe ON) | Login bypasses Duo temporarily |
π Notes
- This setup uses Duo Push notifications
- Works on both domain-joined and workgroup PCs
- Duo is ideal for organizations preferring cloud-based MFA