Skip to content

PowerToys failed to install under Windows11 on Arm64 #50

@mcuee

Description

@mcuee
PS C:\work\windows\WindowsDeveloperConfig> winget configure -f .\windows-dev-config\dev-config.winget --accept-configuration-agreements --disable-interactivity
...
...
Microsoft.WinGet/Package [PowerToys]
  The configuration unit failed while attempting to apply the desired state.
2026-06-03T00:00:10.450083Z ERROR Failed to run process 'winget': Command: Resource 'winget' [exit code -1978335226] [CLI ] ShellExecute installer failed: 2180251649
[CLI ] Terminating context: 0x8a150006 at C:\__w\1\s\external\pkg\src\AppInstallerCLICore\Workflows\InstallFlow.cpp:22d…
<See the log file for additional details>
...
...
Microsoft.Windows/Registry [PowerToysAOT]
  This configuration unit was not run because a dependency failed or was not run.
Some of the configuration was not applied successfully.

More details.

Full run log under Windows 11 ARM64 25H2 (26200.8457)
PS C:\work\windows> git clone https://github.com/microsoft/WindowsDeveloperConfig.git
Cloning into 'WindowsDeveloperConfig'...
remote: Enumerating objects: 859, done.
remote: Counting objects: 100% (88/88), done.
remote: Compressing objects: 100% (31/31), done.
remote: Total 859 (delta 64), reused 57 (delta 57), pack-reused 771 (from 2)
Receiving objects: 100% (859/859), 587.70 KiB | 19.59 MiB/s, done.
Resolving deltas: 100% (410/410), done.
PS C:\work\windows> cd .\WindowsDeveloperConfig\
PS C:\work\windows\WindowsDeveloperConfig> winget configure -f .\windows-dev-config\dev-config.winget --accept-configuration-agreements --disable-interactivity
Desired State Configuration package not found on the system. Installing the package...
Starting package install...
  ██████████████████████████████  100%
Successfully installed
Microsoft.WinGet/Package [Terminal]
  Allows management of package state via the DSC v3 command line interface protocol. See the help link for details.
  Install Windows Terminal
  Settings:
    id: Microsoft.WindowsTerminal
    source: winget
    useLatest: true
Microsoft.WinGet/Package [PowerShell]
  Allows management of package state via the DSC v3 command line interface protocol. See the help link for details.
  Install PowerShell 7
  Settings:
    id: Microsoft.PowerShell
    source: winget
    useLatest: true
Microsoft.DSC.Transitional/PowerShellScript [darkTheme]
  Enable running PowerShell 7 scripts inline
  Sets dark theme
  Dependencies: PowerShell
  Settings:
    testScript: $regPath = 'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize'
$apps   = Get-ItemPropertyValue $regPath -Name AppsUseLightTheme    -EA SilentlyContinue
$system = Get-ItemPropertyValue $regPath -Name SystemUsesLightTheme -EA SilentlyContinue
return ($apps -eq 0 -and $system -eq 0)
    getScript: $regPath = 'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize'
$apps   = Get-ItemPropertyValue $regPath -Name AppsUseLightTheme    -EA SilentlyContinue
$system = Get-ItemPropertyValue $regPath -Name SystemUsesLightTheme -EA SilentlyContinue
return @{ AppsUseLightTheme = [int]$apps; SystemUsesLightTheme = [int]$system }
    setScript: $regPath = 'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize'
Set-ItemProperty -Path $regPath -Name "AppsUseLightTheme" -Value 0
Set-ItemProperty -Path $regPath -Name "SystemUsesLightTheme" -Value 0
Microsoft.DSC.Transitional/PowerShellScript [InstallCascadiaCodeNerdFonts]
  Enable running PowerShell 7 scripts inline
  Install Cascadia Code Nerd Fonts
  Dependencies: PowerShell
  Settings:
    testScript: $fontsDir    = Join-Path $env:LOCALAPPDATA 'Microsoft\Windows\Fonts'
