|
| 1 | +--- |
| 2 | +pcx_content_type: concept |
| 3 | +title: Multiple users on a Windows device |
| 4 | +sidebar: |
| 5 | + order: 3 |
| 6 | +--- |
| 7 | + |
| 8 | +import { Details, Render } from "~/components"; |
| 9 | + |
| 10 | +<Details header="Feature availability"> |
| 11 | + |
| 12 | +| [WARP modes](/cloudflare-one/connections/connect-devices/warp/configure-warp/warp-modes/) | [Zero Trust plans](https://www.cloudflare.com/teams-pricing/) | |
| 13 | +| ----------------------------------------------------------------------------------------- | ------------------------------------------------------------- | |
| 14 | +| All modes | All plans | |
| 15 | + |
| 16 | +| System | Availability | Minimum WARP version | |
| 17 | +| -------- | ------------ | -------------------- | |
| 18 | +| Windows | ✅ | 2024.6.415.0 | |
| 19 | +| macOS | ❌ | | |
| 20 | +| Linux | ❌ | | |
| 21 | +| iOS | ❌ | | |
| 22 | +| Android | ❌ | | |
| 23 | +| ChromeOS | ❌ | | |
| 24 | + |
| 25 | +</Details> |
| 26 | + |
| 27 | +Cloudflare WARP supports multiple user registrations on a single Windows device. When deployed in multi-user mode, the WARP client will automatically switch user registrations after a user logs in to their Windows account. All traffic to Cloudflare will be attributed to the currently active Windows user. This allows administrators to apply identity-based policies and device settings, audit user activity, and remove individual users from a shared workstation. |
| 28 | + |
| 29 | +:::note |
| 30 | +A user must log out of their Windows account before switching to another account. A user cannot lock the screen and log in to another account, use the **Switch users** option in Windows, or have any other type of concurrent sessions. |
| 31 | +::: |
| 32 | + |
| 33 | +## Enable multi-user mode |
| 34 | + |
| 35 | +To enable multi-user support on Windows, [deploy an MDM file](/cloudflare-one/connections/connect-devices/warp/deployment/mdm-deployment/#windows) onto the device with the `multi_user` key set to `true`. For example: |
| 36 | + |
| 37 | +```xml |
| 38 | +<dict> |
| 39 | + <key>multi_user</key> |
| 40 | + <true/> |
| 41 | + <key>organization</key> |
| 42 | + <string>your-team-name</string> |
| 43 | + <key>onboarding</key> |
| 44 | + <false/> |
| 45 | +</dict> |
| 46 | +``` |
| 47 | + |
| 48 | +To use multi-user mode alongside the [Windows pre-login](/cloudflare-one/connections/connect-devices/warp/deployment/mdm-deployment/windows-prelogin/) and [Switch between Zero Trust organizations](/cloudflare-one/connections/connect-devices/warp/deployment/mdm-deployment/switch-organizations/) options: |
| 49 | + |
| 50 | +```xml |
| 51 | +<dict> |
| 52 | + <key>multi_user</key> |
| 53 | + <true/> |
| 54 | + <key>pre_login</key> |
| 55 | + <dict> |
| 56 | + <key>organization</key> |
| 57 | + <string>mycompany</string> |
| 58 | + <key>auth_client_id</key> |
| 59 | + <string>88bf3b6d86161464f6509f7219099e57.access</string> |
| 60 | + <key>auth_client_secret</key> |
| 61 | + <string>bdd31cbc4dec990953e39163fbbb194c93313ca9f0a6e420346af9d326b1d2a5</string> |
| 62 | + </dict> |
| 63 | + <key>configs</key> |
| 64 | + <array> |
| 65 | + <dict> |
| 66 | + <key>organization</key> |
| 67 | + <string>mycompany</string> |
| 68 | + <key>display_name</key> |
| 69 | + <string>Production environment</string> |
| 70 | + </dict> |
| 71 | + <dict> |
| 72 | + <key>organization</key> |
| 73 | + <string>test-org</string> |
| 74 | + <key>display_name</key> |
| 75 | + <string>Test environment</string> |
| 76 | + </dict> |
| 77 | + </array> |
| 78 | +</dict> |
| 79 | +``` |
| 80 | + |
| 81 | +Switching to multi-user mode will require a user to re-register even if they had a previous registration. |
| 82 | + |
| 83 | +## Registration logic |
| 84 | + |
| 85 | +The following flowchart shows how WARP registration settings take effect as users log in and out: |
| 86 | + |
| 87 | +```mermaid |
| 88 | +flowchart TB |
| 89 | + start(["Enable multi-user mode"])-->reg["Active Windows user is prompted to register WARP"] |
| 90 | + reg--"Log out of Windows"-->prelogin{{"Is there a pre-login <br />registration?"}} |
| 91 | + prelogin--"Yes"-->preloginyes |
| 92 | + prelogin-. "No" .->preloginno |
| 93 | +
|
| 94 | + subgraph preloginbehavior["Windows login screen"] |
| 95 | + preloginyes["Use pre-login settings"] |
| 96 | + preloginno["Stay registered as previous Windows user"] |
| 97 | + end |
| 98 | +
|
| 99 | + preloginbehavior--"Log in to Windows"-->regexists{{"Has the user already registered with WARP?"}} |
| 100 | + regexists--"Yes"-->user["Switch to that user's registration"] |
| 101 | + regexists-. "No" .->reg |
| 102 | + user--"Log out of Windows"--> prelogin |
| 103 | +``` |
| 104 | + |
0 commit comments