dustinestes / MECM_Toolkit

A collection of scripts, tools, and processes for the successful installation, administration, and automation of the Microsoft Endpoint Configuration Manager product.
MIT License
0 stars 0 forks source link

Logging: Copy WinPE Log Files for Auditing & Troubleshooting #4

Open dustinestes opened 1 week ago

dustinestes commented 1 week ago

Description A new file or functionality to an existing file needs to be created in order to copy the log files from a Task Sequence failure that occurs during the WinPE portion of the process.

Purpose This will provide greater logging output for failures that occur prior to booting into the installed Operating System.

Directories Directory Description Notes
X:\Windows\Temp\SMSTSLog Contains standard log files for Task Sequence operation None
X:\Windows\SMSTSLog Appears to be a copy of the above and stops being written to once partitioning of the disk is completed May do a check for this first and if exists but above doesn't, copy this, otherwise only copy above
C:_SMSTaskSequence\Logs\smsts.log Also appears to be a copy of the top directory of log files and does not contain the errors or any subsequent data past a certain point Include in the logic to check if exists and only process if the most primary one above does not exist
X:\Windows\Logs\ Contains logs for CBS, DISM, and Net Setup None

References Windows Setup Log File Locations | Microsoft Learn