It sounds like you're experiencing an issue where Microsoft Teams logs you out automatically on Windows 10 after a restart, which is not the case on your Windows 11 device. Here are a few things to consider:
- Domain-Joined Account Behavior: If your Windows 10 machine is domain-joined, Teams may automatically log in using the domain account. If you want to switch to another account, you need to log out manually and enter the credentials for the second account. However, if you restart the machine, Teams may log back in using the domain account again.
- Single Sign-On (SSO): If you are using SSO, signing out of Teams will not remove the account from the device, but it may require you to re-enter your credentials upon signing back in. This behavior can vary between devices and configurations.
- Registry Settings: If you want to prevent Teams from pre-populating the username on the sign-in screen, there are registry settings that can be adjusted. However, this may not directly address the auto log-out issue you are facing.
- Shared Device Mode: If you are using a shared device, consider whether the settings for shared devices are affecting your Teams experience. In some cases, using cloud computers for shared devices can help manage user sessions better.
If none of these suggestions resolve your issue, you may want to reach out to your IT department or Microsoft support for further assistance, as they can provide more tailored help based on your specific setup.
References: