在 Windows Server 2008 R2 中创建服务帐户

发布于 2024-09-18 06:54:09 字数 106 浏览 1 评论 0原文

如何在Win server 2008 R2 的活动目录中创建服务帐户,例如SQL 服务? 我不知道在管理工具的哪个部分可以找到它。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

多情癖 2024-09-25 06:54:13

首先,使用 MMC Active Directory 组和用户工具确认托管用户服务帐户容器是否存在:

其次,使用 Windows PowerShell 通过运行第 5 行和第 5 行中的两个命令来创建帐户。 6 下面:

  1. 单击“开始”,
  2. 单击“所有程序”,
  3. 单击“Windows PowerShell 2.0”,
  4. 然后单击“Windows PowerShell”图标。
  5. 运行以下命令:Import-Module ActiveDirectory
  6. 运行以下命令:New-ADServiceAccount [-SAMAccountName ] [-Path ]。

如果省略参数,power shell 将提供提示,允许您提供名称。

这还不是全部。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文