Question
We need to view logs for PXE in Deployment Solution 7.1 - how can we do this? Why aren't we capturing logs if we've selected the option to do so in the policy?
Answer
PXE logging can be enabled for all PXE services or for each individual PXE service. It is highly recommended that PXE services are enabled on an individual basis.
Enabling the PXE logging enables ALL PXE logs by default including the MTFTP log. The MTFTP log tracks ALL communication sent and will be very large and resource intensive.
Enabling logging for individual PXE services
1. Download and extract 'logs.zip'. Run the reg key titled 'all_logs_not_mtftp.reg'. This will set up logging for all PXE services except MTFTP.
2. Each individual log can be disabled by editing the registry keys created above (the keys created are shown below)
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Debug]
[HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Debug\SbsNSiFace]
"Enabled"=dword:00000001
"Filepath"="SBSLog_NSiFace.txt"
"OutputThreshold"=dword:000000fe
[HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Debug\SbsNSiSignal]
"Enabled"=dword:00000001
"Filepath"="SBSLog_NSiSignal.txt"
"OutputThreshold"=dword:000000fe
[HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Debug\SbsParsePxe]
"Enabled"=dword:00000001
"Filepath"="SBSLog_parsePxe.txt"
"OutputThreshold"=dword:000000fe
[HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Debug\SbsPxeOpts]
"Enabled"=dword:00000001
"Filepath"="SBSLog_pxeopts.txt"
"OutputThreshold"=dword:000000fe
[HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Debug\SbsServer]
"Enabled"=dword:00000001
"Filepath"="SBSLog_server.txt"
"OutputThreshold"=dword:000000fe
[HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Debug\SbsLogHelper]
"FilePath"="SBSLog_helper.txt"
"OutputThreshold"=dword:000000fe
"Enabled"=dword:00000001
3. To turn on MTFTP logging download 'logs.zip' and run the 'logging_MTFTP.reg' reg key. (the registry key created is shown below)
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Debug]
[HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Debug\SbsMtftp]
"Enabled"=dword:00000001
"Filepath"="SBSLog_mtftp.txt"
"OutputThreshold"=dword:000000fe
pxestartupinfo.log available at:
C:\Program Files\Altiris\Altiris Agent\Agents\Deployment\Task Handler\SBS\pxestartupinfo.log
C:\Windows\System32\pxestartupinfo.log
4. To gather the "SbsNSInterface.log" file, the following registry key needs to be implemented:
[HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\Deployment]
"DebugLogs"="c:\<path>"
NOTE: <path> needs to be replaced with the desired drive location to where these logs will be written.