WVD - almost daily TermService crashes disconnecting all users

%3CLINGO-SUB%20id%3D%22lingo-sub-2167946%22%20slang%3D%22en-US%22%3EWVD%20-%20almost%20daily%20TermService%20crashes%20disconnecting%20all%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2167946%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20team%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EA%20client%20of%20mine%20has%20a%20WVD%20environment%20compromising%20of%20a%20single%20Windows%2010%20Multisession%20host.%20This%20supports%20about%2015%20users%2C%20and%20runs%20really%20well%20for%20the%20majority%20of%20the%20time.%20The%20host%20VM%20is%20a%26nbsp%3B%3CSPAN%3EStandard%20DS13%20v2%20(8%20vcpus%2C%2056%20GiB%20memory)%2C%20in%20the%20Australia%20South-East%20region.%20FSLogix%20is%20handling%26nbsp%3Bthe%20user%20profiles.%20The%20host%20is%20up%20to%20date%20with%20all%20the%20latest%20patches%20and%20feature%20releases%2C%20has%20heaps%20of%20disk%20space%2C%20is%20not%20under%20CPU%20or%20RAM%20pressure%2C%20etc.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ELately%20the%20server%20has%20developed%20almost%20a%20daily%20instability%20whereby%20the%20TermService%20service%20will%20crash%2C%20which%20instantly%20disconnects%20all%20the%20sessions.%20The%20users%20can%20log%20back%20in%20almost%20straight%20away%20(once%20the%20TermService%20process%20recycles%20after%206000ms)%2C%20but%20that%20in%20turn%20causes%20a%20huge%20CPU%20spike%20which%20log-jams%20things%20for%20a%20while.%20Plus%20generally%20it's%20not%20a%20great%20time%20for%20the%20staff%20(or%20a%20great%20look%20for%20me%2C%20since%20I%20built%20the%20silly%20thing).%20Client%20is%20getting%20quite%20frustrated%20-%20100%25%20understandably.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EWhen%20it%20faults%2C%20this%20is%20what%20is%20caught%20by%20WER%20in%20the%26nbsp%3Bevent%20log%3A%3C%2FSPAN%3E%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3EFaulting%20application%20name%3A%20svchost.exe_TermService%2C%20version%3A%2010.0.19041.546%2C%20time%20stamp%3A%200x058e175a%0AFaulting%20module%20name%3A%20RDPSERVERBASE.dll%2C%20version%3A%2010.0.19041.844%2C%20time%20stamp%3A%200x491ad66a%0AException%20code%3A%200xc0000005%0AFault%20offset%3A%200x0000000000049a4b%0AFaulting%20process%20ID%3A%200x4e0%0AFaulting%20application%20start%20time%3A%200x01d70b5d30318f10%0AFaulting%20application%20path%3A%20C%3A%5Cwindows%5CSystem32%5Csvchost.exe%0AFaulting%20module%20path%3A%20C%3A%5Cwindows%5Csystem32%5CRDPSERVERBASE.dll%0AReport%20ID%3A%201f6a6eab-7cfd-415d-bc6c-8726cf85744b%0AFaulting%20package%20full%20name%3A%20%0AFaulting%20package-relative%20application%20ID%3A%20%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20Applications%20and%20Services%20Logs%5CMicrosoft%5CWindows%5CTerminalServices-LocalSessionManager%5COperational%5C%20logs%20I%20see%20a%20bunch%20of%20these%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3ESession%204%20has%20been%20disconnected%2C%20reason%20code%201067%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOf%20course%20I%20cannot%20find%20any%20reference%20that%20tells%20me%20what%20reason%20code%201067%20is%2C%20but%20I'm%20guessing%20it's%20because%20the%20TermService%20process%20has%20crashed.%20They%20happen%20straight%20after%20the%20first%20error%20is%20logged%2C%20and%20there's%20two%20for%20each%20user%20session%20logged%20in.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20loaded%20up%20the%20NirSoft%20AppCrashView%20app%2C%20but%20I%20can't%20see%20anything%20useful%20in%20it's%20output%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3EVersion%3D1%0AEventType%3DAPPCRASH%0AEventTime%3D132587022166067043%0AReportType%3D2%0AConsent%3D1%0AUploadTime%3D132587022454956260%0AReportStatus%3D268435456%0AReportIdentifier%3Df567748d-0e33-482a-97bb-1c00d36ae905%0AIntegratorReportIdentifier%3Deb7d197a-204e-4da6-b73c-baa5aab3859e%0AWow64Host%3D34404%0ANsAppName%3Dsvchost.exe_TermService%0AOriginalFilename%3Dsvchost.exe%0AAppSessionGuid%3D0000050c-0000-0018-cd61-c1fdab08d701%0ATargetAppId%3DW%3A0000f519feec486de87ed73cb92d3cac802400000000!0000010db07461e45b41c886192df6fd425ba8d42d82!svchost.exe%0ATargetAppVer%3D1972%2F%2F12%2F%2F14%3A16%3A22%3A50!1c364!svchost.exe%0ABootId%3D4294967295%0AServiceGroupName%3DNetworkService%0AServiceDllName%3Dtermsrv.dll%0AServiceSplit%3D1%0ATargetAsId%3D21%0AIsFatal%3D1%0AEtwNonCollectReason%3D1%0AResponse.BucketId%3D5244ca240db20558d608f520999effb7%0AResponse.BucketTable%3D4%0AResponse.LegacyBucketId%3D1587788389013192631%0AResponse.type%3D4%0ASig%5B0%5D.Name%3DApplication%20Name%0ASig%5B0%5D.Value%3Dsvchost.exe_TermService%0ASig%5B1%5D.Name%3DApplication%20Version%0ASig%5B1%5D.Value%3D10.0.19041.546%0ASig%5B2%5D.Name%3DApplication%20Timestamp%0ASig%5B2%5D.Value%3D058e175a%0ASig%5B3%5D.Name%3DFault%20Module%20Name%0ASig%5B3%5D.Value%3DRDPSERVERBASE.dll%0ASig%5B4%5D.Name%3DFault%20Module%20Version%0ASig%5B4%5D.Value%3D10.0.19041.746%0ASig%5B5%5D.Name%3DFault%20Module%20Timestamp%0ASig%5B5%5D.Value%3D2af8aaa6%0ASig%5B6%5D.Name%3DException%20Code%0ASig%5B6%5D.Value%3Dc0000005%0ASig%5B7%5D.Name%3DException%20Offset%0ASig%5B7%5D.Value%3D0000000000049a8b%0ADynamicSig%5B1%5D.Name%3DOS%20Version%0ADynamicSig%5B1%5D.Value%3D10.0.19041.2.0.0.16.175%0ADynamicSig%5B2%5D.Name%3DLocale%20ID%0ADynamicSig%5B2%5D.Value%3D1033%0ADynamicSig%5B22%5D.Name%3DAdditional%20Information%201%0ADynamicSig%5B22%5D.Value%3Dc926%0ADynamicSig%5B23%5D.Name%3DAdditional%20Information%202%0ADynamicSig%5B23%5D.Value%3Dc926eb8a57c3fe4a73c48eb4e93aff94%0ADynamicSig%5B24%5D.Name%3DAdditional%20Information%203%0ADynamicSig%5B24%5D.Value%3Dbb7b%0ADynamicSig%5B25%5D.Name%3DAdditional%20Information%204%0ADynamicSig%5B25%5D.Value%3Dbb7bb65c865656cf18d1ad71de2d760d%0AUI%5B2%5D%3DC%3A%5Cwindows%5CSystem32%5Csvchost.exe%0AUI%5B5%5D%3DClose%0AUI%5B8%5D%3DRemote%20Desktop%20Services%20stopped%20working%20and%20was%20closed%0AUI%5B9%5D%3DA%20problem%20caused%20the%20application%20to%20stop%20working%20correctly.%20Windows%20will%20notify%20you%20if%20a%20solution%20is%20available.%0AUI%5B10%5D%3D%26amp%3BClose%0ALoadedModule%5B0%5D%3DC%3A%5Cwindows%5CSystem32%5Csvchost.exe%0ALoadedModule%5B1%5D%3DC%3A%5Cwindows%5CSYSTEM32%5Cntdll.dll%0ALoadedModule%5B2%5D%3DC%3A%5Cwindows%5CSystem32%5CKERNEL32.DLL%0ALoadedModule%5B3%5D%3DC%3A%5Cwindows%5CSystem32%5CKERNELBASE.dll%0ALoadedModule%5B4%5D%3DC%3A%5Cwindows%5CSystem32%5Csechost.dll%0ALoadedModule%5B5%5D%3DC%3A%5Cwindows%5CSystem32%5CRPCRT4.dll%0ALoadedModule%5B6%5D%3DC%3A%5Cwindows%5CSystem32%5Cucrtbase.dll%0ALoadedModule%5B7%5D%3DC%3A%5Cwindows%5CSystem32%5Ccombase.dll%0ALoadedModule%5B8%5D%3DC%3A%5Cwindows%5CSYSTEM32%5Ckernel.appcore.dll%0ALoadedModule%5B9%5D%3DC%3A%5Cwindows%5CSystem32%5Cmsvcrt.dll%0ALoadedModule%5B10%5D%3DC%3A%5Cwindows%5CSystem32%5CbcryptPrimitives.dll%0ALoadedModule%5B11%5D%3DC%3A%5Cwindows%5CSystem32%5Cuser32.dll%0ALoadedModule%5B12%5D%3DC%3A%5Cwindows%5CSystem32%5Cwin32u.dll%0ALoadedModule%5B13%5D%3DC%3A%5Cwindows%5CSystem32%5CGDI32.dll%0ALoadedModule%5B14%5D%3DC%3A%5Cwindows%5CSystem32%5Cgdi32full.dll%0ALoadedModule%5B15%5D%3DC%3A%5Cwindows%5CSystem32%5Cmsvcp_win.dll%0ALoadedModule%5B16%5D%3Dc%3A%5Cwindows%5Csystem32%5Ctermsrv.dll%0ALoadedModule%5B17%5D%3DC%3A%5Cwindows%5CSystem32%5CWS2_32.dll%0ALoadedModule%5B18%5D%3DC%3A%5Cwindows%5CSystem32%5Ccfgmgr32.dll%0ALoadedModule%5B19%5D%3Dc%3A%5Cwindows%5Csystem32%5CUMPDC.dll%0ALoadedModule%5B20%5D%3DC%3A%5Cwindows%5CSYSTEM32%5CWLDP.DLL%0ALoadedModule%5B21%5D%3DC%3A%5Cwindows%5CSystem32%5Cadvapi32.dll%0ALoadedModule%5B22%5D%3DC%3A%5Cwindows%5CSystem32%5Cclbcatq.dll%0ALoadedModule%5B23%5D%3DC%3A%5Cwindows%5Csystem32%5Clsmproxy.dll%0ALoadedModule%5B24%5D%3DC%3A%5Cwindows%5CSYSTEM32%5Crmclient.dll%0ALoadedModule%5B25%5D%3DC%3A%5Cwindows%5CSystem32%5Csspicli.dll%0ALoadedModule%5B26%5D%3DC%3A%5Cwindows%5Csystem32%5Crdsnetfs.dll%0ALoadedModule%5B27%5D%3DC%3A%5Cwindows%5CSystem32%5COLEAUT32.dll%0ALoadedModule%5B28%5D%3Dc%3A%5Cwindows%5Csystem32%5CREGAPI.dll%0ALoadedModule%5B29%5D%3DC%3A%5CProgram%20Files%5CMicrosoft%20RDInfra%5CStackSxS%5C1.0.2008.26002%5CRdpCoreCDV.dll%0ALoadedModule%5B30%5D%3DC%3A%5Cwindows%5CSystem32%5CCRYPT32.dll%0ALoadedModule%5B31%5D%3DC%3A%5Cwindows%5CSystem32%5Cbcrypt.dll%0ALoadedModule%5B32%5D%3DC%3A%5Cwindows%5CSystem32%5CSHLWAPI.dll%0ALoadedModule%5B33%5D%3DC%3A%5Cwindows%5CSystem32%5CSHELL32.dll%0ALoadedModule%5B34%5D%3DC%3A%5Cwindows%5CSYSTEM32%5Cpdh.dll%0ALoadedModule%5B35%5D%3DC%3A%5Cwindows%5CSYSTEM32%5CIPHLPAPI.DLL%0ALoadedModule%5B36%5D%3DC%3A%5Cwindows%5CSYSTEM32%5Cncrypt.dll%0ALoadedModule%5B37%5D%3DC%3A%5Cwindows%5CSYSTEM32%5CDEVOBJ.dll%0ALoadedModule%5B38%5D%3DC%3A%5Cwindows%5CSYSTEM32%5CWINHTTP.dll%0ALoadedModule%5B39%5D%3DC%3A%5Cwindows%5CSYSTEM32%5CPROPSYS.dll%0ALoadedModule%5B40%5D%3DC%3A%5Cwindows%5CSYSTEM32%5CSECUR32.dll%0ALoadedModule%5B41%5D%3DC%3A%5Cwindows%5CSYSTEM32%5Cd3d11.dll%0ALoadedModule%5B42%5D%3DC%3A%5Cwindows%5CSYSTEM32%5CUSERENV.dll%0ALoadedModule%5B43%5D%3DC%3A%5Cwindows%5CSYSTEM32%5CAUTHZ.dll%0ALoadedModule%5B44%5D%3DC%3A%5Cwindows%5CSYSTEM32%5Cdxgi.dll%0ALoadedModule%5B45%5D%3DC%3A%5Cwindows%5CSYSTEM32%5Cwebsocket.dll%0ALoadedModule%5B46%5D%3DC%3A%5Cwindows%5CSYSTEM32%5CHTTPAPI.dll%0ALoadedModule%5B47%5D%3DC%3A%5Cwindows%5CSYSTEM32%5Ctlscsp.dll%0ALoadedModule%5B48%5D%3DC%3A%5Cwindows%5CSYSTEM32%5CDPAPI.DLL%0ALoadedModule%5B49%5D%3DC%3A%5Cwindows%5CSYSTEM32%5CNTASN1.dll%0ALoadedModule%5B50%5D%3DC%3A%5Cwindows%5CSystem32%5COLE32.dll%0ALoadedModule%5B51%5D%3DC%3A%5CWindows%5CSystem32%5Cumb.dll%0ALoadedModule%5B52%5D%3DC%3A%5Cwindows%5CSystem32%5CSETUPAPI.dll%0ALoadedModule%5B53%5D%3DC%3A%5Cwindows%5CSystem32%5CWINTRUST.dll%0ALoadedModule%5B54%5D%3DC%3A%5Cwindows%5CSystem32%5CMSASN1.dll%0ALoadedModule%5B55%5D%3DC%3A%5Cwindows%5CSYSTEM32%5CCRYPTBASE.DLL%0ALoadedModule%5B56%5D%3DC%3A%5Cwindows%5CSYSTEM32%5Cntmarta.dll%0ALoadedModule%5B57%5D%3DC%3A%5Cwindows%5CSystem32%5Cmstlsapi.dll%0ALoadedModule%5B58%5D%3DC%3A%5Cwindows%5CSystem32%5CACTIVEDS.dll%0ALoadedModule%5B59%5D%3DC%3A%5Cwindows%5CSystem32%5CNETAPI32.dll%0ALoadedModule%5B60%5D%3DC%3A%5Cwindows%5CSystem32%5CTlsBrand.dll%0ALoadedModule%5B61%5D%3DC%3A%5Cwindows%5CSystem32%5Cnetutils.dll%0ALoadedModule%5B62%5D%3DC%3A%5Cwindows%5CSystem32%5Cadsldpc.dll%0ALoadedModule%5B63%5D%3DC%3A%5Cwindows%5CSystem32%5CWINBRAND.dll%0ALoadedModule%5B64%5D%3DC%3A%5Cwindows%5CSystem32%5CWLDAP32.dll%0ALoadedModule%5B65%5D%3DC%3A%5Cwindows%5CSystem32%5CDSROLE.DLL%0ALoadedModule%5B66%5D%3DC%3A%5Cwindows%5CSystem32%5CLOGONCLI.DLL%0ALoadedModule%5B67%5D%3DC%3A%5Cwindows%5CSystem32%5CWKSCLI.DLL%0ALoadedModule%5B68%5D%3DC%3A%5CProgram%20Files%5CMicrosoft%20RDInfra%5CStackSxS%5C1.0.2010.07001%5CRdpCoreCDV.dll%0ALoadedModule%5B69%5D%3DC%3A%5CProgram%20Files%5CMicrosoft%20RDInfra%5CStackSxS%5C1.0.2011.05001%5CRdpCoreCDV.dll%0ALoadedModule%5B70%5D%3DC%3A%5Cwindows%5Csystem32%5Cmswsock.dll%0ALoadedModule%5B71%5D%3DC%3A%5Cwindows%5Csystem32%5Crdpcorets.dll%0ALoadedModule%5B72%5D%3DC%3A%5Cwindows%5CSystem32%5Cshcore.dll%0ALoadedModule%5B73%5D%3DC%3A%5Cwindows%5Csystem32%5Crfxvmt.dll%0ALoadedModule%5B74%5D%3DC%3A%5Cwindows%5Csystem32%5CRDPBASE.dll%0ALoadedModule%5B75%5D%3DC%3A%5Cwindows%5Csystem32%5CRDPSERVERBASE.dll%0ALoadedModule%5B76%5D%3DC%3A%5Cwindows%5Csystem32%5CCRYPTSP.dll%0ALoadedModule%5B77%5D%3DC%3A%5Cwindows%5CSystem32%5Cvmbuspipe.dll%0ALoadedModule%5B78%5D%3DC%3A%5Cwindows%5CSystem32%5Cwinsta.dll%0ALoadedModule%5B79%5D%3DC%3A%5Cwindows%5CSystem32%5Ccredssp.dll%0ALoadedModule%5B80%5D%3DC%3A%5Cwindows%5Csystem32%5Cschannel.DLL%0ALoadedModule%5B81%5D%3DC%3A%5Cwindows%5CSYSTEM32%5Cmskeyprotect.dll%0ALoadedModule%5B82%5D%3DC%3A%5Cwindows%5Csystem32%5Ctspkg.DLL%0ALoadedModule%5B83%5D%3DC%3A%5Cwindows%5Csystem32%5Cncryptsslp.dll%0ALoadedModule%5B84%5D%3DC%3A%5Cwindows%5CSYSTEM32%5CWINNSI.DLL%0ALoadedModule%5B85%5D%3DC%3A%5Cwindows%5CSystem32%5CNSI.dll%0ALoadedModule%5B86%5D%3DC%3A%5Cwindows%5CSYSTEM32%5Cdhcpcsvc6.DLL%0ALoadedModule%5B87%5D%3DC%3A%5Cwindows%5CSYSTEM32%5Cdhcpcsvc.DLL%0ALoadedModule%5B88%5D%3DC%3A%5Cwindows%5CSYSTEM32%5Cwebio.dll%0ALoadedModule%5B89%5D%3DC%3A%5Cwindows%5CSYSTEM32%5CDNSAPI.dll%0ALoadedModule%5B90%5D%3DC%3A%5CWindows%5CSystem32%5Crasadhlp.dll%0ALoadedModule%5B91%5D%3DC%3A%5Cwindows%5CSystem32%5Cfwpuclnt.dll%0ALoadedModule%5B92%5D%3DC%3A%5Cwindows%5Csystem32%5Crsaenh.dll%0ALoadedModule%5B93%5D%3DC%3A%5Cwindows%5CSystem32%5Cprofapi.dll%0ALoadedModule%5B94%5D%3DC%3A%5Cwindows%5CSystem32%5Ctssrvlic.dll%0ALoadedModule%5B95%5D%3DC%3A%5Cwindows%5CSystem32%5Cmsvcp110_win.dll%0ALoadedModule%5B96%5D%3DC%3A%5Cwindows%5CSystem32%5CLSCSHostPolicy.dll%0ALoadedModule%5B97%5D%3DC%3A%5Cwindows%5CSystem32%5Clstelemetry.dll%0ALoadedModule%5B98%5D%3DC%3A%5Cwindows%5Csystem32%5CMF.dll%0ALoadedModule%5B99%5D%3DC%3A%5Cwindows%5CSystem32%5CMFCORE.DLL%0ALoadedModule%5B100%5D%3DC%3A%5Cwindows%5CSYSTEM32%5Cpowrprof.dll%0ALoadedModule%5B101%5D%3DC%3A%5Cwindows%5CSystem32%5Cksuser.dll%0ALoadedModule%5B102%5D%3DC%3A%5Cwindows%5Csystem32%5CMFPlat.dll%0ALoadedModule%5B103%5D%3DC%3A%5Cwindows%5CSystem32%5CRTWorkQ.DLL%0ALoadedModule%5B104%5D%3DC%3A%5CWindows%5CSystem32%5Cmfh264enc.dll%0ALoadedModule%5B105%5D%3DC%3A%5Cwindows%5CSystem32%5Ccoml2.dll%0ALoadedModule%5B106%5D%3DC%3A%5Cwindows%5CSYSTEM32%5Csxs.dll%0ALoadedModule%5B107%5D%3DC%3A%5CProgram%20Files%5CMicrosoft%20RDInfra%5CStackSxS%5C1.0.2011.05001%5CrdpnanoTransport.dll%0ALoadedModule%5B108%5D%3DC%3A%5Cwindows%5CSystem32%5CCompPkgSup.DLL%0ALoadedModule%5B109%5D%3DC%3A%5CWindows%5CSystem32%5CWindows.Media.dll%0ALoadedModule%5B110%5D%3DC%3A%5CWindows%5CSystem32%5CWindows.ApplicationModel.dll%0ALoadedModule%5B111%5D%3DC%3A%5CWindows%5CSystem32%5Ctwinapi.appcore.dll%0ALoadedModule%5B112%5D%3DC%3A%5CWindows%5CSystem32%5CAppXDeploymentClient.dll%0ALoadedModule%5B113%5D%3DC%3A%5Cwindows%5Csystem32%5Cwbem%5Cwbemprox.dll%0ALoadedModule%5B114%5D%3DC%3A%5Cwindows%5CSYSTEM32%5Cwbemcomn.dll%0ALoadedModule%5B115%5D%3DC%3A%5Cwindows%5Csystem32%5Cwbem%5Cwbemsvc.dll%0ALoadedModule%5B116%5D%3DC%3A%5Cwindows%5Csystem32%5Cwbem%5Cfastprox.dll%0ALoadedModule%5B117%5D%3DC%3A%5Cwindows%5CSYSTEM32%5Camsi.dll%0ALoadedModule%5B118%5D%3DC%3A%5CProgramData%5CMicrosoft%5CWindows%20Defender%5Cplatform%5C4.18.2101.9-0%5CMpOav.dll%0ALoadedModule%5B119%5D%3DC%3A%5Cwindows%5Csystem32%5Cversion.dll%0ALoadedModule%5B120%5D%3DC%3A%5Cwindows%5Csystem32%5CWRusr.dll%0ALoadedModule%5B121%5D%3DC%3A%5Cwindows%5CSystem32%5CPSAPI.DLL%0ALoadedModule%5B122%5D%3DC%3A%5Cwindows%5CSystem32%5CMSIMG32.dll%0ALoadedModule%5B123%5D%3DC%3A%5Cwindows%5CSYSTEM32%5Cwindows.storage.dll%0AState%5B0%5D.Key%3DTransport.DoneStage1%0AState%5B0%5D.Value%3D1%0AOsInfo%5B0%5D.Key%3Dvermaj%0AOsInfo%5B0%5D.Value%3D10%0AOsInfo%5B1%5D.Key%3Dvermin%0AOsInfo%5B1%5D.Value%3D0%0AOsInfo%5B2%5D.Key%3Dverbld%0AOsInfo%5B2%5D.Value%3D19041%0AOsInfo%5B3%5D.Key%3Dubr%0AOsInfo%5B3%5D.Value%3D746%0AOsInfo%5B4%5D.Key%3Dversp%0AOsInfo%5B4%5D.Value%3D0%0AOsInfo%5B5%5D.Key%3Darch%0AOsInfo%5B5%5D.Value%3D9%0AOsInfo%5B6%5D.Key%3Dlcid%0AOsInfo%5B6%5D.Value%3D1033%0AOsInfo%5B7%5D.Key%3Dgeoid%0AOsInfo%5B7%5D.Value%3D244%0AOsInfo%5B8%5D.Key%3Dsku%0AOsInfo%5B8%5D.Value%3D175%0AOsInfo%5B9%5D.Key%3Ddomain%0AOsInfo%5B9%5D.Value%3D1%0AOsInfo%5B10%5D.Key%3Dprodsuite%0AOsInfo%5B10%5D.Value%3D16%0AOsInfo%5B11%5D.Key%3Dntprodtype%0AOsInfo%5B11%5D.Value%3D3%0AOsInfo%5B12%5D.Key%3Dplatid%0AOsInfo%5B12%5D.Value%3D10%0AOsInfo%5B13%5D.Key%3Dsr%0AOsInfo%5B13%5D.Value%3D0%0AOsInfo%5B14%5D.Key%3Dtmsi%0AOsInfo%5B14%5D.Value%3D220975696%0AOsInfo%5B15%5D.Key%3Dosinsty%0AOsInfo%5B15%5D.Value%3D2%0AOsInfo%5B16%5D.Key%3Diever%0AOsInfo%5B16%5D.Value%3D11.630.19041.0-11.0.220%0AOsInfo%5B17%5D.Key%3Dportos%0AOsInfo%5B17%5D.Value%3D0%0AOsInfo%5B18%5D.Key%3Dram%0AOsInfo%5B18%5D.Value%3D57343%0AOsInfo%5B19%5D.Key%3Dsvolsz%0AOsInfo%5B19%5D.Value%3D126%0AOsInfo%5B20%5D.Key%3Dwimbt%0AOsInfo%5B20%5D.Value%3D0%0AOsInfo%5B21%5D.Key%3Dblddt%0AOsInfo%5B21%5D.Value%3D191206%0AOsInfo%5B22%5D.Key%3Dbldtm%0AOsInfo%5B22%5D.Value%3D1406%0AOsInfo%5B23%5D.Key%3Dbldbrch%0AOsInfo%5B23%5D.Value%3Dvb_release%0AOsInfo%5B24%5D.Key%3Dbldchk%0AOsInfo%5B24%5D.Value%3D0%0AOsInfo%5B25%5D.Key%3Dwpvermaj%0AOsInfo%5B25%5D.Value%3D0%0AOsInfo%5B26%5D.Key%3Dwpvermin%0AOsInfo%5B26%5D.Value%3D0%0AOsInfo%5B27%5D.Key%3Dwpbuildmaj%0AOsInfo%5B27%5D.Value%3D0%0AOsInfo%5B28%5D.Key%3Dwpbuildmin%0AOsInfo%5B28%5D.Value%3D0%0AOsInfo%5B29%5D.Key%3Dosver%0AOsInfo%5B29%5D.Value%3D10.0.19041.746.amd64fre.vb_release.191206-1406%0AOsInfo%5B30%5D.Key%3Dbuildflightid%0AOsInfo%5B31%5D.Key%3Dedition%0AOsInfo%5B31%5D.Value%3DServerRdsh%0AOsInfo%5B32%5D.Key%3Dring%0AOsInfo%5B32%5D.Value%3DRetail%0AOsInfo%5B33%5D.Key%3Dexpid%0AOsInfo%5B34%5D.Key%3Dfconid%0AOsInfo%5B35%5D.Key%3Dcontainerid%0AOsInfo%5B36%5D.Key%3Dcontainertype%0AOsInfo%5B37%5D.Key%3Dedu%0AOsInfo%5B37%5D.Value%3D0%0AFriendlyEventName%3DStopped%20working%0AConsentKey%3DAPPCRASH%0AAppName%3DRemote%20Desktop%20Services%0AAppPath%3DC%3A%5Cwindows%5CSystem32%5Csvchost.exe%0ANsPartner%3Dwindows%0ANsGroup%3Dwindows8%0AApplicationIdentity%3D097D38C6EE88031AC50A5FF3F9857982%0AMetadataHash%3D686507704%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20can't%20see%20anything%20interesting%20in%20any%20of%20the%20logs%20(that%20I've%20checked)%20immediately%20before%20or%20after%20the%20crash%20times.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20a%20little%20lost%20as%20to%20what%20my%20next%20steps%20need%20to%20be%20here.%20I've%20just%20now%20loaded%20the%20reg%20settings%20as%20described%20here%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fsocial.technet.microsoft.com%2FForums%2Fen-US%2F13be5e23-1e7c-4b6a-a78e-dda1fe2ac365%2Fremote-desktop-services-crashes%3Fforum%3Dws2019%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ERemote%20desktop%20services%20crashes%20(microsoft.com)%3C%2FA%3E%26nbsp%3B.%20Hopefully%20a%20proper%20dump%20will%20be%20able%20to%20shed%20some%20light%20on%20things%2C%20but%20I'm%20not%20amazingly%20hopeful.%20Plus%20it's%20not%20great%20knowing%20that%20I%20need%20it%20to%20fault%20at%20least%20one%20more%20time.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHaving%20played%20with%20Terminal%20Services%20before%20(right%20back%20to%20NT%20and%20Citrix%20Metaframe%20days)%2C%20I'm%20immediately%20suspicious%20of%20client%20machine%20graphics%20drivers%20and%20client%20printers.%20But%20I've%20got%20nothing%20to%20back%20that%20up%20at%20this%20point.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20system%20started%20off%20very%20stable%2C%20and%20ran%20for%20months%20without%20issue.%20Then%20the%20odd%20%22hiccup%22%20started%20to%20creep%20in%20-%20low%20frequency%20enough%20that%20I%20put%20it%20down%20to%20just%20needing%20a%20regular%20reboot%20cadence.%20But%20we've%20had%20three%20outages%20this%20week%20alone%20-%20I%20feel%20it's%20getting%20worse.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20else%20have%20I%20done%3A%3C%2FP%3E%3CUL%3E%3CLI%3EI've%20run%20sfc%20%2Fscannow%20-%20no%20problems%20found.%3C%2FLI%3E%3CLI%3EI've%20run%20DISM%20%2FOnline%20%2FCleanup-Image%20%2FRestoreHealth%20-%20no%20issues.%3C%2FLI%3E%3CLI%3ERun%20back%20through%20the%20entire%20Microsoft%20guide%20on%20deploying%20WVD%2C%20inc%20the%20Deployment%20Best%20Practices%20and%20configuration%20of%20FSLogix%20components.%20I've%20crossed%20t's%20and%20dotted%20i's%20-%20I%20can't%20see%20where%20I've%20deviated%20from%20the%20recommended%20process%20(not%20to%20say%20I%20haven't%2C%20but%20I%20certainly%20can't%20see%20it%20if%20I%20did)%3C%2FLI%3E%3CLI%3EI%20thought%20about%20setting%20up%20Insights%2C%20Alerts%20and%20Logs%20on%20the%20Azure%20side%20for%20the%20VM%2C%20but%20not%20sure%20that%20will%20give%20me%20anything%20over%20and%20above%20what%20I%20already%20have%3F%20The%20VM%20isn't%20falling%20over.%20Just%20that%20one%20process.%3C%2FLI%3E%3CLI%3EAll%20users%20are%20E5%20licensed.%20AzureADDS%20is%20working%20correctly%2C%20people%20log%20in%20with%20their%20Office365%20accounts%2C%20Azure%20File%20Shares%20are%20secured%20with%20their%20AzureADDS%20credentials%20-%20it%20all%20works%20a%20treat.%26nbsp%3B%3C%2FLI%3E%3CLI%3EUsers%20are%20geographically%20close%20to%20the%20Azure%20region%20(all%20users%20are%20in%20Melbourne%20CBD.%20Azure%20resources%20all%20in%20AU%20South%20East).%26nbsp%3B%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20anyone%20have%20any%20advice%20on%20where%20I%20should%20be%20looking%20next%20with%20this%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20plan%20(such%20as%20it%20is)%3A%3C%2FP%3E%3CUL%3E%3CLI%3EWait%20for%20the%20application%20to%20fault%20again%2C%20grab%20the%20minidump%20and%20see%20if%20it%20holds%20any%20smoking%20guns%3C%2FLI%3E%3CLI%3EMaybe%20build%20a%20second%20host%2C%20so%20that%20if%2Fwhen%20the%20first%20goes%20down%20at%20least%20it%20only%20affects%2050%25%20of%20the%20staff.%20Bandaid%20solution%20at%20best%2C%20but%20it%20might%20help%20to%20ease%20the%20pain.%26nbsp%3B%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThoughts%3F%20Any%20and%20all%20suggestions%20will%20be%20graciously%20accepted%20at%20this%20point.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers%2C%3C%2FP%3E%3CP%3EMatt%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2227889%22%20slang%3D%22en-US%22%3ERe%3A%20WVD%20-%20almost%20daily%20TermService%20crashes%20disconnecting%20all%20users%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2227889%22%20slang%3D%22en-US%22%3EHi%20Matt%2C%3CBR%20%2F%3E%3CBR%20%2F%3EOur%20WVD%20environment%20had%20the%20same%20problem%20for%20the%20past%20weeks.%3CBR%20%2F%3EOne%20of%20the%20users%20was%20trying%20to%20open%20mp4-files.%20Everytime%20she%20tried%20that%2C%20all%20the%20users%20of%20that%20Session%20Host%20were%20disconnected%2C%20exactly%20like%20in%20your%20case.%20They%20could%20connect%20after%20that%20without%20any%20trouble.%3CBR%20%2F%3EWe%20changed%20the%20program%20for%20MP4-files%20from%20the%20'Windows%20default%20program'%20to%20a%20'third%20party%20program'.%20After%20that%20we%20have%20had%20no%20more%20disconnected%20sessions%2C%20yet.%3CBR%20%2F%3EI%20hope%20this%20will%20help%20you%20finding%20the%20solution%20for%20your%20environment.%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi team,

 

