@Sergey Gorin
Hi,
To work around this issue, you’ll need to disable the automatic system logon of the last user by setting the DisableAutomaticRestartSignOn Registry key.
Note: Make sure that you back up the registry you modify it.
Navigate to the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System
On the right pane, double-click the DisableAutomaticRestartSignOn entry to edit its properties.
Then set the Value data to 1.
Click OK.
Restart PC for the changes to take effect.
Hope above information can help you.
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.