Forum Discussion

Mark Aldridge's avatar
Mark Aldridge
Brass Contributor
Jul 15, 2020

WVD Issue -Explorer Constantly Crashing and Restarting

Just wondering if anyone else has come across an issue where explorer.exe keeps crashing and restarting every few seconds when you login to WVD using the Remote Desktop client on Windows 10 2004.

You can't even sign out as by the time you open up the windows start menu explorer.exe is restarted and you loose the Windows UI.

The workaround was to restart the VM which resolved the problem for now. 

 

The error in event viewer is:
Faulting application name: explorer.exe, version: 10.0.19041.329, time stamp: 0xb584d6c9
Faulting module name: srchadmin.dll, version: 7.0.19041.1, time stamp: 0xe9485001
Exception code: 0xc0000005
Fault offset: 0x00000000000020e6
Faulting process ID: 0x654
Faulting application start time: 0x01d65a5038b36735
Faulting application path: C:\windows\explorer.exe
Faulting module path: C:\windows\System32\srchadmin.dll
Report ID: 92845fd7-74e9-4bfb-8b04-3b96443985b7
Faulting package full name:
Faulting package-relative application ID:

 

  • Mark Aldridge   Hi Mark,  I'm seeing the same issue occur every now and then. It's caused by the Windows Search service. If you restart this service the issue stops (you don't need to restart the host and you can restart the service with everyone else logged on).

     

    I've had to created a scheduled task to restart this service at logon.  Far from ideal though. I assume it's yet another bug in Win10 2004... 

     

    On top of a major bug in FSLogix (which breaks OneDrive Files on-Demand) I'm getting pretty fed up with Microsoft right now.

  • tilikumtim's avatar
    tilikumtim
    Brass Contributor

    Mark Aldridge   Hi Mark,  I'm seeing the same issue occur every now and then. It's caused by the Windows Search service. If you restart this service the issue stops (you don't need to restart the host and you can restart the service with everyone else logged on).

     

    I've had to created a scheduled task to restart this service at logon.  Far from ideal though. I assume it's yet another bug in Win10 2004... 

     

    On top of a major bug in FSLogix (which breaks OneDrive Files on-Demand) I'm getting pretty fed up with Microsoft right now.

    • Mark Aldridge's avatar
      Mark Aldridge
      Brass Contributor

      tilikumtim thanks for that information.

       

      I've created a scheduled task within group policy to restart the Windows Search Service when a event is logged based off explorer crashing. Hopefully this will fix it and I wont see this issue again.

       

      See the attached screenshots of how I have configured this for anyone else that has this problem.

      Here's the event log XML filter I used.

      <QueryList>
      <Query Id="0" Path="Application">
      <Select Path="Application">*[System[(EventID=1000)]] and *[EventData[Data[1]='explorer.exe']]</Select>
      </Query>
      </QueryList>

      • PieterWigleven's avatar
        PieterWigleven
        Icon for Microsoft rankMicrosoft

        Mark Aldridge tilikumtim 

        Thanks for taking the time to post this and share workaround. I've reached out to the Search team and asked which logs would be required to root cause this issue. Let me circle back as soon as I hear more. 

    • patrick-h's avatar
      patrick-h
      Brass Contributor

      I will add that applied this fix and it did not resolve explorer.exe constantly crashing. It turns out my fix was that I had reached my quota in Azure File Storage for FX Logix profile containers. Hope that helps others because it took way too long to figure that one out.

    • Lee_E's avatar
      Lee_E
      Brass Contributor

      tilikumtim What is the OneDrive issue you are experiencing?  We are running into the issue in this discussion but also utilise OneDrive Files On Demand and have issues with things disappearing between WVD and local machines.  Just wondered if this was the same issue?

       

      I'm applying the service restart to my environment as we were first impacted by the App Readiness bug and then this issue.  I've spent the last 3 days working on getting WVD stable again and 2 days last week so WVD is proving to be a major headache we can do without.

      • tilikumtim's avatar
        tilikumtim
        Brass Contributor

        Lee_E  The OneDrive issue was where an error would state 'OneDrive cannot connect to Windows'. The error has 2 options 'Try again' (which does nothing) and 'Download files' (which downloads everything in OneDrive). If you then go into OneDrive settings, the Files on demand option would be missing.

        I logged the issue with Microsoft and they provided me with a hotfix for FSlogix which seemed to fix the problem. It's worth noting there is also a public preview build (2009) for FSlogix, so you might want to try that (otherwise contact MS to get the hotfix).

  • UoSIT70's avatar
    UoSIT70
    Copper Contributor

    We are seeing the same issue, I initially thought it was the custom xml file we use to set the start menu tiles and task bar icons, was pleased to see this post although annoying it is a known issue, I will try the work around suggested here, anyone know if a patch to fix the issue will be released?? Mark Aldridge 

Resources