May 05 2020 01:15 PM
Is the auto generation of setupdiag results, when upgrade failures happen, still scheduled for the next release of Windows 10 like it was talked about at Ignite and if yes, will we be able to leverage it in ConfigMgr from the get go?
Thks in advance.
May 06 2020 08:04 AM
@Stephane Lalancette Yes. This integration is available in the May 2020 update as announced at Ignite.
May 06 2020 08:11 AM
May 06 2020 08:49 AM
When setup launches setupdiag, the parameters are:
/ZipLogs:False
/Format:xml
/Output:%windir%\logs\SetupDiag\SetupDiagResults.xml
/RegPath:HKEY_LOCAL_MACHINE\SYSTEM\Setup\SetupDiag\Results
These are documented at:
We're working with @Dune Desormeaux to get ConfigMgr integration, it is on their roadmap, but I'm not aware of a release date. Dune may have more.
Regarding setup parameters, no new parameters, but glad to discuss more your ideas (as well as ConfigMgr plans).
May 06 2020 08:59 AM
@Steve_DiAcetis
Thanks Steve
We currently run SetupDiag on each upgrade. We grab the setup time for reporting metrics on how long it takes for the upgrade to run.
If upgrade fails, we then inventory some of the keys which are populated into custom reports I've written for our upgrade process.
Based on some of the SetupDiag output, we also flag some machines for reimage as we've learned some SetupDiag return codes point to issues that aren't worth resolving (or able to resolve) and the best course is Wipe / Load.
Very excited for SetupDiag to be integrated.
Question, if SetupDiag is integrated into the upgrade, will we still be able to call it standalone? Where will the upgrade process place it? During upgrade does it get copied into a specific folder? Does it get autoatmically "cleaned up" after upgrade, (windows.old folder?), or will it stick around forever? Panther folder?
May 12 2020 04:30 PM
@gwblok Setup extracts all its sources files to %SystemDrive%\$Windows.~bt\Sources, including setupdiag.exe.
If upgrade is successful, this directory is moved to Windows.old\$WINDOWS.~BT\Sources and the setupdiag.exe binary remains there unless deleted.