从其他平台获取的大佬的解决方案,分享给大家
【第 1 步】打开管理员 PowerShell
- 按 Win 键,直接输入 powershell
- 在结果上右键 → “以管理员身份运行”
- 蓝色窗口里,复制下面整段命令粘贴,按回车:
$srch = "HKCU:\Software\Microsoft\Windows\CurrentVersion\Search"
"BingSearchEnabled","CortanaConsent","IsDynamicSearchBoxEnabled","IsSearchStagingEnabled" | ForEach-Object {
New-ItemProperty -Path $srch -Name $_ -Value 0 -PropertyType DWord -Force | Out-Null
}
New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Feeds" `
-Name "IsFeedsAvailable" -Value 0 -PropertyType DWord -Force | Out-Null
Get-Process SearchApp,StartMenuExperienceHost,ShellExperienceHost,RuntimeBroker -ErrorAction SilentlyContinue | Stop-Process -Force
Start-Sleep 2
Start-Process explorer.exe
【第 2 步】测试
按 Win + S,弹窗应恢复深色背景 + 白字,完成!
【第 3 步】(可选)防止复发
New-Item -Path "HKCU:\Software\Policies\Microsoft\Windows\Explorer" -Force | Out-Null
New-ItemProperty `
-Path "HKCU:\Software\Policies\Microsoft\Windows\Explorer" `
-Name "AllowSearchHighlights" `
-Value 0 `
-PropertyType DWord `
-Force | Out-Null