From a84001f3d75f9737c7165d5a797c2157a960b7f4 Mon Sep 17 00:00:00 2001 From: Frank Rojas <45807133+frankroj@users.noreply.github.com> Date: Thu, 27 Mar 2025 13:11:09 -0400 Subject: [PATCH] Add requirement for elevated command prompt Add requirement to run SetupDiag.exe from an elevated command prompt. Also correct example that running SetupDiag.exe without parameters shows interactive help. --- windows/deployment/upgrade/setupdiag.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/windows/deployment/upgrade/setupdiag.md b/windows/deployment/upgrade/setupdiag.md index c66b48114b..140ffb27b7 100644 --- a/windows/deployment/upgrade/setupdiag.md +++ b/windows/deployment/upgrade/setupdiag.md @@ -12,7 +12,7 @@ ms.topic: troubleshooting ms.collection: - highpri - tier2 -ms.date: 01/29/2025 +ms.date: 03/27/2025 appliesto: - ✅ Windows 11 - ✅ Windows 10 @@ -77,6 +77,8 @@ If the upgrade process proceeds normally, the **Sources** directory including ** As long as at least the required version of .NET is installed, no additional action is required, including if a newer version is installed. +1. **Setupdiag.exe** should be run from an elevated command prompt for it to work properly. + ## Using SetupDiag To quickly use SetupDiag on the current computer: @@ -126,7 +128,11 @@ For instructions on how to run the tool in offline mode and with more advanced o ### Examples -- In the following example, SetupDiag is run with default parameters in online mode. The results file is **SetupDiagResults.log** in the same folder where SetupDiag is run. +> [!IMPORTANT] +> +> **SetupDiage.exe** should be run from an elevated command prompt for it to work properly. + +- In the following example, SetupDiag is run without parameters and it displays interactive help. ```cmd SetupDiag.exe