A client of mine has a WVD environment compromising of a single Windows 10 Multisession host. This supports about 15 users, and runs really well for the majority of the time. The host VM is a Standard DS13 v2 (8 vcpus, 56 GiB memory), in the Australia South-East region. FSLogix is handling the user profiles. The host is up to date with all the latest patches and feature releases, has heaps of disk space, is not under CPU or RAM pressure, etc. 

 

Lately the server has developed almost a daily instability whereby the TermService service will crash, which instantly disconnects all the sessions. The users can log back in almost straight away (once the TermService process recycles after 6000ms), but that in turn causes a huge CPU spike which log-jams things for a while. Plus generally it's not a great time for the staff (or a great look for me, since I built the silly thing). Client is getting quite frustrated - 100% understandably.

 

When it faults, this is what is caught by WER in the event log:

Faulting application name: svchost.exe_TermService, version: 10.0.19041.546, time stamp: 0x058e175a
Faulting module name: RDPSERVERBASE.dll, version: 10.0.19041.844, time stamp: 0x491ad66a
Exception code: 0xc0000005
Fault offset: 0x0000000000049a4b
Faulting process ID: 0x4e0
Faulting application start time: 0x01d70b5d30318f10
Faulting application path: C:\windows\System32\svchost.exe
Faulting module path: C:\windows\system32\RDPSERVERBASE.dll
Report ID: 1f6a6eab-7cfd-415d-bc6c-8726cf85744b
Faulting package full name: 
Faulting package-relative application ID: 

 

