-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
Command-ConfigureIssue related to WinGet ConfigurationIssue related to WinGet ConfigurationIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.
Description
Relevant area(s)
WinGet CLI
Relevant command(s)
winget configure
Brief description of your issue
winget configure -f foo.winget doesn't work if DSC prerequisites are not met in a fresh install of Windows 11. Error:
The configuration unit failed due to an internal error: -532462766
The following works (user is admin):
winget install Microsoft.DSC
winget configure -f foo.wingetSteps to reproduce
It's unclear whether the resources in the .winget configuration file make any difference, but my impression is they don't. Issue can be consistenty reproduced as above.
Expected behavior
A fresh install of Windows should be configurable via winget configure -f foo.winget alone, no previous steps required.
Actual behavior
Additional steps required to set up fresh Windows install via winget configure as above.
Environment
Windows Package Manager v1.12.470
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.26200.7922
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.27.470.0
Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root C:\Program Files\WinGet\Packages
Portable Package Root (x86) C:\Program Files (x86)\WinGet\Packages
Installer Downloads %USERPROFILE%\Downloads
Configuration Modules %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules
Links
---------------------------------------------------------------------------
Privacy Statement https://aka.ms/winget-privacy
License Agreement https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
Admin Setting State
--------------------------------------------------
LocalManifestFiles Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride Disabled
ProxyCommandLineOptions Disabled
DefaultProxy DisabledReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Command-ConfigureIssue related to WinGet ConfigurationIssue related to WinGet ConfigurationIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.