---------------------------------
سلام ، یکراست میرم سر اصل مطلب ، لازم هست در بازه های زمانی اگر در سازمان خود اکتیو دایرکتوری دارید Active Directory ، آنرا از نظر عملکرد بررسی کنید تا یه موقعی خدایی ناکرده ، مشکلی پیش نیاد ، خود مایکروسافت ابزاری را در اختیار شما سیستم ادمین ها قرارداده برای همین کار با نام Dcdiag ، با استفاده از این ابزار میتوانیم به بررسی عملکرد DNS و Active Directory بپردازید ، روش کار را باهم مرور میکنیم :
کد: انتخاب همه
dcdiag /s:DC1
کد: انتخاب همه
C:\Windows\system32>dcdiag /s:DC1
Directory Server Diagnosis
Performing initial setup:
* Identified AD Forest.
Done gathering initial info.
Doing initial required tests
Testing server: Default-First-Site-Name\DC1
Starting test: Connectivity
......................... DC1 passed test Connectivity
Doing primary tests
Testing server: Default-First-Site-Name\DC1
Starting test: Advertising
......................... DC1 passed test Advertising
Starting test: FrsEvent
......................... DC1 passed test FrsEvent
Starting test: DFSREvent
There are warning or error events within the last 24 hours after the SYSVOL has been shared. Failing SYSVOL replication problems may cause Group Policy problems.
......................... DC1 passed test DFSREvent
Starting test: SysVolCheck
......................... DC1 passed test SysVolCheck
Starting test: KccEvent
......................... DC1 passed test KccEvent
Starting test: KnowsOfRoleHolders
......................... DC1 passed test KnowsOfRoleHolders
Starting test: MachineAccount
......................... DC1 passed test MachineAccount
Starting test: NCSecDesc
......................... DC1 passed test NCSecDesc
Starting test: NetLogons
......................... DC1 passed test NetLogons
Starting test: ObjectsReplicated
......................... DC1 passed test ObjectsReplicated
Starting test: Replications
......................... DC1 passed test Replications
Starting test: RidManager
......................... DC1 passed test RidManager
Starting test: Services
......................... DC1 passed test Services
Starting test: SystemLog
......................... DC1 passed test SystemLog
Starting test: VerifyReferences
......................... DC1 passed test VerifyReferences
Running partition tests on : DomainDnsZones
Starting test: CheckSDRefDom
......................... DomainDnsZones passed test CheckSDRefDom
Starting test: CrossRefValidation
......................... DomainDnsZones passed test CrossRefValidation
Running partition tests on : ForestDnsZones
Starting test: CheckSDRefDom
......................... ForestDnsZones passed test CheckSDRefDom
Starting test: CrossRefValidation
......................... ForestDnsZones passed test CrossRefValidation
Running partition tests on : Schema
Starting test: CheckSDRefDom
......................... Schema passed test CheckSDRefDom
Starting test: CrossRefValidation
......................... Schema passed test CrossRefValidation
Running partition tests on : Configuration
Starting test: CheckSDRefDom
......................... Configuration passed test CheckSDRefDom
Starting test: CrossRefValidation
......................... Configuration passed test CrossRefValidation
Running partition tests on : Company
Starting test: CheckSDRefDom
......................... Company passed test CheckSDRefDom
Starting test: CrossRefValidation
......................... Company passed test CrossRefValidation
Running enterprise tests on : Company.local
Starting test: LocatorCheck
......................... Company.local passed test LocatorCheck
Starting test: Intersite
......................... Company.local passed test Intersite
C:\Windows\system32>
کد: انتخاب همه
dcdiag /s:DC1 /f:c:\it\dcdiag_test.txt
کد: انتخاب همه
dcdiag /s:DC1 /q
کد: انتخاب همه
dcdiag /s:dc1 /test:dns
کد: انتخاب همه
C:\Windows\system32>dcdiag /s:dc1 /test:dns
Directory Server Diagnosis
Performing initial setup:
* Identified AD Forest.
Done gathering initial info.
Doing initial required tests
Testing server: Default-First-Site-Name\DC1
Starting test: Connectivity
......................... DC1 passed test Connectivity
Doing primary tests
Testing server: Default-First-Site-Name\DC1
Starting test: DNS
DNS Tests are running and not hung. Please wait a few minutes...
......................... DC1 passed test DNS
Running partition tests on : DomainDnsZones
Running partition tests on : ForestDnsZones
Running partition tests on : Schema
Running partition tests on : Configuration
Running partition tests on : Company
Running enterprise tests on : Company.local
Starting test: DNS
......................... Company.local passed test DNS
کد: انتخاب همه
Dcdiag /?