TechNet
Export (0) Print
Expand All

Installing a Managed Service Account

Updated: February 28, 2009

Applies To: Windows 7, Windows Server 2008 R2

This topic explains how to use the Active Directory module for Windows PowerShell to install a managed service account.

The following example demonstrates how to install the managed service account SQL-SRV1. You must run the command on the local computer:

Install-ADServiceAccount -Identity SQL-SRV1

noteNote
Managed service account authentication fails after its password is changed in Windows® 7 or Windows Server® 2008 R2. To resolve this issue, install the Hotfix located here, Managed service account authentication fails after its password is changed in Windows 7 or in Windows Server 2008 R2.

For a full explanation of the parameters that you can pass to Install-ADServiceAccount, at the Active Directory module command prompt, type Get-Help Install-ADServiceAccount –detailed, and then press ENTER.

noteNote
Installing a managed service account using the New-ADServiceAccount cmdlet fails with error 0xC0000225 when the value for the name attribute does not match the accounts corresponding SAM account name.

Community Additions

ADD
Show:
© 2016 Microsoft