在 Active Directory Domain 登記 NPS 伺服器Register an NPS Server in an Active Directory Domain

適用於:Windows Server(以每年次管道)、Windows Server 2016Applies To: Windows Server (Semi-Annual Channel), Windows Server 2016

您可以使用此主題為隊伍登記執行 Windows Server 2016 NPS 伺服器預設網域或其他網域中的網路原則伺服器的伺服器。You can use this topic to register a server running Network Policy Server in Windows Server 2016 in the NPS server default domain or in another domain.

NPS 伺服器登記其預設網域中Register an NPS Server in its Default Domain

您可以使用此程序位於網域中伺服器網域成員登記 NPS 伺服器。You can use this procedure to register an NPS server in the domain where the server is a domain member.

NPS 伺服器必須登記完畢 Active Directory 中,讓他們使用的是讀取的帳號撥號屬性授權程序期間的權限。NPS servers must be registered in Active Directory so that they have permission to read the dial-in properties of user accounts during the authorization process. 登記 NPS 伺服器新增伺服器RAS 及 IAS 伺服器]群組中 Active Directory。Registering an NPS server adds the server to the RAS and IAS Servers group in Active Directory.

資格在系統管理員,或相當於,才能執行這些程序最小值。Membership in Administrators, or equivalent, is the minimum required to perform these procedures.

若要在其預設網域登記 NPS 伺服器To register an NPS server in its default domain

  1. NPS 伺服器,在伺服器管理員中,按一下 [工具,然後按一下 [的網路原則伺服器On the NPS server, in Server Manager, click Tools, and then click Network Policy Server. 開啟主機的網路原則伺服器。The Network Policy Server console opens.

  2. 以滑鼠右鍵按一下NPS(本機),然後按一下 [登記伺服器 Active DirectoryRight-click NPS (Local), and then click Register Server in Active Directory. 的網路原則伺服器對話方塊。The Network Policy Server dialog box opens.

  3. 的網路原則伺服器,按一下 [ [確定],,然後按一下 [ [確定]再試一次。In Network Policy Server, click OK, and then click OK again.

在另一部網域登記 NPS 伺服器Register an NPS Server in Another Domain

若要讀取的 Active Directory 中帳號撥號屬性的權限提供 NPS 伺服器、NPS 伺服器必須所在帳號網域中登記完畢。To provide an NPS server with permission to read the dial-in properties of user accounts in Active Directory, the NPS server must be registered in the domain where the accounts reside.

您可以使用此程序登記 NPS 伺服器 NPS 伺服器位於未加入網域的網域。You can use this procedure to register an NPS server in a domain where the NPS server is not a domain member.

資格在系統管理員,或相當於,才能執行這些程序最小值。Membership in Administrators, or equivalent, is the minimum required to perform these procedures.

若要在另一部網域登記 NPS 伺服器To register an NPS server in another domain

  1. 網域控制站在伺服器管理員中,按一下 [工具,然後按Active Directory 使用者與電腦On the domain controller, in Server Manager, click Tools, and then click Active Directory Users and Computers. Active Directory 使用者和電腦主機開啟。The Active Directory Users and Computers console opens.

  2. 主控台中瀏覽至您想要讀取使用者 account 資訊、NPS 伺服器網域,然後按一下使用者資料夾。In the console tree, navigate to the domain where you want the NPS server to read user account information, and then click the Users folder.

  3. 在詳細資料窗格中,以滑鼠右鍵按一下RAS 及 IAS 伺服器,然後按屬性In the details pane, right-click RAS and IAS Servers, and then click Properties. RAS 及 IAS 伺服器屬性對話方塊。The RAS and IAS Servers Properties dialog box opens.

  4. RAS 及 IAS 伺服器屬性對話方塊中,按成員索引標籤,新增的每個 NPS 伺服器您想要登記網域中,然後按一下 [ [確定]In the RAS and IAS Servers Properties dialog box, click the Members tab, add each of the NPS servers that you want to register in the domain, and then click OK.

使用 Netsh 命令 NPS 登記 NPS 伺服器並另一個網域中To register an NPS server in another domain by using Netsh commands for NPS

  1. 命令提示字元」或「windows PowerShell 開放。Open Command Prompt or windows PowerShell.

  2. 在命令提示字元中輸入下列命令:netsh nps 新增 registeredserver 網域 伺服器,然後按 ENTER 鍵。Type the following at the command prompt: netsh nps add registeredserver  domain  server, and then press ENTER.

注意

在前一個命令中,網域是您想要登記 NPS 伺服器,網域 DNS 網域名稱和伺服器NPS 伺服器電腦的名稱。In the preceding command, domain is the DNS domain name of the domain where you want to register the NPS server, and server is the name of the NPS server computer.