--- title: "Service Accounts (Configure Database Mirroring Security Wizard) | Microsoft Docs" ms.custom: "" ms.date: "05/17/2016" ms.prod: "sql-server-2016" ms.reviewer: "" ms.suite: "" ms.technology: - "dbe-high-availability" ms.tgt_pltfrm: "" ms.topic: "article" f1_keywords: - "sql13.swb.configdbmsecurwiz.serviceaccounts.f1" ms.assetid: d58d8f93-7888-4d66-af4d-969ef6a2dbee caps.latest.revision: 34 author: "MikeRayMSFT" ms.author: "mikeray" manager: "jhubbard" --- # Service Accounts (Configure Database Mirroring Security Wizard) When using Windows Authentication, if the server instances use different accounts, specify the service accounts for [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)]. These service accounts must all be domain accounts (in the same or trusted domains). If all the server instances use the same domain account or use certificate-based authentication, leave the fields blank. Simply click **Finish**, and the wizard automatically configures the accounts based on the account of the current wizard. > [!IMPORTANT] > If the database mirroring endpoints of the server instances are configured to use certificates, you must leave the service account fields empty. **To configure database mirroring by using SQL Server Management Studio** - [Establish a Database Mirroring Session Using Windows Authentication (SQL Server Management Studio)](../../database-engine/database-mirroring/establish-database-mirroring-session-windows-authentication.md) - [Start the Configuring Database Mirroring Security Wizard (SQL Server Management Studio)](../../database-engine/database-mirroring/start-the-configuring-database-mirroring-security-wizard.md) ## Options **Principal** Specify the service account of the principal server instance. Enter the domain name in upper case: *DOMAINNAME*\\*username* **Mirror** Specify the service account of the mirror server instance. Enter the domain name in upper case: *DOMAINNAME*\\*username* **Witness** Specify the service account of the witness server instance. Enter the domain name in upper case: *DOMAINNAME*\\*username* ## See Also [Database Properties (Mirroring Page)](../../relational-databases/databases/database-properties-mirroring-page.md) [Start Database Mirroring Monitor (SQL Server Management Studio)](../../database-engine/database-mirroring/start-database-mirroring-monitor-sql-server-management-studio.md) [Database Mirroring (SQL Server)](../../database-engine/database-mirroring/database-mirroring-sql-server.md) [Set Up Login Accounts for Database Mirroring or Always On Availability Groups (SQL Server)](../../database-engine/database-mirroring/set-up-login-accounts-database-mirroring-always-on-availability.md)