In the Applications and Services Logs\Microsoft\Windows\TerminalServices-LocalSessionManager\Operational\ logs I see a bunch of these:

Session 4 has been disconnected, reason code 1067

 

Of course I cannot find any reference that tells me what reason code 1067 is, but I'm guessing it's because the TermService process has crashed. They happen straight after the first error is logged, and there's two for each user session logged in. 

 

I've loaded up the NirSoft AppCrashView app, but I can't see anything useful in it's output:

Version=1
EventType=APPCRASH
EventTime=132587022166067043
ReportType=2
Consent=1
UploadTime=132587022454956260
ReportStatus=268435456
ReportIdentifier=f567748d-0e33-482a-97bb-1c00d36ae905
IntegratorReportIdentifier=eb7d197a-204e-4da6-b73c-baa5aab3859e
Wow64Host=34404
NsAppName=svchost.exe_TermService
OriginalFilename=svchost.exe
AppSessionGuid=0000050c-0000-0018-cd61-c1fdab08d701
TargetAppId=W:0000f519feec486de87ed73cb92d3cac802400000000!0000010db07461e45b41c886192df6fd425ba8d42d82!svchost.exe
TargetAppVer=1972//12//14:16:22:50!1c364!svchost.exe
BootId=4294967295
ServiceGroupName=NetworkService
ServiceDllName=termsrv.dll
ServiceSplit=1
TargetAsId=21
IsFatal=1
EtwNonCollectReason=1
Response.BucketId=5244ca240db20558d608f520999effb7
Response.BucketTable=4
Response.LegacyBucketId=1587788389013192631
Response.type=4
Sig[0].Name=Application Name
Sig[0].Value=svchost.exe_TermService
Sig[1].Name=Application Version
Sig[1].Value=10.0.19041.546
Sig[2].Name=Application Timestamp
Sig[2].Value=058e175a
Sig[3].Name=Fault Module Name
Sig[3].Value=RDPSERVERBASE.dll
Sig[4].Name=Fault Module Version
Sig[4].Value=10.0.19041.746
Sig[5].Name=Fault Module Timestamp
Sig[5].Value=2af8aaa6
Sig[6].Name=Exception Code
Sig[6].Value=c0000005
Sig[7].Name=Exception Offset
Sig[7].Value=0000000000049a8b
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=10.0.19041.2.0.0.16.175
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=1033
DynamicSig[22].Name=Additional Information 1
DynamicSig[22].Value=c926
DynamicSig[23].Name=Additional Information 2
DynamicSig[23].Value=c926eb8a57c3fe4a73c48eb4e93aff94
DynamicSig[24].Name=Additional Information 3
DynamicSig[24].Value=bb7b
DynamicSig[25].Name=Additional Information 4
DynamicSig[25].Value=bb7bb65c865656cf18d1ad71de2d760d
UI[2]=C:\windows\System32\svchost.exe
UI[5]=Close
UI[8]=Remote Desktop Services stopped working and was closed
UI[9]=A problem caused the application to stop working correctly. Windows will notify you if a solution is available.
UI[10]=&Close
LoadedModule[0]=C:\windows\System32\svchost.exe
LoadedModule[1]=C:\windows\SYSTEM32\ntdll.dll
LoadedModule[2]=C:\windows\System32\KERNEL32.DLL
LoadedModule[3]=C:\windows\System32\KERNELBASE.dll
LoadedModule[4]=C:\windows\System32\sechost.dll
LoadedModule[5]=C:\windows\System32\RPCRT4.dll
LoadedModule[6]=C:\windows\System32\ucrtbase.dll
LoadedModule[7]=C:\windows\System32\combase.dll
LoadedModule[8]=C:\windows\SYSTEM32\kernel.appcore.dll
LoadedModule[9]=C:\windows\System32\msvcrt.dll
LoadedModule[10]=C:\windows\System32\bcryptPrimitives.dll
LoadedModule[11]=C:\windows\System32\user32.dll
LoadedModule[12]=C:\windows\System32\win32u.dll
LoadedModule[13]=C:\windows\System32\GDI32.dll
LoadedModule[14]=C:\windows\System32\gdi32full.dll
LoadedModule[15]=C:\windows\System32\msvcp_win.dll
LoadedModule[16]=c:\windows\system32\termsrv.dll
LoadedModule[17]=C:\windows\System32\WS2_32.dll
LoadedModule[18]=C:\windows\System32\cfgmgr32.dll
LoadedModule[19]=c:\windows\system32\UMPDC.dll
LoadedModule[20]=C:\windows\SYSTEM32\WLDP.DLL
LoadedModule[21]=C:\windows\System32\advapi32.dll
LoadedModule[22]=C:\windows\System32\clbcatq.dll
LoadedModule[23]=C:\windows\system32\lsmproxy.dll
LoadedModule[24]=C:\windows\SYSTEM32\rmclient.dll
LoadedModule[25]=C:\windows\System32\sspicli.dll
LoadedModule[26]=C:\windows\system32\rdsnetfs.dll
LoadedModule[27]=C:\windows\System32\OLEAUT32.dll
LoadedModule[28]=c:\windows\system32\REGAPI.dll
LoadedModule[29]=C:\Program Files\Microsoft RDInfra\StackSxS\1.0.2008.26002\RdpCoreCDV.dll
LoadedModule[30]=C:\windows\System32\CRYPT32.dll
LoadedModule[31]=C:\windows\System32\bcrypt.dll
LoadedModule[32]=C:\windows\System32\SHLWAPI.dll
LoadedModule[33]=C:\windows\System32\SHELL32.dll
LoadedModule[34]=C:\windows\SYSTEM32\pdh.dll
LoadedModule[35]=C:\windows\SYSTEM32\IPHLPAPI.DLL
LoadedModule[36]=C:\windows\SYSTEM32\ncrypt.dll
LoadedModule[37]=C:\windows\SYSTEM32\DEVOBJ.dll
LoadedModule[38]=C:\windows\SYSTEM32\WINHTTP.dll
LoadedModule[39]=C:\windows\SYSTEM32\PROPSYS.dll
LoadedModule[40]=C:\windows\SYSTEM32\SECUR32.dll
LoadedModule[41]=C:\windows\SYSTEM32\d3d11.dll
LoadedModule[42]=C:\windows\SYSTEM32\USERENV.dll
LoadedModule[43]=C:\windows\SYSTEM32\AUTHZ.dll
LoadedModule[44]=C:\windows\SYSTEM32\dxgi.dll
LoadedModule[45]=C:\windows\SYSTEM32\websocket.dll
LoadedModule[46]=C:\windows\SYSTEM32\HTTPAPI.dll
LoadedModule[47]=C:\windows\SYSTEM32\tlscsp.dll
LoadedModule[48]=C:\windows\SYSTEM32\DPAPI.DLL
LoadedModule[49]=C:\windows\SYSTEM32\NTASN1.dll
LoadedModule[50]=C:\windows\System32\OLE32.dll
LoadedModule[51]=C:\Windows\System32\umb.dll
LoadedModule[52]=C:\windows\System32\SETUPAPI.dll
LoadedModule[53]=C:\windows\System32\WINTRUST.dll
LoadedModule[54]=C:\windows\System32\MSASN1.dll
LoadedModule[55]=C:\windows\SYSTEM32\CRYPTBASE.DLL
LoadedModule[56]=C:\windows\SYSTEM32\ntmarta.dll
LoadedModule[57]=C:\windows\System32\mstlsapi.dll
LoadedModule[58]=C:\windows\System32\ACTIVEDS.dll
LoadedModule[59]=C:\windows\System32\NETAPI32.dll
LoadedModule[60]=C:\windows\System32\TlsBrand.dll
LoadedModule[61]=C:\windows\System32\netutils.dll
LoadedModule[62]=C:\windows\System32\adsldpc.dll
LoadedModule[63]=C:\windows\System32\WINBRAND.dll
LoadedModule[64]=C:\windows\System32\WLDAP32.dll
LoadedModule[65]=C:\windows\System32\DSROLE.DLL
LoadedModule[66]=C:\windows\System32\LOGONCLI.DLL
LoadedModule[67]=C:\windows\System32\WKSCLI.DLL
LoadedModule[68]=C:\Program Files\Microsoft RDInfra\StackSxS\1.0.2010.07001\RdpCoreCDV.dll
LoadedModule[69]=C:\Program Files\Microsoft RDInfra\StackSxS\1.0.2011.05001\RdpCoreCDV.dll
LoadedModule[70]=C:\windows\system32\mswsock.dll
LoadedModule[71]=C:\windows\system32\rdpcorets.dll
LoadedModule[72]=C:\windows\System32\shcore.dll
LoadedModule[73]=C:\windows\system32\rfxvmt.dll
LoadedModule[74]=C:\windows\system32\RDPBASE.dll
LoadedModule[75]=C:\windows\system32\RDPSERVERBASE.dll
LoadedModule[76]=C:\windows\system32\CRYPTSP.dll
LoadedModule[77]=C:\windows\System32\vmbuspipe.dll
LoadedModule[78]=C:\windows\System32\winsta.dll
LoadedModule[79]=C:\windows\System32\credssp.dll
LoadedModule[80]=C:\windows\system32\schannel.DLL
LoadedModule[81]=C:\windows\SYSTEM32\mskeyprotect.dll
LoadedModule[82]=C:\windows\system32\tspkg.DLL
LoadedModule[83]=C:\windows\system32\ncryptsslp.dll
LoadedModule[84]=C:\windows\SYSTEM32\WINNSI.DLL
LoadedModule[85]=C:\windows\System32\NSI.dll
LoadedModule[86]=C:\windows\SYSTEM32\dhcpcsvc6.DLL
LoadedModule[87]=C:\windows\SYSTEM32\dhcpcsvc.DLL
LoadedModule[88]=C:\windows\SYSTEM32\webio.dll
LoadedModule[89]=C:\windows\SYSTEM32\DNSAPI.dll
LoadedModule[90]=C:\Windows\System32\rasadhlp.dll
LoadedModule[91]=C:\windows\System32\fwpuclnt.dll
LoadedModule[92]=C:\windows\system32\rsaenh.dll
LoadedModule[93]=C:\windows\System32\profapi.dll
LoadedModule[94]=C:\windows\System32\tssrvlic.dll
LoadedModule[95]=C:\windows\System32\msvcp110_win.dll
LoadedModule[96]=C:\windows\System32\LSCSHostPolicy.dll
LoadedModule[97]=C:\windows\System32\lstelemetry.dll
LoadedModule[98]=C:\windows\system32\MF.dll
LoadedModule[99]=C:\windows\System32\MFCORE.DLL
LoadedModule[100]=C:\windows\SYSTEM32\powrprof.dll
LoadedModule[101]=C:\windows\System32\ksuser.dll
LoadedModule[102]=C:\windows\system32\MFPlat.dll
LoadedModule[103]=C:\windows\System32\RTWorkQ.DLL
LoadedModule[104]=C:\Windows\System32\mfh264enc.dll
LoadedModule[105]=C:\windows\System32\coml2.dll
LoadedModule[106]=C:\windows\SYSTEM32\sxs.dll
LoadedModule[107]=C:\Program Files\Microsoft RDInfra\StackSxS\1.0.2011.05001\rdpnanoTransport.dll
LoadedModule[108]=C:\windows\System32\CompPkgSup.DLL
LoadedModule[109]=C:\Windows\System32\Windows.Media.dll
LoadedModule[110]=C:\Windows\System32\Windows.ApplicationModel.dll
LoadedModule[111]=C:\Windows\System32\twinapi.appcore.dll
LoadedModule[112]=C:\Windows\System32\AppXDeploymentClient.dll
LoadedModule[113]=C:\windows\system32\wbem\wbemprox.dll
LoadedModule[114]=C:\windows\SYSTEM32\wbemcomn.dll
LoadedModule[115]=C:\windows\system32\wbem\wbemsvc.dll
LoadedModule[116]=C:\windows\system32\wbem\fastprox.dll
LoadedModule[117]=C:\windows\SYSTEM32\amsi.dll
LoadedModule[118]=C:\ProgramData\Microsoft\Windows Defender\platform\4.18.2101.9-0\MpOav.dll
LoadedModule[119]=C:\windows\system32\version.dll
LoadedModule[120]=C:\windows\system32\WRusr.dll
LoadedModule[121]=C:\windows\System32\PSAPI.DLL
LoadedModule[122]=C:\windows\System32\MSIMG32.dll
LoadedModule[123]=C:\windows\SYSTEM32\windows.storage.dll
State[0].Key=Transport.DoneStage1
State[0].Value=1
OsInfo[0].Key=vermaj
OsInfo[0].Value=10
OsInfo[1].Key=vermin
OsInfo[1].Value=0
OsInfo[2].Key=verbld
OsInfo[2].Value=19041
OsInfo[3].Key=ubr
OsInfo[3].Value=746
OsInfo[4].Key=versp
OsInfo[4].Value=0
OsInfo[5].Key=arch
OsInfo[5].Value=9
OsInfo[6].Key=lcid
OsInfo[6].Value=1033
OsInfo[7].Key=geoid
OsInfo[7].Value=244
OsInfo[8].Key=sku
OsInfo[8].Value=175
OsInfo[9].Key=domain
OsInfo[9].Value=1
OsInfo[10].Key=prodsuite
OsInfo[10].Value=16
OsInfo[11].Key=ntprodtype
OsInfo[11].Value=3
OsInfo[12].Key=platid
OsInfo[12].Value=10
OsInfo[13].Key=sr
OsInfo[13].Value=0
OsInfo[14].Key=tmsi
OsInfo[14].Value=220975696
OsInfo[15].Key=osinsty
OsInfo[15].Value=2
OsInfo[16].Key=iever
OsInfo[16].Value=11.630.19041.0-11.0.220
OsInfo[17].Key=portos
OsInfo[17].Value=0
OsInfo[18].Key=ram
OsInfo[18].Value=57343
OsInfo[19].Key=svolsz
OsInfo[19].Value=126
OsInfo[20].Key=wimbt
OsInfo[20].Value=0
OsInfo[21].Key=blddt
OsInfo[21].Value=191206
OsInfo[22].Key=bldtm
OsInfo[22].Value=1406
OsInfo[23].Key=bldbrch
OsInfo[23].Value=vb_release
OsInfo[24].Key=bldchk
OsInfo[24].Value=0
OsInfo[25].Key=wpvermaj
OsInfo[25].Value=0
OsInfo[26].Key=wpvermin
OsInfo[26].Value=0
OsInfo[27].Key=wpbuildmaj
OsInfo[27].Value=0
OsInfo[28].Key=wpbuildmin
OsInfo[28].Value=0
OsInfo[29].Key=osver
OsInfo[29].Value=10.0.19041.746.amd64fre.vb_release.191206-1406
OsInfo[30].Key=buildflightid
OsInfo[31].Key=edition
OsInfo[31].Value=ServerRdsh
OsInfo[32].Key=ring
OsInfo[32].Value=Retail
OsInfo[33].Key=expid
OsInfo[34].Key=fconid
OsInfo[35].Key=containerid
OsInfo[36].Key=containertype
OsInfo[37].Key=edu
OsInfo[37].Value=0
FriendlyEventName=Stopped working
ConsentKey=APPCRASH
AppName=Remote Desktop Services
AppPath=C:\windows\System32\svchost.exe
NsPartner=windows
NsGroup=windows8
ApplicationIdentity=097D38C6EE88031AC50A5FF3F9857982
MetadataHash=686507704

 

