Windows Dev Config: Disable Widget service errors on fresh Windows 11 PC
Mantenedores costumam responder em até 8 dias
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 58/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- powershell
- Domínio
- operating-systems, tooling
Direção de pesquisa
Start by reproducing the report on Windows 11 25H2 and inspect _registry.ps1 at line 43, then trace the phase 5 widget-service step. Review the phase 2 package checks and winget install handling using the reported Microsoft.WindowsTerminal failure. Done means a fresh setup no longer aborts at the widget step and package checks do not repeatedly fail with the reported error.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
winver: Version 25H2 (OS Build 26200.9550)
I have freshly built a new Windows 11 PC, installed updates etc, then tried to run:
$url = 'https://raw.githubusercontent.com/microsoft/WindowsDeveloperConfig/main/src/windows-dev-config/bootstrap.ps1'
& ([scriptblock]::Create((irm $url))) -AllowUnsigned
This first 4 phases work as expected. During phase 5 it aborts on Disable Widget service.
Phase 5/11 -- Taskbar, search & start tweaks
Checking what's already set up...
✓ DoNotDisturb already OK
✓ BluetoothOff already OK
✓ EndTask already OK
✓ WebSearchOff already OK
✓ SearchHighlightOff already OK
✓ StartRecommendations already OK
-> Disable Widget service...
Calm OS setup stopped early.
Attempted to perform an unauthorized operation.
(_registry.ps1 line 43)
Nothing already applied was undone -- running this again picks up where it left off.
Full log: C:\ProgramData\CalmOS\devconfig-log.txt
Press any key to close this window... (closes on its own in 15 minutes if you step away)
I rerun the same command and then get errors in phase 2, this is repeated for all packages, showing only Microsoft.WindowsTerminal as an example.
Phase 2/11 -- Packages
Checking what's already set up...
? Terminal: couldn't tell whether this was already done (Failed to create instance: -2147023174); doing it anyway.
? PowerShell: couldn't tell whether this was already done (Failed to create instance: -2147023174); doing it anyway.
? Git: couldn't tell whether this was already done (Failed to create instance: -2147023174); doing it anyway.
? GitHubCLI: couldn't tell whether this was already done (Failed to create instance: -2147023174); doing it anyway.
? GitHubCopilot: couldn't tell whether this was already done (Failed to create instance: -2147023174); doing it anyway.
? VSCode: couldn't tell whether this was already done (Failed to create instance: -2147023174); doing it anyway.
? DotnetSdk: couldn't tell whether this was already done (Failed to create instance: -2147023174); doing it anyway.
? Python: couldn't tell whether this was already done (Failed to create instance: -2147023174); doing it anyway.
? UV: couldn't tell whether this was already done (Failed to create instance: -2147023174); doing it anyway.
? NodeJS: couldn't tell whether this was already done (Failed to create instance: -2147023174); doing it anyway.
? nvmForNode: couldn't tell whether this was already done (Failed to create instance: -2147023174); doing it anyway.
? Coreutils: couldn't tell whether this was already done (Failed to create instance: -2147023174); doing it anyway.
? OhMyPosh: couldn't tell whether this was already done (Failed to create instance: -2147023174); doing it anyway.
? winappCli: couldn't tell whether this was already done (Failed to create instance: -2147023174); doing it anyway.
? PowerToys: couldn't tell whether this was already done (Failed to create instance: -2147023174); doing it anyway.
-> winget install Microsoft.WindowsTerminal...
... winget install Microsoft.WindowsTerminal didn't take on attempt 1 (Failed to create instance: -2147023174). Trying again in 5s.
... winget install Microsoft.WindowsTerminal didn't take on attempt 2 (Failed to create instance: -2147023174). Trying again in 10s.
! Terminal flagged
Failed to create instance: -2147023174 (best-effort step, continuing)
I cannot share the original C:\ProgramData\CalmOS\devconfig-log.txt as a rerun overwrites the log file. Log header below.
**********************
PowerShell transcript start
Start time: 20260924094436
Username: DESKTOP-name\username
RunAs User: DESKTOP-name\username
Configuration Name:
Machine: DESKTOP-ADG7CG0 (Microsoft Windows NT 10.0.26200.0)
Host Application: C:\Program Files\WindowsApps\Microsoft.PowerShell_7.6.6.0_x64__8wekyb3d8bbwe\pwsh.dll -NoProfile -File C:\ProgramData\CalmOS\dev-config.ps1 -NoElevate -AllowUnsigned
Process ID: 21088
PSVersion: 7.6.6
PSEdition: Core
GitCommitId: 7.6.6
OS: Microsoft Windows 10.0.26200
Platform: Win32NT
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1, 6.0, 7.0
PSRemotingProtocolVersion: 2.4
SerializationVersion: 1.1.0.1
WSManStackVersion: 3.0
**********************
Calm OS setup -- 11 phases, one reboot along the way (expected, not an error)
- Linguagem predominante
- PowerShell
- Estrelas
- 2.2k
- Forks
- 168
- Merge médio
- 7h 16min
- PRs com merge (30d)
- 11
Preparar o ambiente
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de microsoft/WindowsDeveloperConfig
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
microsoft/WindowsDeveloperConfig#100 · 1 comentário ·
Mantenedores costumam responder em até 8 dias
-
Question about shimsAberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
microsoft/WindowsDeveloperConfig#97 ·
Mantenedores costumam responder em até 8 dias
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 35/100
microsoft/WindowsDeveloperConfig#96 ·
Mantenedores costumam responder em até 8 dias
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 45/100
microsoft/WindowsDeveloperConfig#84 · 1 comentário ·
Mantenedores costumam responder em até 8 dias
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 42/100
microsoft/WindowsDeveloperConfig#57 · 3 comentários ·
Mantenedores costumam responder em até 8 dias
Todas as issues de microsoft/WindowsDeveloperConfig
Issues semelhantes
-
limine: new version 12.9.1Abertaout-of-date
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 82/100
CachyOS/CachyOS-PKGBUILDS#1917 ·
Mantenedores costumam responder em até 1 dia
-
package-update
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
johnsonjh/emu2-cpm86#68 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Issue-Bug Needs-Triage OS-Linux
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
Mantenedores costumam responder em até 1 dia
-
area/install-update comp/cli comp/desktop P3 sweeper:risk-compatibility type/bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
NousResearch/hermes-agent#124492 ·
Mantenedores costumam responder em até 1 dia