From 9c47533db62c5d96b0f1bde562d8372aabcbcd2d Mon Sep 17 00:00:00 2001 From: yao-msft <50888816+yao-msft@users.noreply.github.com> Date: Thu, 8 May 2025 17:43:33 -0700 Subject: [PATCH] Elevated for exported Microsoft.Windows.Settings --- src/AppInstallerCLICore/Workflows/ConfigurationFlow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/AppInstallerCLICore/Workflows/ConfigurationFlow.cpp b/src/AppInstallerCLICore/Workflows/ConfigurationFlow.cpp index 9b16824ab0..39051083aa 100644 --- a/src/AppInstallerCLICore/Workflows/ConfigurationFlow.cpp +++ b/src/AppInstallerCLICore/Workflows/ConfigurationFlow.cpp @@ -87,8 +87,7 @@ namespace AppInstaller::CLI::Workflow { return { { {}, { { s_UnitType_WinGetUserSettingsFile_DSCv3 } } }, - // TODO: Set ElevationRequired to true after https://github.com/PowerShell/DSC/issues/786 is fixed - { L"Microsoft.Windows.Settings", { { L"Microsoft.Windows.Settings/WindowsSettings", false } } }, + { L"Microsoft.Windows.Settings", { { L"Microsoft.Windows.Settings/WindowsSettings", true } } }, }; }