文章編號: 229896 - 上次校閱: 2007年2月23日 - 版次: 2.4 使用 Repadmin.exe 疑難排解 Active Directory 複寫
結論Repadmin.exe 是 Microsoft Windows 2000 資源工具箱 」 工具,會在 Windows 2000 光碟片上的 [支援工具] 資料夾中可用。它是以 Active Directory 複寫的命令列介面。這個工具提供功能強大的介面,可到 Active Directory 複寫的內部運作,且有助於疑難排解 Active Directory 複寫問題。本文將告訴您,基本使用 Repadmin.exe 工具。 其他相關資訊命令提示字元上鍵入 repadmin 顯示參數的下列清單:
Usage: repadmin <cmd> <args> [/u:{domain\\user}] [/pw:{password|*}]
Supported <cmd>s & args:
/sync <Naming Context> <Dest DSA> <Source DSA UUID> [/force] [/async
[/full] [/addref] [/allsources]
/syncall <Dest DSA> [<Naming Context>] [<flags>]
/kcc [DSA] [/async]
/bind [DSA]
/propcheck <Naming Context> <Originating DSA Invocation ID>
<Originating USN> [DSA from which to enumerate host DSAs]
/getchanges NamingContext [SourceDSA] [/cookie:<file>]
/getchanges NamingContext [DestDSA] SourceDSAObjectGuid
[/verbose] [/statistics]
/showreps [Naming Context] [DSA [Source DSA objectGuid]] [/verbose]
[/unreplicated] [/nocache]
/showvector <Naming Context> [DSA] [/nocache]
/showmeta <Object DN> [DSA] [/nocache]
/showtime <DS time value>
/showmsg <Win32 error>
/showism [<Transport DN>] [/verbose] (must be executed locally)
/showsig [DSA]
/showconn [DSA] [Container DN | <DSA guid>] (default is local site)
/showcert [DSA]
/queue [DSA]
/failcache [DSA]
/showctx [DSA] [/nocache]
Note:- <Dest DSA>, <Source DSA>, <DSA> : Names of the appropriate servers
<Naming Context> is the Distinguished Name of the root of the NC
Example: DC=My-Domain,DC=Microsoft,DC=Com
repadmin /showmeta"CN = larryli OU = DesignTeam OU = 開發 DC = ntbeta DC = Microsoft DC = com"Name of DC 其中 Name of DC 是您要檢查複寫參數的網域控制站的主機名稱。這個命令的輸出會類似於: Loc.USN Originating DSA Org.USN Org.Date/Time Ver Attribute -------------------------------------------------------------------------- 1639 Luxembourg\EMBY 1639 1999-04-23 15:29.37 1 objectClass 1639 Luxembourg\EMBY 1639 1999-04-23 15:29.37 1 cn 1639 Luxembourg\EMBY 1639 1999-04-23 15:29.37 1 sn 1668 Luxembourg\EMBY 1668 1999-04-23 15:37.12 1 c 1668 Luxembourg\EMBY 1668 1999-04-23 15:37.12 1 l 1668 Luxembourg\EMBY 1668 1999-04-23 15:37.12 1 st 1706 Luxembourg\EMBY 1706 1999-04-23 15:38.39 1 title 1667 Luxembourg\EMBY 1667 1999-04-23 15:37.12 2 description 1668 Luxembourg\EMBY 1668 1999-04-23 15:37.12 1 postalCode 1667 Luxembourg\EMBY 1667 1999-04-23 15:37.12 1 physDevOffName 1667 Luxembourg\EMBY 1667 1999-04-23 15:37.12 1 telephoneNumber 1639 Luxembourg\EMBY 1639 1999-04-23 15:29.37 1 givenName 1639 Luxembourg\EMBY 1639 1999-04-23 15:29.37 1 instanceType 1639 Luxembourg\EMBY 1639 1999-04-23 15:29.37 1 whenCreated 1640 Luxembourg\EMBY 1640 1999-04-23 15:29.37 1 displayName 1668 Luxembourg\EMBY 1668 1999-04-23 15:37.12 1 streetAddress 1776 Luxembourg\EMBY 1776 1999-04-23 16:32.44 2 NTSecurityDescriptor 1851 Luxembourg\EMBY 1851 1999-04-23 17:06.09 2 wWWHomePage 1639 Luxembourg\EMBY 1639 1999-04-23 15:29.37 1 name 1649 Luxembourg\EMBY 1649 1999-04-23 15:29.38 3 userAccountControl 1640 Luxembourg\EMBY 1640 1999-04-23 15:29.37 1 codePage 1668 Luxembourg\EMBY 1668 1999-04-23 15:37.12 2 countryCode 1704 Luxembourg\EMBY 1704 1999-04-23 15:38.19 2 homeDirectory 1704 Luxembourg\EMBY 1704 1999-04-23 15:38.19 2 homeDrive 1641 Luxembourg\EMBY 1641 1999-04-23 15:29.37 2 dBCSPwd 1640 Luxembourg\EMBY 1640 1999-04-23 15:29.37 1 scriptPath 1640 Luxembourg\EMBY 1640 1999-04-23 15:29.37 1 logonHours 1640 Luxembourg\EMBY 1640 1999-04-23 15:29.37 1 userWorkstations 1641 Luxembourg\EMBY 1641 1999-04-23 15:29.37 2 unicodePwd 1641 Luxembourg\EMBY 1641 1999-04-23 15:29.37 2 ntPwdHistory 1641 Luxembourg\EMBY 1641 1999-04-23 15:29.37 2 pwdLastSet 1640 Luxembourg\EMBY 1640 1999-04-23 15:29.37 1 primaryGroupID 1643 Luxembourg\EMBY 1643 1999-04-23 15:29.37 1 supplmntlCredentials 1640 Luxembourg\EMBY 1640 1999-04-23 15:29.37 1 userParameters 1669 Luxembourg\EMBY 1669 1999-04-23 15:37.12 2 profilePath 1639 Luxembourg\EMBY 1639 1999-04-23 15:29.37 1 objectSid 1776 Luxembourg\EMBY 1776 1999-04-23 16:32.44 1 adminCount 1640 Luxembourg\EMBY 1640 1999-04-23 15:29.37 1 comment 1640 Luxembourg\EMBY 1640 1999-04-23 15:29.37 1 accountExpires 1641 Luxembourg\EMBY 1641 1999-04-23 15:29.37 2 lmPwdHistory 1639 Luxembourg\EMBY 1639 1999-04-23 15:29.37 1 sAMAccountName 1639 Luxembourg\EMBY 1639 1999-04-23 15:29.37 1 sAMAccountType 1639 Luxembourg\EMBY 1639 1999-04-23 15:29.37 1 userPrincipalName 1704 Luxembourg\EMBY 1704 1999-04-23 15:38.19 1 userSharedFolder 1639 Luxembourg\EMBY 1639 1999-04-23 15:29.37 1 objectCategory 1667 Luxembourg\EMBY 1667 1999-04-23 15:37.12 1 mail 1705 Luxembourg\EMBY 1705 1999-04-23 15:38.39 1 homePhone 這篇文章中的資訊適用於:
機器翻譯重要:本文是以 Microsoft 機器翻譯軟體翻譯而成,而非使用人工翻譯而成。Microsoft 同時提供使用者人工翻譯及機器翻譯兩個版本的文章,讓使用者可以依其使用語言使用知識庫中的所有文章。但是,機器翻譯的文章可能不盡完美。這些文章中也可能出現拼字、語意或文法上的錯誤,就像外國人在使用本國語言時可能發生的錯誤。Microsoft 不為內容的翻譯錯誤或客戶對該內容的使用所產生的任何錯誤或損害負責。Microsoft也同時將不斷地就機器翻譯軟體進行更新。 按一下這裡查看此文章的英文版本:229896?
(http://support.microsoft.com/kb/229896/en-us/
)
Microsoft及(或)其供應商不就任何在本伺服器上發表的文字資料及其相關圖表資訊的恰當性作任何承諾。所有文字資料及其相關圖表均以「現狀」供應,不負任何擔保責任。Microsoft及(或)其供應商謹此聲明,不負任何對與此資訊有關之擔保責任,包括關於適售性、適用於某一特定用途、權利或不侵權的明示或默示擔保責任。Microsoft及(或)其供應商無論如何不對因或與使用本伺服器上資訊或與資訊的實行有關而引起的契約、過失或其他侵權行為之訴訟中的特別的、間接的、衍生性的損害或任何因使用而喪失所導致的之損害、資料或利潤負任何責任。 | 其他資源 其他支援網站社群立即取得協助文章翻譯
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email


回此頁最上方