I can't see anything interesting in any of the logs (that I've checked) immediately before or after the crash times. 

 

I'm a little lost as to what my next steps need to be here. I've just now loaded the reg settings as described here: Remote desktop services crashes (microsoft.com) . Hopefully a proper dump will be able to shed some light on things, but I'm not amazingly hopeful. Plus it's not great knowing that I need it to fault at least one more time.

 

Having played with Terminal Services before (right back to NT and Citrix Metaframe days), I'm immediately suspicious of client machine graphics drivers and client printers. But I've got nothing to back that up at this point.

 

The system started off very stable, and ran for months without issue. Then the odd "hiccup" started to creep in - low frequency enough that I put it down to just needing a regular reboot cadence. But we've had three outages this week alone - I feel it's getting worse. 

 

What else have I done:

  • I've run sfc /scannow - no problems found.
  • I've run DISM /Online /Cleanup-Image /RestoreHealth - no issues.
  • Run back through the entire Microsoft guide on deploying WVD, inc the Deployment Best Practices and configuration of FSLogix components. I've crossed t's and dotted i's - I can't see where I've deviated from the recommended process (not to say I haven't, but I certainly can't see it if I did)
  • I thought about setting up Insights, Alerts and Logs on the Azure side for the VM, but not sure that will give me anything over and above what I already have? The VM isn't falling over. Just that one process.
  • All users are E5 licensed. AzureADDS is working correctly, people log in with their Office365 accounts, Azure File Shares are secured with their AzureADDS credentials - it all works a treat. 
  • Users are geographically close to the Azure region (all users are in Melbourne CBD. Azure resources all in AU South East). 

 

