文章編號: 265706 - 上次校閱: 2007年10月26日 - 版次: 6.1 Windows 2000 中的 DCDiag 和 NetDiag 有助於網域加入與 DC 建立
本文曾發行於 CHT265706 在此頁中結論 本文將告訴您,Windows 2000 隨附的「網域控制站診斷」(Dcdiag.exe)
和「網路診斷」(Netdiag.exe) 工具版本已新增的功能。
如需有關 Windows 2000 最新版 Service Pack
的詳細資訊,請按一下下面的文件編號,檢視「Microsoft 知識庫」中的文件: 260910?
(http://support.microsoft.com/kb/260910/
)
如何取得最新版的 Windows 2000 Service Pack
其他相關資訊 新增至 Dcdiag.exe 及 Netdiag.exe 的功能,會檢查網域名稱服務 (DNS)
基礎結構是否足以用來部署 Windows 2000 Active Directory 服務。Windows 2000 中已更新的 Dcdiag.exe 和
Netdiag.exe 工具提供測試網域名稱服務 (DNS) 基礎結構的功能,以便:
file name /h 或 file name /? 其中 file name 不是 dcdiag.exe 就是
netdiag.exeDcdiag.exe 更新Active Directory 安裝精靈「Active Directory 安裝精靈」會測試現有的 DNS 基礎結構以升級為網域控制站。如果基礎結構足夠,您就可以將電腦升級為 Active Directory Domain DNS Name 指定之網域中的網域控制站。此精靈也會報告是否需要對現有的 DNS 基礎結構進行任何修改。Required argument:/DnsDomain:<Active_Directory_Domain_DNS_Name> One of the following arguments is required:/NewForest /NewTree /ChildDomain /ReplicaDC If NewTree is specified, then the ForestRoot argument is required:/ForestRoot:<Forest_Root_Domain_DNS_Name> RegisterInDNSRegisterInDNS 會測試這個網域控制站是否能夠登錄「網域控制站定位程式」的 DNS 記錄。這些記錄必須存在於 DNS 中,其他電腦才能找出 Active Directory Domain DNS Name 網域的這個網域控制站。RegisterInDNS 也會報告是否需要對現有的 DNS 基礎結構進行任何修改。Required argument:DnsDomain:<Active_Directory_Domain_DNS_Name> Dcdiag.exe Updates DsGetDcDsGetDc 是網域控制站探索測試。這是先前版本中的命令,但是顯示文字已經新增全新的功能,可以協助解決 DNS 設定問題。 下列範例提供適用於每個新測試與範例輸出的命令列引數。 在新的 Active Directory 樹系中建立第一個網域控制站下列範例是為了找出可以管理 DNS 記錄的 DNS 伺服器和區域而發出,這個網域控制站必須在登錄這些 DNS 記錄之後執行「僅限必要條件」要求,才能執行動態更新以探查授權 DNS 伺服器和區域進行動態更新的功能。dcdiag /test:dcpromo /dnsdomain:example.microsoft.com /newforest Starting test:DcPromo Messages logged below this line indicate whether this domain controller will be able to dynamically register DNS records required for the location of this DC by other devices on the network. If any misconfiguration is detected, it might prevent dynamic DNS registration of some records, but does not prevent successful completion of the Active Directory Installation Wizard. However, we recommend fixing the reported problems now, unless you plan to manually update the DNS database. DNS configuration is sufficient to allow this domain controller to dynamically register the domain controller Locator records in DNS. ......................... RANDYMC1 passed test DcPromo 將新的網域樹狀目錄加入現有的 Active Directory 樹系下列範例會對樹系根網域中網域控制站的 SRV 記錄發出 DNS 查詢。然後,會針對每個網域控制站的主機記錄發出查詢。DNS 查詢是為了找出可以管理 DNS 記錄的 DNS 伺服器和區域而發出,這個網域控制站必須在登錄這些 DNS 記錄之後執行「僅限必要條件」要求,才能執行動態更新以探查授權 DNS 伺服器和區域進行動態更新的功能。dcdiag /test:dcpromo /dnsdomain:test.example.microsoft.com /newtree /forestroot:example.microsoft.com Starting test: DcPromo The DNS configuration is sufficient to allow this computer to be promoted as the first DC in the test.example.microsoft.com Active Directory domain. Messages logged below this line indicate whether this domain controller will be able to dynamically register DNS records required for the location of this DC by other devices on the network. If any misconfiguration is detected, it might prevent dynamic DNS registration of some records, but does not prevent successful completion of the Active Directory Installation Wizard. However, we recommend fixing the reported problems now, unless you plan to manually update the DNS database. DNS configuration is sufficient to allow this domain controller to dynamically register the domain controller Locator records in DNS. ......................... RANDYMC1 passed test DcPromo 將子網域加入現有 Active Directory 樹系內的樹狀目錄下列範例會對裝載父 Active Directory 網域 (屬於所提供的 DNS 網域名稱) 的網域控制站的 SRV 記錄,發出 DNS 查詢。然後,會針對傳回的每個父網域控制站的主機記錄發出查詢。DNS 查詢是為了找出可以管理 DNS 記錄的 DNS 伺服器和區域而發出,這個網域控制站必須在登錄這些 DNS 記錄之後執行「僅限必要條件」要求,才能執行動態更新以探查授權 DNS 伺服器和區域進行動態更新的功能。dcdiag /test:dcpromo /dnsdomain:test.example.microsoft.com /childdomain Starting test: DcPromo The DNS configuration is sufficient to allow this computer to be promoted as the first DC in the example.microsoft.com Active Directory domain. Messages logged below this line indicate whether this domain controller will be able to dynamically register DNS records required for the location of this DC by other devices on the network. If any misconfiguration is detected, it might prevent dynamic DNS registration of some records, but does not prevent successful completion of the Active Directory Installation Wizard. However, we recommend fixing the reported problems now, unless you plan to manually update the DNS database. DNS configuration is sufficient to allow this domain controller to dynamically register the domain controller Locator records in DNS. ......................... RANDYMC1 passed test DcPromo 將額外的網域控制站加入現有的網域下列範例會對 dnsdomain 中 DC 的 SRV 記錄發出 DNS 查詢。然後,會針對每個網域控制站的主機記錄發出查詢。DNS 查詢是為了找出可以管理 DNS 記錄的 DNS 伺服器和區域而發出,這個網域控制站必須在登錄這些 DNS 記錄之後執行「僅限必要條件」要求,才能執行動態更新以探查授權 DNS 伺服器和區域進行動態更新的功能。dcdiag /test:dcpromo /dnsdomain:example.microsoft.com /replicadc Starting test: DcPromo The DNS configuration is sufficient to allow this computer to be promoted as a replica domain controller in the example.microsoft.com domain. Messages logged below this line indicate whether this domain controller will be able to dynamically register DNS records required for the location of this DC by other devices on the network. If any misconfiguration is detected, it might prevent dynamic DNS registration of some records, but does not prevent successful completion of the Active Directory Installation Wizard. However, we recommend fixing the reported problems now, unless you plan to manually update the DNS database. DNS configuration is sufficient to allow this domain controller to dynamically register the domain controller Locator records in DNS. ......................... RANDYMC1 passed test DcPromo 測試動態 DNS 登錄 (DDNS)注意:如果要解決「系統事件」記錄中的下列事件,下列程序會有用:Netlogon 5774 - DNS 記錄記錄名稱和 DNS 資訊的登錄失敗。 下列範例是為了找出可以管理 DNS 記錄的 DNS 伺服器和區域而發出的 DNS 查詢,這個網域控制站必須在登錄這些 DNS 記錄之後執行「僅限必要條件」要求,才能執行動態更新以探查授權 DNS 伺服器和區域進行動態更新的功能。dcdiag /test:registerindns /dnsdomain:example.microsoft.com Starting test: RegisterInDNS DNS configuration is sufficient to allow this domain controller to dynamically register the domain controller Locator records in DNS. ......................... RANDYMC1 passed test RegisterInDNS 使用 DSGetDC 測試網域控制站的連線時,出現 Netdiag.exe 增強錯誤訊息額外的錯誤訊息已經加入 Netdiag.exe。Netdiag 一定會測試電腦所屬的網域,以及執行 DSGetDC 測試時使用 /d 參數指定的網域。如果其中一個網域通過測試,您就不會收到錯誤訊息。如果要確認您是否收到新的錯誤訊息,請使用 /v (詳細資訊) 或偵錯參數。如果 DSGetDC 測試沒有連線至 DNS 伺服器,您就會收到下列錯誤訊息: netdiag /test:dsgetdc /d:c.b.a.com /v or
netdiag /test:dsgetdc /d:c.b.a.com /debug Find DC in domain 'c.b.a.com': Verify
that the network connections on this computer are configured with the correct
IP addresses of the DNS servers to be used for name resolution, and then run
this tool again.[FATAL]Cannot find DC in domain
'c.b.a.com'.[ERROR_NO_SUCH_DOMAIN] (netdiag /test:dsgetdc /d:c.b.a.com /v 或
netdiag /test:dsgetdc /d:c.b.a.com /debug 在網域 'c.b.a.com' 中找到
DC:請確認這部電腦上的網路連線利用要用於名稱解析的 DNS 伺服器的正確 IP 位址來設定,然後再次執行這個工具。[嚴重錯誤]在網域 'c.b.a.com'
中找不到 DC。[錯誤_沒有_這種_網域]) netdiag /test:dsgetdc /d:c.b.a.com
/v 或 netdiag /test:dsgetdc /d:c.b.a.com /debug Find DC in domain 'c.b.a.com': (在網域 'c.b.a.com' 中找到 DC:) This computer cannot be joined to the [c.b.a.com] domain because of one of the following reasons: (由於下列原因,這部電腦無法加入 [c.b.a.com] 網域:) 1. The DNS SRV record for [c.b.a.com] is not registered in DNS; or ([c.b.a.com] 的 DNS SRV 記錄並未登錄到 DNS 中;或者) 2. A zone from the following list of DNS zones does not include delegation to its child zone. (下列 DNS 區域清單中區域的子區域中並未包含委派) Such zones can include [c.b.a.com, b.a.com, a.com, com], and root zone. (這種區域可能包括 [c.b.a.com、b.a.com、a.com、com] 以及根區域) Ask your network/DNS administrator to perform the following actions:To find out why the SRV record for [_ldap._tcp.dc._msdcs.c.b.a.com] is not registered in the DNS, run the dcdiag command prompt tool with the command RegisterInDNS on the domain controller that did not perform the registration. (要求您的網路/DNS 系統管理員執行下列動作:如果要找出 [_ldap._tcp.dc._msdcs.c.b.a.com] 的 SRV 記錄沒有登錄在 DNS 中的原因,請在未執行登錄的網域控制站上,使用 RegisterInDNS 命令搭配執行 dcdiag 命令提示字元工具) [FATAL]Cannot find DC in domain 'c.b.a.com'. ([嚴重錯誤]在網域 'c.b.a.com' 中找不到 DC)[ERROR_NO_SUCH_DOMAIN] ([錯誤_沒有_這種_網域]) 解決常見設定問題的步驟如果要設定具備慣用與備用 DNS 伺服器的 DNS 用戶端:
Netdiag.exe摺疊此圖像 ![]() Dcdiag.exe摺疊此圖像 ![]() 119591?
(http://support.microsoft.com/kb/119591/
)
如何從線上服務取得 Microsoft 支援檔案
Microsoft 已對這個檔案做過病毒的掃描。Microsoft
是利用發佈當日的最新病毒偵測軟體來掃描檔案,看看有沒有病毒感染。檔案會儲存在安全的伺服器上,以避免任何未經授權的更改。
DCDiag 和 NetDiag 測試都可以手動執行。這篇文章中的資訊適用於:
Microsoft及(或)其供應商不就任何在本伺服器上發表的文字資料及其相關圖表資訊的恰當性作任何承諾。所有文字資料及其相關圖表均以「現狀」供應,不負任何擔保責任。Microsoft及(或)其供應商謹此聲明,不負任何對與此資訊有關之擔保責任,包括關於適售性、適用於某一特定用途、權利或不侵權的明示或默示擔保責任。Microsoft及(或)其供應商無論如何不對因或與使用本伺服器上資訊或與資訊的實行有關而引起的契約、過失或其他侵權行為之訴訟中的特別的、間接的、衍生性的損害或任何因使用而喪失所導致的之損害、資料或利潤負任何責任。 | 其他資源 其他支援網站社群文章翻譯
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
回此頁最上方
