During the implementation process, you can encounter various issues with Active Directory, such as registration and activation issues. The uxpreinstall utility can help you gather, identify and evaluate all the contributing factors. To enhance your ability to troubleshoot Active Directory, you can use the dcdiag (Domain Controller Diagnostics) and the netdiag (Network Diagnostics) utilities from Microsoft
Important! If you are using Windows Server 2003, you can find the dcdiag.exe and netdiag.exe utilities in the Support Tools software bundle. For more information, see Microsoft Knowledge Base articles: KB247811, KB265706, KB321708.
Use the following procedure to troubleshooting Active Directory:
uxpreinstall runs and displays a summary of the checks it performs and any errors or conflicts it identifies.
uxpreinstall displays more information about the errors and conflicts that it identifies.
Note: We recommend that you be cautious when using –l (system logger check) and –k (Single Sign On readiness check) arguments, due to a large amount of output.
Note: The netdiag utility automatically creates the following log file: NetDiag.log.
Errors can be logged as warnings and not as error messages, due to user preferences.
Example: Use dsquery to query users and groups
The following example shows you how to use the dsquery utility to query for users and groups:
dsquery user -name user1 dsquery group -name grp1 dsquery * "CN=Users,DC=example,DC=com" -scope base -attr *
Example: Use dnscmd utility to retrieve DNS settings
The following example shows you how to use the dnscmd to retrieve DNS settings:
dnscmd /enumzones dnscmd /zoneprint <zonename>
Example: Use dsquery utility to discover Active Directory sites
The following example shows you how to use the dsquery utility to discover Active Directory sites:
dsquery subnet -name 192.168.* dsquery site -o dn dsquery subnet -o rdn -site <mysite> nltest /DSGETSITECOV
Copyright © 2013 CA Technologies.
All rights reserved.
|
|