creating service accounts in windows server 2008 R2
How can I create a service account such as SQL service in active directory开发者_如何学Python on Win server 2008 R2? I dont know in which part of administrative tools that it can be found.
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:
- Click Start
- Click All Progams
- click Windows PowerShell 2.0, and
- then click the Windows PowerShell icon.
- Run the following command: Import-Module ActiveDirectory
- 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.
精彩评论