tapicfg 安装tapicfg install

适用于: Windows Server (半年通道) ,Windows Server 2019,Windows Server 2016,Windows Server 2012 R2,Windows Server 2012Applies to: Windows Server (Semi-Annual Channel), Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

创建 TAPI 应用程序目录分区。Creates a TAPI application directory partition.


若要运行此命令,你必须是 active directory 中 Enterprise Admins 组的成员。You must be a member of the Enterprise Admins group in active directory to run this command.


tapicfg install /directory:<partitionname> [/server:<DCname>] [/forcedefault]


参数Parameter 说明Description
/directory:<partitionname>install /directory:<partitionname> 必需。Required. 指定要创建的 TAPI 应用程序目录分区的 DNS 名称。Specifies the DNS name of the TAPI application directory partition to be created. 此名称必须是完全限定的域名。This name must be a fully-qualified domain name.
/server <DCname>/server: <DCname> 指定在其上创建 TAPI 应用程序目录分区的域控制器的 DNS 名称。Specifies the DNS name of the domain controller on which the TAPI application directory partition is created. 如果未指定域控制器名称,则使用本地计算机的名称。If the domain controller name isn't specified, the name of the local computer is used.
/forcedefault/forcedefault 指定此目录是域的默认 TAPI 应用程序目录分区。Specifies that this directory is the default TAPI application directory partition for the domain. 一个域中可以有多个 TAPI 应用程序目录分区。There can be multiple TAPI application directory partitions in a domain.

如果此目录是在域中创建的第一个 TAPI 应用程序目录分区,则无论是否使用 /forcedefault 选项,它都将自动设置为默认值。if this directory is the first TAPI application directory partition created on the domain, it's automatically set as the default, regardless of whether you use the /forcedefault option.

/?/? 在命令提示符下显示帮助。Displays help at the command prompt.


  • 此命令行工具可在作为域成员的任何计算机上运行。This command-line tool can be run on any computer that is a member of the domain.

  • 如果安装了适当的字体和语言支持,用户提供的文本 (例如 TAPI 应用程序目录分区、服务器和域) 具有国际或 Unicode 字符的名称将会正确显示。User-supplied text (such as the names of TAPI application directory partitions, servers, and domains) with International or Unicode characters are only displayed correctly if appropriate fonts and language support are installed.

  • 你仍可以在组织中使用 Internet 定位符服务 (ILS) 服务器,如果需要使用 ILS 来支持某些应用程序,因为运行 Windows XP 或 Windows Server 2003 操作系统的 TAPI 客户端可以查询 ILS 服务器或 TAPI 应用程序目录分区。You can still use Internet Locator Service (ILS) servers in your organization, if ILS is needed to support certain applications, because TAPI clients running Windows XP or a Windows Server 2003 operating system can query either ILS servers or TAPI application directory partitions.

  • 你可以使用 tapicfg 来创建或删除服务连接点。You can use tapicfg to create or remove service connection points. 如果出于任何原因重命名了 TAPI 应用程序目录分区 (例如,如果你重命名它所在的域) ,则必须删除现有的服务连接点,并创建新的服务连接点,其中包含要发布的 TAPI 应用程序目录分区的新 DNS 名称。If the TAPI application directory partition is renamed for any reason (for example, if you rename the domain in which it resides), you must remove the existing service connection point and create a new one that contains the new DNS name of the TAPI application directory partition to be published. 否则,TAPI 客户端将无法找到和访问 TAPI 应用程序目录分区。Otherwise, TAPI clients are unable to locate and access the TAPI application directory partition. 你还可以删除服务连接点,以便进行维护或安全目的 (例如,如果你不希望在特定的 TAPI 应用程序目录分区上公开 TAPI 数据) 。You can also remove a service connection point for maintenance or security purposes (for example, if you do not want to expose TAPI data on a specific TAPI application directory partition).


若要在名为testdc.testdom.microsoft.com的服务器上创建名为tapifiction.testdom.microsoft.com的 TAPI 应用程序目录分区,然后将其设置为新域的默认 tapi 应用程序目录分区,请键入:To create a TAPI application directory partition named tapifiction.testdom.microsoft.com on a server named testdc.testdom.microsoft.com, and then set it as the default TAPI application directory partition for the new domain, type:

tapicfg install /directory:tapifiction.testdom.microsoft.com /server:testdc.testdom.microsoft.com /forcedefault

其他参考Additional References