Reset Windows Spotlight Windows 11 -

param( [switch]$Force, [switch]$SkipBackup )

Read-Host "`nPress Enter to exit" Save as ResetSpotlight.reg :

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

Save as Reset-WindowsSpotlight.ps1 :

Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Lock Screen" ` -Name "RotatingLockScreenEnabled" -Value 1 -Type DWord -Force Write-Log "Clearing Spotlight event logs..." -Color Yellow wevtutil cl "Microsoft-Windows-ContentDeliveryManager/Operational" 2>$null 7. Reset Windows Store cache (optional) if ($Force) Write-Log "Resetting Windows Store cache..." -Color Yellow Start-Process -FilePath "wsreset.exe" -Wait -NoNewWindow 8. Restart services Write-Log "Restarting Windows services..." -Color Yellow Start-Service -Name "WpnService", "LicenseManager", "wlidsvc" -ErrorAction SilentlyContinue 9. Restart Explorer Write-Log "Restarting Windows Explorer..." -Color Yellow Stop-Process -Name "explorer" -Force -ErrorAction SilentlyContinue Start-Sleep -Seconds 2 10. Final cleanup Write-Log "Cleaning thumbnail cache..." -Color Yellow Remove-Item "$env:LOCALAPPDATA\Microsoft\Windows\Explorer\thumbcache_*.db" -Force -ErrorAction SilentlyContinue Restart Explorer Write-Log "Restarting Windows Explorer

Read-Host "`nPress Enter to exit"

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

Write-Log "Resetting registry entries..." -Color Yellow $registryPaths = @ "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" = @( "RotatingLockScreenEnabled", "RotatingLockScreenOverlayEnabled", "SubscribedContent-*", "RotatingLockScreenSpotlightOverrideEnabled" ) "HKCU:\Software\Microsoft\Windows\CurrentVersion\Lock Screen" = @( "RotatingLockScreenEnabled" ) "HKCU:\Software\Microsoft\Windows\CurrentVersion\CloudStore" = @( "DefaultAccount\Windows\CurrentVersion\CloudStore\DefaultStore\Cache*.cache" )

Image Generator Models
© 2025 88stacks
Privacy Policy | Terms of Service