Does anyone have any advice on where I should be looking next with this? 

 

My plan (such as it is):

  • Wait for the application to fault again, grab the minidump and see if it holds any smoking guns
  • Maybe build a second host, so that if/when the first goes down at least it only affects 50% of the staff. Bandaid solution at best, but it might help to ease the pain. 

 

Thoughts? Any and all suggestions will be graciously accepted at this point. 

 

Cheers,

Matt

5 Replies
Hi Matt,

Our WVD environment had the same problem for the past weeks.
One of the users was trying to open mp4-files. Everytime she tried that, all the users of that Session Host were disconnected, exactly like in your case. They could connect after that without any trouble.
We changed the program for MP4-files from the 'Windows default program' to a 'third party program'. After that we have had no more disconnected sessions, yet.
I hope this will help you finding the solution for your environment.
Hi PetersBrothers,

That is SUPER interesting! Thanks for posting here.

How ever did you track it down to the mp4 file? Did the user complain that every time they tried to play the file it booted them out, or were you able to track it through the logs somehow?

I'll install something like VLC player on the server tonight, and we'll see if that changes anything.

Interestingly, we've not had the problem reoccur for 3 weeks now. Either Microsoft has changed something with a patch, or the user simply gave up trying to play their mp4.

I'll post back with what I find out.

