saber
saber

Reputation: 41

creating service accounts in windows server 2008 R2

How can I create a service account such as SQL service in active directory on Win server 2008 R2? I dont know in which part of administrative tools that it can be found.

Upvotes: 4

Views: 16966

Answers (1)

Joe Moniz
Joe Moniz

Reputation: 21

First Confirm that the Managed Users Service Account Container exists using the MMC Active Directory Groups and Users tool:

Second Use Windows PowerShell to create the accounts by running the two commands in lines steps 5 & 6 below:

  1. Click Start
  2. Click All Progams
  3. click Windows PowerShell 2.0, and
  4. then click the Windows PowerShell icon.
  5. Run the following command: Import-Module ActiveDirectory
  6. Run the following command: New-ADServiceAccount [-SAMAccountName ] [-Path ].

If you omit the parameters, the power shell will provide prompts that allow you to supply the name.

That't all there is to it.

Upvotes: 2

Related Questions