$wantedFonts = @('CascadiaCodeNF.ttf', 'CascadiaMonoNF.ttf')
$regPath     = 'HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts'
$regValues   = @(
    (Get-ItemProperty $regPath -EA SilentlyContinue).PSObject.Properties |…
<this value has been truncated; inspect the file contents for the complete text>
    getScript: $fontsDir    = Join-Path $env:LOCALAPPDATA 'Microsoft\Windows\Fonts'
$wantedFonts = @('CascadiaCodeNF.ttf', 'CascadiaMonoNF.ttf')
$regPath     = 'HKCU:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts'
$regValues   = @(
    (Get-ItemProperty $regPath -EA SilentlyContinue).PSObject.Properties |…
<this value has been truncated; inspect the file contents for the complete text>
    setScript: $ErrorActionPreference = 'Stop'
$Version     = '2407.24'
$WantedFonts = @('CascadiaCodeNF.ttf', 'CascadiaMonoNF.ttf')
$zipUrl      = "https://github.com/microsoft/cascadia-code/releases/download/v$Version/CascadiaCode-$Version.zip"
$workDir     = Join-Path $env:TEMP "CascadiaCode-$Version"…
<this value has been truncated; inspect the file contents for the complete text>
Microsoft.DSC.Transitional/PowerShellScript [SetCascadiaNfAsDefault]
  Enable running PowerShell 7 scripts inline
  Making Cascadia fonts default
  Dependencies: PowerShell InstallCascadiaCodeNerdFonts
  Settings:
    testScript: $fontFace     = 'Cascadia Mono NF'
$settingsPath = @(
    Get-ChildItem "$env:LOCALAPPDATA\Packages" -Filter 'Microsoft.WindowsTerminal*' -Directory -EA SilentlyContinue |
        ForEach-Object { Join-Path $_.FullName 'LocalState\settings.json' }
    "$env:LOCALAPPDATA\Microsoft\Windows Terminal\settings.json"…
<this value has been truncated; inspect the file contents for the complete text>
    getScript: $settingsPath = @(
    Get-ChildItem "$env:LOCALAPPDATA\Packages" -Filter 'Microsoft.WindowsTerminal*' -Directory -EA SilentlyContinue |
        ForEach-Object { Join-Path $_.FullName 'LocalState\settings.json' }
    "$env:LOCALAPPDATA\Microsoft\Windows Terminal\settings.json"
) | Where-Object { Test-Path $_ } | Select-Object -First 1…
<this value has been truncated; inspect the file contents for the complete text>
    setScript: $fontFace     = 'Cascadia Mono NF'
$settingsPath = @(
    Get-ChildItem "$env:LOCALAPPDATA\Packages" -Filter 'Microsoft.WindowsTerminal*' -Directory -EA SilentlyContinue |
        ForEach-Object { Join-Path $_.FullName 'LocalState\settings.json' }
    "$env:LOCALAPPDATA\Microsoft\Windows Terminal\settings.json"…
<this value has been truncated; inspect the file contents for the complete text>
Microsoft.DSC.Transitional/PowerShellScript [ps7default]
  Enable running PowerShell 7 scripts inline
  Set PowerShell 7 as the default Windows Terminal profile
  Dependencies: PowerShell
  Settings:
    testScript: $settingsPath = @(
    Get-ChildItem "$env:LOCALAPPDATA\Packages" -Filter 'Microsoft.WindowsTerminal*' -Directory -EA SilentlyContinue |
        ForEach-Object { Join-Path $_.FullName 'LocalState\settings.json' }
    "$env:LOCALAPPDATA\Microsoft\Windows Terminal\settings.json"
) | Where-Object { Test-Path $_ } | Select-Object -First 1…
<this value has been truncated; inspect the file contents for the complete text>
    getScript: $settingsPath = @(
    Get-ChildItem "$env:LOCALAPPDATA\Packages" -Filter 'Microsoft.WindowsTerminal*' -Directory -EA SilentlyContinue |
        ForEach-Object { Join-Path $_.FullName 'LocalState\settings.json' }
    "$env:LOCALAPPDATA\Microsoft\Windows Terminal\settings.json"
) | Where-Object { Test-Path $_ } | Select-Object -First 1…
<this value has been truncated; inspect the file contents for the complete text>
    setScript: $settingsPath = @(
    Get-ChildItem "$env:LOCALAPPDATA\Packages" -Filter 'Microsoft.WindowsTerminal*' -Directory -EA SilentlyContinue |
        ForEach-Object { Join-Path $_.FullName 'LocalState\settings.json' }
    "$env:LOCALAPPDATA\Microsoft\Windows Terminal\settings.json"
) | Where-Object { Test-Path $_ } | Select-Object -First 1…
<this value has been truncated; inspect the file contents for the complete text>
Microsoft.Windows/Registry🛡  [Sudo]
  Manage Windows Registry keys and values
  Enable Sudo in inline mode
  Settings:
    valueData:
      DWord: 3
    valueName: Enabled
    keyPath: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Sudo
Microsoft.Windows/Registry🛡  [DeveloperMode]
  Manage Windows Registry keys and values
  Enable Developer Mode (sideload + dev features)
  Settings:
    valueData:
      DWord: 1
    valueName: AllowDevelopmentWithoutDevLicense
    keyPath: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock
Microsoft.Windows/Registry🛡  [LongPaths]
  Manage Windows Registry keys and values
  Enable Win32 long path support
  Settings:
    valueData:
      DWord: 1
    valueName: LongPathsEnabled
    keyPath: HKLM\SYSTEM\CurrentControlSet\Control\FileSystem
Microsoft.Windows/Registry🛡  [RemoteDesktop]
  Manage Windows Registry keys and values
  Enable Remote Desktop (firewall rule still needs separate enable)
  Settings:
    valueData:
      DWord: 0
    valueName: fDenyTSConnections
    keyPath: HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server
Microsoft.Windows/Registry🛡  [ShowFileExtensions]
  Manage Windows Registry keys and values
  Show file extensions in Explorer
  Settings:
    valueData:
      DWord: 0
    valueName: HideFileExt
    keyPath: HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Microsoft.Windows/Registry🛡  [ShowHiddenFiles]
  Manage Windows Registry keys and values
  Show hidden files in Explorer
  Settings:
    valueData:
      DWord: 1
    valueName: Hidden
    keyPath: HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Microsoft.Windows/Registry🛡  [FullPathTitlebar]
  Manage Windows Registry keys and values
  Show full path in Explorer titlebar
  Settings:
    valueData:
      DWord: 1
    valueName: FullPathAddress
    keyPath: HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Microsoft.Windows/Registry🛡  [OpenThisPC]
  Manage Windows Registry keys and values
  Open File Explorer to This PC
  Settings:
    valueData:
      DWord: 1
    valueName: LaunchTo
    keyPath: HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Microsoft.Windows/Registry🛡  [FrequentFolders]
  Manage Windows Registry keys and values
  Disable frequent folders in Quick Access
  Settings:
    valueData:
      DWord: 0
    valueName: ShowFrequent
    keyPath: HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Microsoft.Windows/Registry🛡  [FrequentFiles]
  Manage Windows Registry keys and values
  Disable frequent files in Quick Access
  Settings:
    valueData:
      DWord: 0
    valueName: ShowRecent
    keyPath: HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
Microsoft.Windows/Registry🛡  [RecommendedFiles]
  Manage Windows Registry keys and values
  Disable recommended/cloud files in Quick Access
  Settings:
    valueData:
      DWord: 0
    valueName: ShowCloudFilesInQuickAccess
    keyPath: HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
Microsoft.Windows/Registry🛡  [GitCodeFolders]
  Manage Windows Registry keys and values
  Enable Git integration in File Explorer
  Settings:
    valueData:
      DWord: 1
    valueName: NavPaneShowVersionControl
    keyPath: HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Microsoft.Windows/Registry🛡  [TipsOff]
  Manage Windows Registry keys and values
  Disable sync provider notifications (tips)
  Settings:
    valueData:
      DWord: 0
    valueName: ShowSyncProviderNotifications
    keyPath: HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Microsoft.Windows/Registry🛡  [DoNotDisturb]
  Manage Windows Registry keys and values
  Enable Do Not Disturb (disable all notifications)
  Settings:
    valueData:
      DWord: 0
    valueName: NOC_GLOBAL_SETTING_TOASTS_ENABLED
    keyPath: HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings
Microsoft.Windows/Registry🛡  [TaskbarHideWidgets]
  Manage Windows Registry keys and values
  Hide Widgets button on the taskbar
  Settings:
    valueData:
      DWord: 0
    valueName: TaskbarDa
    keyPath: HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Microsoft.Windows/Registry🛡  [BluetoothOff]
  Manage Windows Registry keys and values
  Hide Bluetooth icon in taskbar notification area
  Settings:
    valueData:
      DWord: 0
    valueName: Notification Area Icon
    keyPath: HKCU\Control Panel\Bluetooth
Microsoft.Windows/Registry🛡  [EndTask]
  Manage Windows Registry keys and values
  Enable "End Task" on right-click of taskbar icons
  Settings:
    valueData:
      DWord: 1
    valueName: TaskbarEndTask
    keyPath: HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Microsoft.Windows/Registry🛡  [WebSearchOff]
  Manage Windows Registry keys and values
  Disable web search in Start/Search
  Settings:
    valueData:
      DWord: 1
    valueName: DisableSearchBoxSuggestions
    keyPath: HKCU\SOFTWARE\Policies\Microsoft\Windows\Explorer
Microsoft.Windows/Registry🛡  [SearchHightlightOff]
  Manage Windows Registry keys and values
  Disable Show search highlights
  Settings:
    valueData:
      DWord: 0
    valueName: IsDynamicSearchBoxEnabled
    keyPath: HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\SearchSettings
Microsoft.Windows/Registry🛡  [StartRecommendations]
  Manage Windows Registry keys and values
  Disable Start menu recommendations
  Settings:
    valueData:
      DWord: 0
    valueName: Start_IrisRecommendations
    keyPath: HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Microsoft.Windows/Registry🛡  [WidgetServiceOff]
  Manage Windows Registry keys and values
  Disable Widget service
  Settings:
    valueData:
      DWord: 0
    valueName: AllowNewsAndInterests
    keyPath: HKLM\SOFTWARE\Policies\Microsoft\Dsh
Microsoft.Windows/Registry🛡  [EdgeNewTab]
  Manage Windows Registry keys and values
  Set Edge new tab to blank
  Settings:
    valueData:
      String: about:blank
    valueName: NewTabPageLocation
    keyPath: HKLM\SOFTWARE\Policies\Microsoft\Edge
Microsoft.Windows/Registry🛡  [EdgeOOBE]
  Manage Windows Registry keys and values
  Disable Edge first-run experience
  Settings:
    valueData:
      DWord: 1
    valueName: HideFirstRunExperience
    keyPath: HKLM\SOFTWARE\Policies\Microsoft\Edge
Microsoft.WinGet/Package🛡  [Git]
  Allows management of package state via the DSC v3 command line interface protocol. See the help link for details.
  Install Git
  Settings:
    id: Git.Git
    source: winget
    useLatest: true
Microsoft.WinGet/Package🛡  [GitHubCLI]
  Allows management of package state via the DSC v3 command line interface protocol. See the help link for details.
  Install GitHub CLI
  Dependencies: Git
  Settings:
    id: GitHub.Cli
    source: winget
    useLatest: true
Microsoft.WinGet/Package [GitHubCopilot]
  Allows management of package state via the DSC v3 command line interface protocol. See the help link for details.
  Install GitHub Copilot
  Dependencies: Git
  Settings:
    id: GitHub.Copilot
    source: winget
    useLatest: true
Microsoft.WinGet/Package [VSCode]
  Allows management of package state via the DSC v3 command line interface protocol. See the help link for details.
  Install VS Code
  Settings:
    id: Microsoft.VisualStudioCode
    source: winget
    useLatest: true
Microsoft.WinGet/Package🛡  [DotnetSdk]
  Allows management of package state via the DSC v3 command line interface protocol. See the help link for details.
  Install dotnet SDK
  Settings:
    id: Microsoft.dotnet.SDK.10
    source: winget
    useLatest: true
Microsoft.WinGet/Package [Python]
  Allows management of package state via the DSC v3 command line interface protocol. See the help link for details.
  Install Python 3.13
  Settings:
    id: Python.Python.3.13
    source: winget
    useLatest: true
Microsoft.WinGet/Package🛡  [UV]
  Allows management of package state via the DSC v3 command line interface protocol. See the help link for details.
  Install UV (Python tool)
  Settings:
    id: astral-sh.uv
    source: winget
    useLatest: true
Microsoft.WinGet/Package🛡  [NodeJS]
  Allows management of package state via the DSC v3 command line interface protocol. See the help link for details.
  Install Node.js 24 LTS
  Settings:
    id: OpenJS.NodeJS.LTS
    source: winget
    useLatest: true
Microsoft.WinGet/Package🛡  [nvmForNode]
  Allows management of package state via the DSC v3 command line interface protocol. See the help link for details.
  Install NVM
  Settings:
    id: CoreyButler.NVMforWindows
    source: winget
    useLatest: true
Microsoft.WinGet/Package [OhMyPosh]
  Allows management of package state via the DSC v3 command line interface protocol. See the help link for details.
  Install Oh My Posh (Optional)
  Settings:
    id: JanDeDobbeleer.OhMyPosh
    source: winget
    useLatest: true
Microsoft.WinGet/Package [winappCli]
  Allows management of package state via the DSC v3 command line interface protocol. See the help link for details.
  Install winAppCLI
  Settings:
    id: Microsoft.winappcli
    source: winget
    useLatest: true
Microsoft.WinGet/Package [PowerToys]
  Allows management of package state via the DSC v3 command line interface protocol. See the help link for details.
  Install PowerToys (Optional)
  Settings:
    id: Microsoft.PowerToys
    source: winget
    useLatest: true
Microsoft.Windows/Registry [PowerToysAOT]
  Manage Windows Registry keys and values
  Disable PowerToys AOT notifications
  Dependencies: PowerToys
  Settings:
    valueData:
      DWord: 0
    valueName: Enabled
    keyPath: HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\PowerToys
OhMyPosh/Shell [ohMyPoshProfileSet]
  Setup OhMyPosh in PowerShell 7
  Dependencies: OhMyPosh
  Settings:
    states:
      - command: oh-my-posh init pwsh
        name: pwsh
Microsoft.DSC.Transitional/PowerShellScript [GitHubCopilotProfile]
  Enable running PowerShell 7 scripts inline
  Create Github Copilot Profile
  Dependencies: PowerShell GitHubCopilot Terminal
  Settings:
    testScript: $fragmentPath = Join-Path $env:LOCALAPPDATA 'Microsoft\Windows Terminal\Fragments\DevConfig\github-copilot.fragment.json'
return (Test-Path $fragmentPath)
    getScript: $fragmentPath = Join-Path $env:LOCALAPPDATA 'Microsoft\Windows Terminal\Fragments\DevConfig\github-copilot.fragment.json'
return @{ fragmentPresent = (Test-Path $fragmentPath) }
    setScript: $fragmentsDir = Join-Path $env:LOCALAPPDATA 'Microsoft\Windows Terminal\Fragments\DevConfig'
New-Item -ItemType Directory -Path $fragmentsDir -Force | Out-Null
# Download icon alongside the fragment file so the relative path "copilot.png" resolves correctly.
$iconPath = Join-Path $fragmentsDir 'copilot.png'
Invoke-WebRequest -Uri 'https://github.githubassets.com/favicons/favicon-dark.png' -OutFile $iconPath -UseBasicParsing…
<this value has been truncated; inspect the file contents for the complete text>
Microsoft.DSC.Transitional/PowerShellScript [InstallWinUITemplates]
  Enable running PowerShell 7 scripts inline
  Install WinUI dotnet new templates
  Dependencies: PowerShell DotnetSdk
  Settings:
    testScript: return [bool](dotnet new list 2>&1 | Select-String -Pattern 'winui' -CaseSensitive:$false)
    getScript: $installed = [bool](dotnet new list 2>&1 | Select-String -Pattern 'winui' -CaseSensitive:$false)
return @{ installed = $installed }
    setScript: dotnet new install Microsoft.WindowsAppSDK.WinUI.CSharp.Templates
Microsoft.DSC.Transitional/PowerShellScript [AddWinSkillsMarketplace]
  Enable running PowerShell 7 scripts inline
  Add win-dev-skills to the Copilot plugin marketplace
  Dependencies: PowerShell GitHubCopilot
  Settings:
    testScript: return [bool](copilot plugin marketplace list 2>&1 | Select-String 'win-dev-skills')
    getScript: $present = [bool](copilot plugin marketplace list 2>&1 | Select-String 'win-dev-skills')
return @{ present = $present }
    setScript: copilot plugin marketplace add microsoft/win-dev-skills
Microsoft.DSC.Transitional/PowerShellScript [InstallWinUIPlugin]
  Enable running PowerShell 7 scripts inline
  Install the WinUI Copilot plugin from win-dev-skills
  Dependencies: PowerShell AddWinSkillsMarketplace
  Settings:
    testScript: return [bool](copilot plugin list 2>&1 | Select-String 'winui')
    getScript: $installed = [bool](copilot plugin list 2>&1 | Select-String 'winui')
return @{ installed = $installed }
    setScript: copilot plugin install winui@win-dev-skills
Microsoft.DSC.Transitional/WindowsPowerShellScript🛡  [InstallWslComponents]
  Enable running Windows PowerShell 5.1 scripts inline
  Settings:
    testScript: # If vmcompute is present, VMP is active — components already installed.
$svc = Get-CimInstance -ClassName Win32_Service -Filter "Name='vmcompute'"
return [bool]$svc
    getScript: $svc = Get-CimInstance -ClassName Win32_Service -Filter "Name='vmcompute'"
return @{ vmcomputePresent = [bool]$svc }
    setScript: Write-Host "InstallWslComponents: running wsl --install --no-distribution..."
$process = Start-Process -FilePath "cmd.exe" -ArgumentList "/c wsl --install --no-distribution >nul 2>&1" -Wait -PassThru
if ($process.ExitCode -eq 3010 -or $process.ExitCode -eq 1641) {
  Write-Host "WSL installed successfully, but a system reboot is required."
elseif ($process.ExitCode -ne 0) {…
<this value has been truncated; inspect the file contents for the complete text>
Microsoft.DSC.Transitional/WindowsPowerShellScript🛡  [RebootForVmp]
  Enable running Windows PowerShell 5.1 scripts inline
  Dependencies: InstallWslComponents
  Settings:
    testScript: # vmcompute (Hyper-V Host Compute Service) is registered once Virtual
# Machine Platform is active post-reboot. Presence alone is sufficient
# — no need to check if it is running.
$svc = Get-CimInstance -ClassName Win32_Service -Filter "Name='vmcompute'"
return [bool]$svc
    getScript: # Get-CimInstance returns $null without error when the service doesn't
# exist (unlike Get-Service, which sets HadErrors at the hosting layer
# even with -ErrorAction Ignore or try/catch).
$svc = Get-CimInstance -ClassName Win32_Service -Filter "Name='vmcompute'"
return @{ vmcomputePresent = [bool]$svc }
    setScript: # ${WinGetConfigRoot} is set by winget configure to the directory
# containing the config file being applied.
$configFile = "${WinGetConfigRoot}\dev-config.winget"
$resumeCmd  = "winget configure --file `"$configFile`" --accept-configuration-agreements"
# RunOnce entries are deleted by Windows automatically before they…
<this value has been truncated; inspect the file contents for the complete text>
Microsoft.DSC.Transitional/WindowsPowerShellScript🛡  [InstallUbuntu]
  Enable running Windows PowerShell 5.1 scripts inline
  Dependencies: RebootForVmp
  Settings:
    testScript: # Skip if any distro is already registered.
$distros = Get-ChildItem 'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss' -ErrorAction Ignore
return [bool]$distros
    getScript: # WSL tracks installed distros as subkeys under Lxss.
$distros = Get-ChildItem 'HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss' -ErrorAction Ignore
return @{ distroCount = ($distros | Measure-Object).Count }
    setScript: Write-Host "InstallUbuntu: running wsl --install -d Ubuntu --no-launch..."
$process = Start-Process -FilePath "cmd.exe" -ArgumentList "/c wsl --install -d Ubuntu --no-launch >nul 2>&1" -Wait -PassThru
if ($process.ExitCode -ne 0) {
  throw "InstallUbuntu: wsl --install -d Ubuntu --no-launch failed with exit code $($process.ExitCode)"
Some of the data present in the configuration file was truncated for this output; inspect the file contents for the complete content.
You are responsible for understanding the configuration settings you are choosing to execute. Microsoft is not responsible for the configuration file you have authored or imported. This configuration may change settings in Windows, install software, change software settings (including security settings), and accept user agreements to third-party packages and services on your behalf.  By running this configuration file, you acknowledge that you understand and agree to these resources and settings. Any applications installed are licensed to you by their owners. Microsoft is not responsible for, nor does it grant any licenses to, third-party packages or services.
Microsoft.WinGet/Package [Terminal]
  Unit successfully applied.
Microsoft.WinGet/Package [PowerShell]
  Unit successfully applied.
Microsoft.DSC.Transitional/PowerShellScript [darkTheme]
  Unit successfully applied.
Microsoft.DSC.Transitional/PowerShellScript [InstallCascadiaCodeNerdFonts]
  Unit successfully applied.
Microsoft.DSC.Transitional/PowerShellScript [SetCascadiaNfAsDefault]
  Unit successfully applied.
Microsoft.DSC.Transitional/PowerShellScript [ps7default]
  Unit successfully applied.
Microsoft.Windows/Registry🛡  [Sudo]
  Unit successfully applied.
Microsoft.Windows/Registry🛡  [DeveloperMode]
  Unit successfully applied.
Microsoft.Windows/Registry🛡  [LongPaths]
  Unit successfully applied.
Microsoft.Windows/Registry🛡  [RemoteDesktop]
  Unit successfully applied.
Microsoft.Windows/Registry🛡  [ShowFileExtensions]
  Unit successfully applied.
Microsoft.Windows/Registry🛡  [ShowHiddenFiles]
  Unit successfully applied.
Microsoft.Windows/Registry🛡  [FullPathTitlebar]
  Unit successfully applied.
Microsoft.Windows/Registry🛡  [OpenThisPC]
  Unit successfully applied.
Microsoft.Windows/Registry🛡  [FrequentFolders]
  Unit successfully applied.
Microsoft.Windows/Registry🛡  [FrequentFiles]
  Unit successfully applied.
Microsoft.Windows/Registry🛡  [RecommendedFiles]
  Unit successfully applied.
Microsoft.Windows/Registry🛡  [GitCodeFolders]
  Unit successfully applied.
Microsoft.Windows/Registry🛡  [TipsOff]
  Unit successfully applied.
Microsoft.Windows/Registry🛡  [DoNotDisturb]
  Unit successfully applied.
Microsoft.Windows/Registry🛡  [TaskbarHideWidgets]
  Unit successfully applied.
Microsoft.Windows/Registry🛡  [BluetoothOff]
  Unit successfully applied.
Microsoft.Windows/Registry🛡  [EndTask]
  Unit successfully applied.
Microsoft.Windows/Registry🛡  [WebSearchOff]
  Unit successfully applied.
Microsoft.Windows/Registry🛡  [SearchHightlightOff]
  Unit successfully applied.
Microsoft.Windows/Registry🛡  [StartRecommendations]
  Unit successfully applied.
Microsoft.Windows/Registry🛡  [WidgetServiceOff]
  Unit successfully applied.
Microsoft.Windows/Registry🛡  [EdgeNewTab]
  Unit successfully applied.
Microsoft.Windows/Registry🛡  [EdgeOOBE]
  Unit successfully applied.
Microsoft.WinGet/Package🛡  [Git]
  Unit successfully applied.
Microsoft.WinGet/Package🛡  [GitHubCLI]
  Unit successfully applied.
Microsoft.WinGet/Package [GitHubCopilot]
  Unit successfully applied.
Microsoft.WinGet/Package [VSCode]
  Unit successfully applied.
Microsoft.WinGet/Package🛡  [DotnetSdk]
  Unit successfully applied.
Microsoft.WinGet/Package [Python]
  Unit successfully applied.
Microsoft.WinGet/Package🛡  [UV]
  Unit successfully applied.
Microsoft.WinGet/Package🛡  [NodeJS]
  Unit successfully applied.
Microsoft.WinGet/Package🛡  [nvmForNode]
  Unit successfully applied.
Microsoft.WinGet/Package [OhMyPosh]
  Unit successfully applied.
Microsoft.WinGet/Package [winappCli]
  Unit successfully applied.
Microsoft.WinGet/Package [PowerToys]
  The configuration unit failed while attempting to apply the desired state.
2026-06-03T00:00:10.450083Z ERROR Failed to run process 'winget': Command: Resource 'winget' [exit code -1978335226] [CLI ] ShellExecute installer failed: 2180251649
[CLI ] Terminating context: 0x8a150006 at C:\__w\1\s\external\pkg\src\AppInstallerCLICore\Workflows\InstallFlow.cpp:22d…
<See the log file for additional details>
OhMyPosh/Shell [ohMyPoshProfileSet]
  Unit successfully applied.
Microsoft.DSC.Transitional/PowerShellScript [GitHubCopilotProfile]
  Unit successfully applied.
Microsoft.DSC.Transitional/PowerShellScript [InstallWinUITemplates]
  Unit successfully applied.
Microsoft.DSC.Transitional/PowerShellScript [AddWinSkillsMarketplace]
  Unit successfully applied.
Microsoft.DSC.Transitional/PowerShellScript [InstallWinUIPlugin]
  Unit successfully applied.
Microsoft.DSC.Transitional/WindowsPowerShellScript🛡  [InstallWslComponents]
  Unit successfully applied.
Microsoft.DSC.Transitional/WindowsPowerShellScript🛡  [RebootForVmp]
  Unit successfully applied.
Microsoft.DSC.Transitional/WindowsPowerShellScript🛡  [InstallUbuntu]
  Unit successfully applied.
Microsoft.Windows/Registry [PowerToysAOT]
  This configuration unit was not run because a dependency failed or was not run.
Some of the configuration was not applied successfully.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions