Logging and Tracing
Applies To: Windows Server 2008, Windows Server 2008 R2
You can enable tracing and logging for all Windows Deployment Services components for troubleshooting purposes. The installation logs are stored at %windir%\logs\cbs\cbs.log. This chapter outlines the various logs and output that you can generate.
Other than displaying a message that indicates whether the operation succeeded or failed, WDSUTIL shows minimal screen output (by default). However you can specify two additional options to enable more output. You can specify**/Verbose** to show detailed information about a task, and you can specify /Progress to use ellipses to indicate that a long-running process (for example, adding an image) is running and is not stalled. In the sample WDSUTIL command-lines in this section, these options are used wherever they provide useful information.
Note
You should close the Windows Deployment Services MMC snap-in when you run a WDSUTIL command. If the snap-in is open, the trace logs may not contain messages for some actions.
Warning
Incorrectly editing the registry might severely damage your system. Before making changes to the registry, you should back up any valued data.
Component | Obtain and review this output: | ||
---|---|---|---|
General status of the Windows Deployment Services server |
|
||
Server components |
|
||
Management components |
|
||
Windows Deployment Services client |
Logging in the Windows Deployment Services client serves two purposes. First, it allows you to determine if a particular client failed during installation, and it provides details regarding the failure. Second, it allows you to collect information regarding client installations including how many clients installed a particular image, and the success rate for client installs. You can view the logs in the Application event log in Event Viewer. Because a time stamp is logged with each event, you can use this information to determine how long particular phases of the client installation process took to complete. This information is especially useful when diagnosing performance problems or doing performance benchmarking. There are four logging levels:
To turn on client logging, run WDSUTIL /Set-Server /WDSClientLogging /Enabled:Yes. To change which events are logged, run WDSUTIL /Set-Server /WDSClientLogging /LoggingLevel:{None|Errors|Warnings|Info} (each category includes all events from the previous categories). Regardless of the logging level, the following information is always logged: Architecture type, Client IP address, MAC address, and computer GUID, Time, and Transaction ID. Based on the configured logging level, some or all of these events are logged: Client started, Image selected, Image apply started, Image apply finished, Client finished, and Client error. To view the logs, obtain the following:
|
||
Network boot components |
|