Delay in calling UnAdvise by LogonUI.exe
I wanted to know why logonUI is taking more than 15 seconds to call UnAdvise() after ReportResult(). Any information is appreciated.
Windows API - Win32
C++
-
Junjie Zhu - MSFT 17,816 Reputation points • Microsoft Vendor
2022-09-21T09:15:48.17+00:00 Hi @Yashwanth Lokam ,
Welcome to Microsoft Q&A!Could you please share your detailed steps to reproduce this issue? like how you use
ReportResult()
. -
Yashwanth Lokam 51 Reputation points
2022-09-27T14:16:19.61+00:00 I use ReportResult() to handle errors, handle password expiry scenario and to delete registry if it is present.
-
Junjie Zhu - MSFT 17,816 Reputation points • Microsoft Vendor
2022-09-28T09:48:25.673+00:00 Hi @Yashwanth Lokam ,
Will there be such a problem with the official sample? https://github.com/microsoft/Windows-classic-samples/tree/main/Samples/CredentialProvider
I've tested it, and it doesn't appear as you said. or maybe I missed something? -
Yashwanth Lokam 51 Reputation points
2022-09-29T11:25:37.14+00:00 I have seen this problem for domain users
-
Junjie Zhu - MSFT 17,816 Reputation points • Microsoft Vendor
2022-09-30T10:15:25.39+00:00 Could you please share your detailed steps, so that we can reproduce your problem locally, which can better help you solve the problem.
-
Yashwanth Lokam 51 Reputation points
2022-10-06T10:00:20.467+00:00 I am login-in using domain users. In the report result method, I am checking for errors and registry key to check and delete registry keys. After successful authentication, when I see welcome under username, it is taking more than 15 seconds to load the user's session. I am guessing it might be because of registry key deletion. If you ever encountered this type of question, please let me know.
-
Junjie Zhu - MSFT 17,816 Reputation points • Microsoft Vendor
2022-10-11T07:38:04.303+00:00 Am I in the same situation as yours?
-
Yashwanth Lokam 51 Reputation points
2022-10-11T07:44:55.843+00:00 Yes. For you it took 5 sec. For me it is taking more than 13 secs to get into Advise
-
Junjie Zhu - MSFT 17,816 Reputation points • Microsoft Vendor
2022-10-11T08:44:34.957+00:00 What do you think the right behavior should look like?
-
Yashwanth Lokam 51 Reputation points
2022-10-11T08:59:31.327+00:00 Sometimes it takes only 1 or 2 secs. I am trying to find out the exact issue.
Sign in to comment