Failed to get WTSSessionInformation

%3CLINGO-SUB%20id%3D%22lingo-sub-2033428%22%20slang%3D%22en-US%22%3EFailed%20to%20get%20WTSSessionInformation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2033428%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20we%20have%20implemented%20Windows%20Virtual%20Desktop%2C%20and%20I%20noticed%20in%20the%20event%20viewer%20that%20there%20is%20an%20error%20regarding%20WTSSessionInformation.%20It%20appears%20each%20time%20a%20user%20logs%20in.%3C%2FP%3E%3CP%3E%22QuerySessionInformationAsync%3A%20failed%20to%20get%20WTSSessionInformation%20for%20Id%3A%202.%20Exception%20%3D%20System.Exception%3A%20QuerySessionInformationAsync%3A%20no%20user%20associated%20with%20this%20session%3CBR%20%2F%3E%C3%A0%20Microsoft.RDInfra.RDAgent.Service.SessionController.%3CQUERYSESSIONINFORMATIONASYNC%3Ed__32.MoveNext()%20dans%20S%3A%5Csrc%5CRDAgent%5Csrc%5CService%5CSessionController.cs%3Aligne%20510%22%3C%2FQUERYSESSIONINFORMATIONASYNC%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20anyone%20has%20experienced%20that%20%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2037419%22%20slang%3D%22en-US%22%3ERe%3A%20Failed%20to%20get%20WTSSessionInformation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2037419%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F918679%22%20target%3D%22_blank%22%3E%40ArnCat%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3EThanks%20for%20reporting.%20This%20error%20you%20see%20is%20benign%2C%20you%20can%20ignore%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hello, 

 

So we have implemented Windows Virtual Desktop, and I noticed in the event viewer that there is an error regarding WTSSessionInformation. It appears each time a user logs in.

"QuerySessionInformationAsync: failed to get WTSSessionInformation for Id: 2. Exception = System.Exception: QuerySessionInformationAsync: no user associated with this session
à Microsoft.RDInfra.RDAgent.Service.SessionController.<QuerySessionInformationAsync>d__32.MoveNext() dans S:\src\RDAgent\src\Service\SessionController.cs:ligne 510"

 

Does anyone has experienced that ? 

 

Thanks in advance

 

 

1 Reply

@ArnCat ,

Thanks for reporting. This error you see is benign, you can ignore it.