Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

安装Active Directory域服务并将服务器提升到域控制器

Summary: 本文提供了有关使用 Windows PowerShell 安装 Active Directory 域服务以及将 Windows 服务器核心服务器提升到域控制器的信息。

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Instructions

使用 Windows Server Core 中的Windows PowerShell来安装 Active Directory Domain Services
 

  1. 命令提示符窗口中,键入Start PowerShell,然后按Enter键,以打开新的Windows PowerShell控制台窗口。

    HOW10253_en_US__1start ps

  2. 键入Add-WindowsFeature AD-Domain-Services,然后按Enter键,以安装Active Directory域服务。

    HOW10253_en_US__2W_ps_install adds_JM_V1

    HOW10253_en_US__3W_ps_install adds 2_JM_V1

使用 Windows Server Core 中的 Windows PowerShell,创建新的 Active Directory 森林和域,安装域名服务 (DNS),并将服务器提升到域控制器。
 
  1. 命令提示符窗口中,键入Start PowerShell,然后按Enter键,以打开新的Windows PowerShell控制台窗口。

    HOW10253_en_US__6W_ps_start ps_JM_V1

  2. 键入Install-ADDSForest -DomainName vdom.local -InstallDNS,并按Enter键,以创建新的Active Directory森林和名为vdom.local的域。

    HOW10253_en_US__7W_ps_install forest 1_JM_V1

     
    提醒:vdom.local 替换为森林和域的正确名称。
  3. 键入目录服务恢复模式(DSRM)密码两次,并按Enter键,以保存该密码。在Windows PowerShell中,DSRM密码被称为安全模式管理员密码

    HOW10253_en_US__8W_ps_install forest 2_JM_V1

  4. 键入A,并按Enter键,以便将服务器配置为域控制器和安装DNS。

    HOW10253_en_US__10W_ps_install forest 3_JM_V1

  5. 域控制器提升完毕,服务器将重新启动,以完成该过程。

    HOW10253_en_US__11W_ps_install forest 4_JM_V1


其它信息:

本文章适用于 Windows Server。

Article Properties


Affected Product

Microsoft Windows 2012 Server, Microsoft Windows 2012 Server R2

Last Published Date

10 Jun 2024

Version

8

Article Type

How To