kdpuvvadi / debloat-windows11

Powershell script to debloat the Windows 11 Installation with GUI.
MIT License
106 stars 14 forks source link

How to turn windows spotlight back on? #13

Open Daocuong-main opened 5 months ago

Daocuong-main commented 5 months ago

I ran your script and now I lost the windows spotlight option in the background settings. Now how do I turn it back on?

kdpuvvadi commented 5 months ago

Might be cause we are disabling CloudContent and adding few keys preventing windows from adding them in the future. If you want, you can reset it by removing entire key folder. you can check the script yourself at https://github.com/kdpuvvadi/debloat-windows11/blob/a7c1b0a4a75b8e143f4f79efb485078925521757/debloat.ps1#L782

Remove-Item -Path "HKLM:Software\Policies\Microsoft\Windows\CloudContent" -Force

please let me know, if anything else.

Daocuong-main commented 5 months ago

The windows spotlight option in the background settings came back after I tried: Remove-Item -Path "HKLM:Software\Policies\Microsoft\Windows\CloudContent" -Force

But the windows spotlight on the lockscreen is still black, so I tried: Get-AppxPackage –allusers *ContentDeliveryManager* | foreach {Add-AppxPackage “$($_.InstallLocation)\appxmanifest.xml” -DisableDevelopmentMode -register }

At this time, the spotlight window on the lockscreen returns to normal, but in the background, when right-clicking on the "Learn about this picture" icon, there is only the option to open without the option to change another image. image