commit 2a574d0b4d1b75a6ed35eabce57ae75bb30470ef
parent 11c0786284f4886115b3ecb6c82d09e0885e4e94
Author: yao-msft <50888816+yao-msft@users.noreply.github.com>
Date: Fri, 9 May 2025 09:49:22 -0700
Elevated for exported Microsoft.Windows.Settings (#5444)
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git 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 } } },
};
}