Addiag Syntax

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

AdDiag Syntax

AdDiag uses the following syntax:

Art Imageaddiag [/verbose:{TRUE|FALSE}] [/user:{TRUE|FALSE}] [/trace:String] [/test: StringList] [/debug: Ulong] [/?:{TRUE|FALSE}]

Parameters

  • /verbose: {TRUE|FALSE}
    Specifies the level of detail returned.

    Value Description

    TRUE

    Runs diagnostics in verbose mode.

    FALSE

    Runs diagnostics in concise mode. This is the default.

  • /user: {TRUE|FALSE}
    Specifies which diagnostics to run.

    Value Description

    TRUE

    Runs diagnostics for the user. This is the default.

    FALSE

    Runs diagnostics for the computer.

  • /trace: String
    Specifies in a string what system tracing to turn on or off. The string must be between 1 and 260 characters in length.

    Value Description

    AppMgmtOn

    Turns on verbose logging for AppMgmt. The log file is generated at %WINDIR%\debug\usermode\appmgmt.log.

    AppMgmtOff

    Turns off verbose logging for AppMgmt.

    MSIOn

    Turns on verbose logging for Windows Installer. The log file is generated either at %WINDIR%\temp\msi*.log or %temp%\msi*.log.

    MSIOff

    Turns off verbose logging for Windows Installer.

    UserEnvOff

    Turns on verbose logging for the policy engine. The log file is generated at %WINDIR%\debug\usermode\userenv.log.

    UserEnvOn

    Turns off verbose logging for the policy engine.

  • /test: StringList
    Specifies the list of diagnostics to be run. The string must be between 1 and 260 characters, and multiple diagnostics must be separated by comma (,) or semicolon (;). The default StringList is "Info,TS,LocalApps,ServerApps,MSIApps,ADHistory,EventDump,All".

    Value Description

    Info

    Dumps Addiag Remarks information.

    TS

    Dumps Addiag Remarks information.

    LocalApps

    Dump Addiag Remarks List.

    ServerApps

    Dumps Addiag Remarks List.

    MSIApps

    Dumps Addiag Remarks List.

    GPOList

    Dumps Local Group Policy Object List.

    ScriptList

    Dumps Local Script Application List.

    ADHistory

    Dumps Local Active Directory policy history.

    MSIFeatures

    Dumps Local MSI Features List.

    MSILinks

    Dumps MSI shortcuts in the profile.

    EventDump

    Dumps Application log related events.

    Check

    Performs Active Directory Integrity check.

    all

    Performs all tests.

  • /debug: Ulong
    Specifies a debug level of Ulong where Ulong is an unsigned long (debug only).
  • ****/?:{TRUE|FALSE}
    Specifies whether command-line help is displayed.

    Value Description

    TRUE

    Displays command-line usage.

    FALSE

    Does not display command-line usage. This is the default.

Examples

See Addiag Examples.

See Also

Concepts

Addiag.exe
Addiag Remarks
Addiag Examples
Alphabetical List of Tools
Topchk.cmd
Rsdir Overview
Rsdiag Overview
Iologsum Overview
Health_chk Overview
Ftonline Overview
Filever Overview
Efsinfo Overview
Dmdiag Overview
Dskprobe Overview
Diruse Overview
Dfsutil Overview
Connstat Overview
Cabarc Overview
Bitsadmin Overview