Again - many thanks your reply.

Cheers,
Matt

@Matt_Ignite We did not track it down to the mp4 file. The user told us that it happened every time she tried to play an MP4 file.

We installed VLC as well.

Closing the loop on this one with a happy ending. After working with Azure Tech Support, we upgraded the session host (Windows 10 Multisession) to the 21H1 feature release as soon as it went GA. This instantly cured the issue - it's been 2 weeks now without a single hint of any interruption and the system has been rock-solid stable.

 

We may not yet be 100% out of the woods, but 2 weeks without an interruption is a massive improvement on the previous symptoms, where we would get a mass-disconnection on average every second day, some times experiencing a number of these incidents in a single day.

 

For anyone struggling with the same issue, I'd highly recommend upgrading the session hosts ASAP.

 

Cheers,

Matt

Hi all,

Posting for anyone else who finds this thread. Unfortunately I jumped the gun with this one. While 21H1 has helped, we're averaging one Remote Desktop crash every 2 weeks now, which results in all the active sessions getting booted off into a Disconnected state.

It's better than it was, for sure, but there's still something fundamentally broken here.

Am continuing to work with Azure Tech Support on this one, but so far no real idea on the root cause or any deep troubleshooting has happened. I'll post back if I ever get to the bottom of it. Suffice to say, pretty disillusioned with both WVD and MSFT/Azure tech support.