大网数据广告活动
网络与域名解析

Installing the Provider

· 52CE 我爱测

The procedure for installing the DNS WMI Provider differs based on the version of Windows on which it is installed.

The procedure for installing the DNS WMI Provider differs based on the version of Windows on which it is installed. The following procedure describes how to install and set up the DNS WMI Provider on Windows 2000. To obtain the DNS WMI Provider for Windows 2000, download the following file:

WARNING: DNS WMI Provider files are not interchangeable. Windows 2000 DNS Servers require different files and a different procedure than Windows Server 2003 DNS Servers. The procedure for each is provided.

To install the DNS WMI Provider on Windows 2000 Server

  1. Obtain the DNS WMI Provider for Windows 2000 from the Windows 2000 Server Resource Kit, or download the file, Dnsprov.zip, from: ftp://ftp.microsoft.com/reskit/win2000/

  2. Copy the DNS WMI Provider (Dnsprov.dll) and Dnsschema.mof files to the <winntdir>\system32\wbem directory.

  3. Compile the MOF file. Doing so customizes the schema to match the server.

    mofcomp dnsschema.mof

  4. Register the DLL on the DNS Server.

    regsvr32 dnsprov.dll

  5. Scripts or programs that use the DNS WMI Provider to manage DNS Servers can then be used. The scripts or programs can be run from either the DNS Server, or from a client computer.

    [!Note]
    The WMI SDK is not required to run the DNS WMI Provider, but it contains many useful tools.

The DNS WMI Provider must be installed on any DNS Server to be managed; the DNS scripts, however, can be run on the DNS Server or on a remote host.

To install the DNS WMI Provider on Windows Server 2003

  • For Windows Server 2003 operating systems, the DNS WMI Provider is automatically installed and registered, and its MOF file is compiled when the DNS Server service is installed.

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。