Forum Discussion
Jgq85
Jan 19, 2021Brass Contributor
"Please wait for the Windows search" when logging off
I noticed when I log off a session host in Remote desktop/WVD, this message displays for about 10 seconds:
And then it finally logs off.
Is this a service I should disable?
The image was Windows 10 multi session host, 2004
- crshovrdCopper Contributor
Was this ever resolved? I have had a ticket opened for two weeks with Microsoft with no progress.
Was the solution to just disable both FSLogix RoamSearch and also disable Windows Search? What functionality is lost by doing that?
- GotenksCopper ContributorHas this ever been resolved? I have a client who has this exact same problem and we don't seem to be able to solve this issue, no matter what we try...
- crshovrdCopper Contributor
Gotenks YES!!
Here is what worked for me:
- login as local admin to the session host
- open indexing options
- Advanced
- File Types
- under pdf, make sure the radio button for "index properties only" is checked
Our issue started after installing Adobe and it tried to index inside the documents as well. It kept hanging and changing these indexing filter options resolved it.
- virtualmancIron Contributor
Hi Jgq85 - I will always recommend disabling Windows Search in your image unless its specifically needed. Using FSLogix helps, but there is definitely a performance impact and you will come across issues like this.
- Jgq85Brass ContributorI don't think I have a need for it honestly. I'd rather use "Everything" for searching.
We do have FSLogix. Is Windows Search required for that or something? - toby skerrittCopper Contributor
Hi Neil - I'm seeing conflicting messages about this which has confused me, there are quite a few articles relating to search in multi-user contexts - this one is very handy - https://jkindon.com/2020/03/15/windows-search-in-server-2019-and-multi-session-windows-10/
The thing is, since Win10 2004, and even with search disabled, I'm seeing loads of FSLogix errors in event viewer like the below.
Search catalog mount failed (The security ID structure is invalid.)
Do you know if these errors should be ignored, or if there is a configuration step to prevent FSLogix attempting to include them? I've looked at the RoamSearch reg entry, but believe this should be disabled by default.
Thanks for any help, one for the WVDUG perhaps!
Sorry for thread hijack!
- Scott1963Copper Contributor
Make sure you are not out of disk space.
Run this query for that WVD
// enter a GB value to checklet setgbvalue = 100;// QueryPerf| where TimeGenerated > ago(1h)| where ObjectName == "LogicalDisk" and CounterName == "Free Megabytes"| where InstanceName !contains "D:"| where InstanceName !contains "HarddiskVolume1"| where InstanceName !contains "_Total"| extend FreeSpaceGB = CounterValue/1024| summarize FreeSpace = min(FreeSpaceGB) by Computer, InstanceName| where FreeSpace < setgbvalue- Jgq85Brass ContributorDisk space looks good no issues there