Windows 10 User login event delay in Windows 10.

liz08

Active Member
Joined
Oct 9, 2017
Hello,

We have a user defined Appilcation to be executed after user logs in. Hence we have added it to the below path :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit

In that user defined application, we check for the login event. Once the user is logged-in, the application starts.
What we have observed is in Win 7 ,the login event is much faster as compared to Win 10. This results in a delay in startup of the application in win 10.
Please let us know if there is any way to improve the startup time of the application and also why in win 10 the login of the user is taking a lot of time.
Thank you.
 
If the application is written in a language like C# you can just register a handler for SystemEvents.SessionSwitch then detect the .SessionLogon event which is broadcasted to Winsta0 (interactive station) assuming the application is not a service.
 
The application is written in C++.
SystemEvents::SessionSwitch Event Occurs when the currently logged-in user has changed. But our requirement is for the usecase when a user is logged-in after a restart(not on each switch user).
 
Any update why user login in win 10 takes longer time than win 7?
 
Back
Top Bottom