How to reset Windows Spotlight feature in Windows 10

The Windows Spotlight feature on Windows 10 is the main reason why you see the mesmerizing images on your Windows 10 lock screen. This feature beings in new images of your interest to your lock screen to make it more beautiful. But sometimes, you may find that Windows Spotlight is not working properly due to various reasons. If you face such issues, you can reset the Windows Spotlight feature. It can be done by running a bunch of scripts using Windows PowerShell – but creating a .BAT file to run batch commands can make it work almost effortlessly.

Reset Windows Spotlight

Reset Windows Spotlight in Windows 10

First, you need to make that Microsoft Edge and the Windows 10 Settings Apps are allowed to run in the background.

Open the Windows 10 Settings App and navigate to  Privacy > Background apps.

From the list populated in the right-side panel, toggle Microsoft Edge and Settings switches to On.

Next, open Personalization > Lock screen and for the drop-down of Background, select either Picture or Slideshow.

Now, open Notepad, and copy and paste the following text-

:: Reset Windows Spotlight
DEL /F /S /Q /A "%USERPROFILE%/AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets"
DEL /F /S /Q /A "%USERPROFILE%/AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\Settings"

:: Re-register Windows Spotlight
PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage *ContentDeliveryManager*).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"

Save the file with a .BAT extension.

To reset Windows Spotlight, run the batch file and let the commands to be executed.

Reboot your computer to find your Windows Spotlight feature reset.

Once this has been successfully done, remember to reverse the changes –  ie. Settings > Privacy > Background apps and toggle the switches to Off.

These commands can be run standalone using the Windows PowerShell command-line – but making use of batch files wherever possible is the best choice.

Posted by on , in Category Windows with Tags
Ayush has been a Windows enthusiast since the day he got his first PC with Windows 98SE. He is an active Windows Insider since Day 1 and is now a Windows Insider MVP. He has been testing pre-release services on his Windows 10 PC, Lumia, and Android devices.