Reset Windows Spotlight Windows 11 Fix [ COMPLETE | 2024 ]

REM Re-enable Spotlight reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v RotatingLockScreenEnabled /t REG_DWORD /d 1 /f >nul 2>&1

REM Clear Spotlight cache echo Clearing cache files... del /q "%LOCALAPPDATA%\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets*" >nul 2>&1 del /q "%LOCALAPPDATA%\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\Settings*" >nul 2>&1 del /q "%USERPROFILE%\AppData\Local\Microsoft\Windows\Spotlight*" >nul 2>&1 reset windows spotlight windows 11

foreach ($dir in $directories) if (Test-Path $dir) Remove-Item "$dir*" -Recurse -Force -ErrorAction SilentlyContinue Write-Log " Cleared: $dir" -Color Gray else Out-Null LicenseManager -Force -ErrorAction SilentlyContinue 1.

Write-Log "=== Reset Complete! ===" -Color Green Write-Log "Next steps:" -Color Cyan Write-Log "1. Restart your computer (recommended)" -Color White Write-Log "2. Go to: Settings > Personalization > Lock screen" -Color White Write-Log "3. Set 'Personalize your lock screen' to 'Windows Spotlight'" -Color White Write-Log "" Write-Log "Backup saved at: $backupFile (if not skipped)" -Color Gray reset windows spotlight windows 11

; Re-enable Spotlight [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager] "RotatingLockScreenEnabled"=dword:00000001 "RotatingLockScreenOverlayEnabled"=dword:00000001 "SubscribedContent-338388Enabled"=dword:00000001 "SubscribedContent-353698Enabled"=dword:00000001

function Write-Log param([string]$Message, [string]$Color = "White") Write-Host "[$(Get-Date -Format 'HH:mm:ss')] $Message" -ForegroundColor $Color

# Reset Windows Spotlight on Windows 11 # Run as Administrator Write-Host "Resetting Windows Spotlight..." -ForegroundColor Cyan Stop-Service -Name WpnService, LicenseManager -Force -ErrorAction SilentlyContinue 1. Clear Spotlight cache files $spotlightPaths = @( "$env:LOCALAPPDATA\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets", "$env:LOCALAPPDATA\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\Settings", "$env:USERPROFILE\AppData\Local\Microsoft\Windows\Spotlight" )