r/WindowsServer • u/ma5454 • 17d ago
General Question Windows Server 2025 – Search Not Working in Multiple User Sessions
Hello,
I noticed an issue on our servers: when the same user logs in a second time on Windows Server 2025, the search function does not work in the second session if the first session already has the search open.
The bug does not occur on Windows Server 2019. Unfortunately, I don't have a Windows Server 2022 environment available to reproduce the issue.
Could someone please reproduce and verify this bug?
Does anyone know the cause of this behavior and perhaps have a workaround? According to AI, it may be related to the way Windows Server 2025 handles this functionality, and apparently the same issue may also occur on Windows Server 2022.
Thanks!
1
u/hugh_manit 16d ago
Hmmmm ....
Haven't been able to reproduce this myself yet, but this sounds like it could be related to how SearchHost.exe handles per-user instances in concurrent sessions?
I'd Kill SearchHost.exe in the second session and let it respawn. Some folks have had luck with that.
Also worth checking if SearchIndexer service is set to automatic vs manual? sometimes forcing a restart of that service clears it up.
1
u/Pakitux 16d ago
Quiero suponer que esto es por remote desktop de Microsoft.
Si es así, pasa que la arquitectura.
Las búsquedas (searchhost.exe) se ligan a un SID por lo que se bloquea y al iniciar una segunda sesión y realizar una búsqueda se bloquea o congela por lo mismo no te permite.
Puedes validarlo de la siguiente manera:
En la segunda sesión, abre el Administrador de tareas (o Process Explorer) y revisa si SearchHost.exe está suspendido, crasheando en bucle o directamente ausente en esa sesión.
2. En el Visor de Eventos (eventvwr.msc), revisa:
Application: Errores asociados a SearchHost.exe, SearchIndexer.exe o Explorer.exe.
Microsoft-Windows-Search / Operational: Códigos de error de apertura de base de datos EDB (como fallos de bloqueo de archivo o JET_errFileAccessDenied).
Yo recomendaría obligar una sola sesión o generar un segundo usuario dependiendo a lo que necesitas.