memstechtips / UnattendedWinstall

Personalized Unattended Answer Files that helps automatically debloat and customize Windows 10 & 11 during the installation process.
MIT License
3.45k stars 394 forks source link

How to get "Spotlight" to work again....? My Edited Code. #147

Open leeuniverse opened 1 month ago

leeuniverse commented 1 month ago

(p.s. yes I've followed your FAQ's and more) I've tried removing everything that "seemed" to Disable Spotlight, but I'm clearly missing something. What happens is I go into Settings/Personalization/ the "Lock Screen" section where you enable it, but I hit it, and it "won't take".... It just "reverts" to Picture.

Can someone help...? Thanks

Win10 Pro

Code attached.... autounattend.txt

BenSeventy9 commented 1 month ago

Same here with Win 11 24H2 IoT-LTSC-Like

Troubleshooting Guides not help

BenSeventy9 commented 1 month ago

This is working for me: https://answers.microsoft.com/en-us/windows/forum/all/i-am-not-able-to-select-windows-spotlight-in/9cf18b15-fc71-4b63-887e-0a22c4f48f59

`[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications]

"GlobalUserDisabled"=dword:00000000`

leeuniverse commented 1 month ago

This is working for me: https://answers.microsoft.com/en-us/windows/forum/all/i-am-not-able-to-select-windows-spotlight-in/9cf18b15-fc71-4b63-887e-0a22c4f48f59

`[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\BackgroundAccessApplications]

"GlobalUserDisabled"=dword:00000000`

Unfortunately that didn't work for me in Win10 Pro.... I already had that setting disabled... Looks like I had tried it already, or it's a Win11 setting only? So, had it set to "0" already.

I DO see it's a code "activated" by the script.... aka set to "1". But unfortunately that alone isn't fixing it for me. Wonder if in all my trying things out I disabled something wasn't supposed to, if it's working for you?

UPDATE.... Okay, for some reason Spotlight got "disabled" again, even though I had removed the settings re-enabling spotlight. I found this out by checking O&O Shutup and for some reason it was "disabled". So, removed that setting with O&O and now it's working all of of sudden....

Weird... I'm not sure what's going on? Maybe in all my toubleshooting I re-disabled it again somehow?

Welp, at least we now know to remove that "code" above from the script. Thatnks BenSeventy9

leeuniverse commented 1 month ago

Okay, so further testing and while we've been able to get the "Setting" to work again.... It appears "Spotlight" ITSELF.... STILL isn't working? It's STILL just showing the "one picture".

I think we STILL need to "enable" something to allow it to "communicate" to Microsoft in order for us to actually "Get the Spotlight Pictures"? I think the Spotlight pictures are actually "downloaded" in real time in order to give us a different picture?

BenSeventy9 commented 1 month ago

Okay, so further testing and while we've been able to get the "Setting" to work again.... It appears "Spotlight" ITSELF.... STILL isn't working? It's STILL just showing the "one picture".

I think we STILL need to "enable" something to allow it to "communicate" to Microsoft in order for us to actually "Get the Spotlight Pictures"? I think the Spotlight pictures are actually "downloaded" in real time in order to give us a different picture?

Yea I discovered the same. No idea how to fix that.

leeuniverse commented 1 month ago

Okay, so further testing and while we've been able to get the "Setting" to work again.... It appears "Spotlight" ITSELF.... STILL isn't working? It's STILL just showing the "one picture". I think we STILL need to "enable" something to allow it to "communicate" to Microsoft in order for us to actually "Get the Spotlight Pictures"? I think the Spotlight pictures are actually "downloaded" in real time in order to give us a different picture?

Yea I discovered the same. No idea how to fix that.

Ya, I don't know that we "can" fix it.... because so many "communication" things are disabled, there's likely many "interconnected dependencies" and Spotlight is using one or more of them. So, looks like we are stuck with the picture?

PantiesIsStoopid commented 4 weeks ago

The best solution I have found is to install winaero tweaked in there is a setting allowing me to enable it again.This app is also how the feature is disabled in the first place.

Here is the link to download: https://winaerotweaker.com

leeuniverse commented 4 weeks ago

The best solution I have found is to install winaero tweaked in there is a setting allowing me to enable it again.This app is also how the feature is disabled in the first place.

Here is the link to download: https://winaerotweaker.com

And what "Setting" is that....? I've just looked all through WinAero and there's nothing there related to "Spotlight", other than a "download" pics option (Find Lockscreen Images) which doesn't work because Spotlight itself isn't working.

So, what's the secret?

PantiesIsStoopid commented 4 weeks ago

It is a checkbox in:

Behaviour -Ads and unwanted apps -Spotlight and Lock Screen ads

Keep in mind you may have to enable apply, then disable apply and finally enable and apply.Hope this helps as winearo is a difficult to navigate application.

leeuniverse commented 4 weeks ago

It is a checkbox in:

Behaviour -Ads and unwanted apps -Spotlight and Lock Screen ads

Keep in mind you may have to enable apply, then disable apply and finally enable and apply.Hope this helps as winearo is a difficult to navigate application.

Okay, found it, but still won't allow "Spotlight" to work. Also, there's no "Enable/Apply" in this setting section?

I think there is "another" setting that's disabled which actually "downloads" the Spotlight images. For example, in the Winearo setting I mentioned above about "downloading" the images, it opens a "folder" with two image folders in it, and NOTHING is in those folders. So, clearly there are no spotlight images on my system. Something else is blocking the download.

PantiesIsStoopid commented 4 weeks ago

By applying I meant enable the setting then close the app then restart your computer, tell me if this works.

leeuniverse commented 4 weeks ago

By applying I meant enable the setting then close the app then restart your computer, tell me if this works.

Nah, did all that and more... No go.

memstechtips commented 1 week ago

Does running the tweaks in the new UWScript.ps1 file fix this issue?