|
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:
-
NONE: No logging (default)
-
ERRORS: Errors only
-
WARNINGS: Warnings and errors
-
INFO: The highest level of logging, which includes errors, warnings, and informational events
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:
-
Deployment Services Diagnostics logs in Event Viewer. To locate these logs, click Applications and Services Logs, click Microsoft, click Windows
, and then click Deployment-Services-Diagnostics. The
Admin node contains all errors, and the Operational
node contains information messages. Note that in both of these logs, the architectures listed for some errors mean the following:
- Architecture 0 means x86
- Architecture 6 means ia64
- Architecture 9 means x64
-
Setup logs from the client computer. The setup logs appear in different places depending on when the failure occurred:
If the failure occurred in Windows PE before the disk configuration page of the Windows Deployment Services client has been completed, you can find the logs at X:\Windows\Panther. Use Shift+F10 to open a command prompt, and then navigate to the location.
If the failure occurred in Windows PE after the disk configuration page of the Windows Deployment Services client has been completed, you can find the logs on the local disk volume (usually C:\) at $Windows.~BT\Sources\Panther. Use Shift+F10 to open a command prompt, and then navigate to the location.
If the failure occurred on first boot after the image was applied, you can find the logs in the \Windows\Panther folder of the local disk volume (usually C:\).
-
Trace log from the Image Capture Wizard. To obtain these logs, do the following:
- Boot into the capture image.
- When the wizard starts, press Shift+F10 to access the command prompt.
- Enable tracing for the wizard. To do this, first run Regedit.exe. Then set the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Tracing\WDSCapture
Name: EnableFileTracing
Value:
1
- Open a second instance of the Image Capture Wizard.
- Reproduce the failure using the wizard that you just opened. Do not close the original wizard or the computer will restart. Note that you can use Alt+Tab to move between windows.
- Obtain the trace log from X:\Windows\Tracing\WDSCapture.log.
|