--- title: "Generating two‑factor authentication codes in advance" slug: "generating-two-factor-authentication-codes-in-advance-1" tags: ["File Protect (FX)", "Malware Analysis (AX)", "IAM", "Email Security - Cloud", "Network Security (NX)", "Email Security — Server", "Central Management System", "Helix Enterprise", "Endpoint Security (HX)", "Product Usage", "Install and Get Started", "Helix", "Intelligent Virtual Execution "] updated: 2026-09-01T19:03:12Z published: 2026-09-01T19:03:12Z canonical: "docs.trellix.com/generating-two-factor-authentication-codes-in-advance-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Generating two‑factor authentication codes in advance If 2FA was enabled when you enrolled your user account, the enrollment process prompted you to generate a set of ten verification codes as a backup measure. In case you do not have your mobile device with you when you need to access your IAM account, you can authenticate by using one of the backup verification codes. This procedure describes how to generate another set of verification codes. ### Restrictions for two-factor authentication backup codes - Each code can be used only once. - The codes must be used in the order listed - Generating a new set of backup codes invalidates any backup codes you downloaded previously but have not used. Prerequisites - IAM Admin or IAM User access to the Trellix IAM Web UI. To generate a new set of two-factor authentication backup codes: 1. Log in to the Trellix IAM Web UI. 2. Select **My Settings > Password & Security**. 3. In the Two-Factor Authentication panel, click **Generate New Codes**. ![CloudIAM_MyUser_PasswordAndSecurity_0_3_3FA_BackupCodes.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-0180b342-9c00-3330-eb54-a097603fb676.png?sv=2026-02-06&spr=https&st=2026-11-20T12%3A38%3A46Z&se=2026-11-20T13%3A38%3A46Z&sr=c&sp=r&sig=x3Y6ByiMEhz0NCj6o0HlxcyOL7JkAfutSv9zSlfgSNs%3D) 4. Enter the password for your Trellix IAM account. 5. Click **Generate Backup Codes**. Each code will allow you log in to your Trellix IAM account one time. ![CloudIAM_MyUser_PasswordAndSecurity_3_NewBackupCodes.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-cd54ade0-8cc5-753d-c9f6-ad81107389ce.png?sv=2026-02-06&spr=https&st=2026-11-20T12%3A38%3A46Z&se=2026-11-20T13%3A38%3A46Z&sr=c&sp=r&sig=x3Y6ByiMEhz0NCj6o0HlxcyOL7JkAfutSv9zSlfgSNs%3D) 6. Click **Download** and save the file, or print a copy. ![CloudIAM_MyUser_PasswordAndSecurity_3_passcodes-dot-txt.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-7e13a605-6c6c-3e19-2768-a2fb563668d0.png?sv=2026-02-06&spr=https&st=2026-11-20T12%3A38%3A46Z&se=2026-11-20T13%3A38%3A46Z&sr=c&sp=r&sig=x3Y6ByiMEhz0NCj6o0HlxcyOL7JkAfutSv9zSlfgSNs%3D) :