SOLVED
Home

Disable auto start or enable auto-sign in

%3CLINGO-SUB%20id%3D%22lingo-sub-786691%22%20slang%3D%22en-US%22%3EDisable%20auto%20start%20or%20enable%20auto-sign%20in%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-786691%22%20slang%3D%22en-US%22%3E%3CP%3EHi!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20installing%20Office%20365%20ProPlus%20(with%20Teams)%20on%20computers%20in%20our%20environment.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20any%20way%20to%20prevent%20the%20log-in%20screen%20that%20pops%20up%20for%20Microsoft%20Teams%20on%20a%20fresh%20computer%3F%3C%2FP%3E%3CP%3EI'd%20prefer%20it%20to%20auto-sign%20in%2C%20but%20if%20that%20is%20not%20possible%20then%20I'd%20like%20to%20prevent%20auto%20start%20on.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20registry%20settings%20that%20I%20can%20set%20on%20computers%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-786691%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministrator%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-786790%22%20slang%3D%22en-US%22%3ERe%3A%20Disable%20auto%20start%20or%20enable%20auto-sign%20in%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-786790%22%20slang%3D%22en-US%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F373157%22%20target%3D%22_blank%22%3E%40mrkesu%3C%2FA%3E%2C%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20can%20100%25%20prevent%20auto%20start%20via%20a%20GPO%2C%20amending%20the%20JSON%20on%20the%20users%20machine%20or%20going%20into%20the%20Teams%20client%20options%20and%20doing%20it%20user%20per%20user%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Teams%2FHow-to-Prevent-Teams-from-Auto-Launch%2Fm-p%2F780817%23M35866%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Teams%2FHow-to-Prevent-Teams-from-Auto-Launch%2Fm-p%2F780817%23M35866%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3ECan%20also%20do%20it%20via%20Registry%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fblog.valeconsulting.co.uk%2F2018%2F08%2F08%2Fmicrosoft-teams-prevent-automatic-startup%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fblog.valeconsulting.co.uk%2F2018%2F08%2F08%2Fmicrosoft-teams-prevent-automatic-startup%2F%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EAs%20for%20Auto%20Sign%20In%2C%20it%20looks%20like%20SSO%20with%20Azure%20AD%20is%20the%20way%20to%20go%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Teams%2FTeams-Single-sign-on-Automatic-login-Pass-through-auth%2Fm-p%2F37975%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Teams%2FTeams-Single-sign-on-Automatic-login-Pass-through-auth%2Fm-p%2F37975%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EA%20third%20party%20identity%20tool%20may%20also%20do%20this%20however%20after%20logging%20in%20initially%20Teams%20does%20persist%20with%20that%20login%20so%20I%20would%20consider%20whether%20this%20is%20worth%20the%20time%20investment.%20I%20know%20that%20you%20are%20looking%20for%20the%20cleanest%20UX%20for%20your%20users%20here.%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20that%20answers%20your%20question!%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-787144%22%20slang%3D%22en-US%22%3ERe%3A%20Disable%20auto%20start%20or%20enable%20auto-sign%20in%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-787144%22%20slang%3D%22en-US%22%3ETeams%20should%20auto%20login%20by%20default%20assuming%20that%20you%20are%20logged%20in%20to%20office%20pro%20plus%20with%20the%20enterprise%20credentials%20and%20they%20are%20using%20a%20PC.%20Mac%20isn%E2%80%99t%20supported.%20But%20because%20teams%20is%20modern%20auth%20by%20default%20it%20should%20use%20the%20account%20logged%20in%20with%20the%20install.%20Assume%20you%20are%20setting%20up%20the%20computers%20%2F%20install%20with%20logging%20into%20office%20with%20their%20accounts%3F%20%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20you%20are%20and%20it%E2%80%99s%20still%20not%20working%20might%20need%20to%20make%20sure%20your%20exchange%20and%20Skype%20for%20business%20(not%20sure%20this%20is%20required%20for%20Teams%20or%20not)%2C%20all%20have%20modern%20auth%20turned%20on%20as%20well%20since%20teams%20does%20talk%20to%20them%20as%20well.%20%3CBR%20%2F%3E%3CBR%20%2F%3EHere%20is%20how%20teams%20should%20work%20with%20auto%20login.%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fsign-in-teams%23how-modern-authentication-works%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fsign-in-teams%23how-modern-authentication-works%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EModern%20auth%20for%20exchange%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fclients-and-mobile-in-exchange-online%2Fenable-or-disable-modern-authentication-in-exchange-online%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Fclients-and-mobile-in-exchange-online%2Fenable-or-disable-modern-authentication-in-exchange-online%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-787181%22%20slang%3D%22en-US%22%3ERe%3A%20Disable%20auto%20start%20or%20enable%20auto-sign%20in%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-787181%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F169605%22%20target%3D%22_blank%22%3E%40Christopher%20Hoard%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20no%20idea%20how%20I%20missed%20that%20registry%20key%20in%20my%20searches%2C%20thank%20you!%26nbsp%3B%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Fhtml%2Fimages%2Femoticons%2Fsmile_40x40.gif%22%20alt%3D%22%3Asmile%3A%22%20title%3D%22%3Asmile%3A%22%20%2F%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETested%20and%20works%20exactly%20as%20advertised!%20Also%20when%20the%20user%20open%20Teams%20at%20some%20point%20of%20their%20own%20free%20will%20then%20it%20reverts%20to%20default%20%22automatically%20start%20on%20sign%20in%22%2C%20perfect.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EFor%20others%20wondering%3B%3C%2FSPAN%3E%3C%2FP%3E%3CBLOCKQUOTE%3E%3CSPAN%3E%3CA%20title%3D%22Use%20Group%20Policy%20to%20prevent%20Microsoft%20Teams%20from%20starting%20automatically%20after%20installation%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdeployoffice%2Fteams-install%23use-group-policy-to-prevent-microsoft-teams-from-starting-automatically-after-installation%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EUse%20Group%20Policy%20to%20prevent%20Microsoft%20Teams%20from%20starting%20automatically%20after%20installation%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3E...you%20can%20add%20the%20%3CSTRONG%3EPreventFirstLaunchAfterInstall%3C%2FSTRONG%3Evalue%20to%20the%20%3CSTRONG%3EHKEY_CURRENT_USER%5CSOFTWARE%5CPolicies%5CMicrosoft%5COffice%5C16.0%5CTeams%3C%2FSTRONG%3Ekey%20in%20the%20registry.%20The%20type%20for%20PreventFirstLaunchAfterInstall%20is%20%3CSTRONG%3EREG_DWORD%3C%2FSTRONG%3Eand%20the%20value%20%3CSTRONG%3Eshould%20be%20set%20to%201%20if%20you%20don't%20want%20Teams%20to%20automatically%20start%20after%20installation%3C%2FSTRONG%3E.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-787182%22%20slang%3D%22en-US%22%3ERe%3A%20Disable%20auto%20start%20or%20enable%20auto-sign%20in%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-787182%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F869%22%20target%3D%22_blank%22%3E%40Chris%20Webb%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F869%22%20target%3D%22_blank%22%3E%40Chris%20Webb%3C%2FA%3E%26nbsp%3Bwrote%3A%3CBR%20%2F%3ETeams%20should%20auto%20login%20by%20default%20assuming%20that%20you%20are%20logged%20in%20to%20office%20pro%20plus%20with%20the%20enterprise%20credentials%20and%20they%20are%20using%20a%20PC.%26nbsp%3B%3CBR%20%2F%3E%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CP%3EYes%20of%20course%2C%20I%20might%20have%20worded%20myself%20wrongly.%20On%20first%20log%20in%20after%20installation%20it%20displays%20a%20big%20window%20prompting%20the%20user%20to%20continue%20to%20sign%20in%20(basically%20just%20a%20%22Log%20In%22%20button%20that%20the%20user%20has%20to%20click%20without%20providing%20credentials...)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20GPO%20%5C%20registry%20setting%20mentioned%20above%20stops%20this%20default%20behavior%2C%20which%20is%20what%20I%20needed%26nbsp%3B%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Fhtml%2Fimages%2Femoticons%2Fsmile_40x40.gif%22%20alt%3D%22%3Asmile%3A%22%20title%3D%22%3Asmile%3A%22%20%2F%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20don't%20like%20users%20receiving%20a%20multitude%20of%20windows%20to%20deal%20with%20on%20their%20first%20sign%20in%20if%20it%20can%20be%20avoided.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-994347%22%20slang%3D%22en-US%22%3ERe%3A%20Disable%20auto%20start%20or%20enable%20auto-sign%20in%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-994347%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F169605%22%20target%3D%22_blank%22%3E%40Christopher%20Hoard%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20Chris%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eapologies%20to%20barge%20in%20this%20way%2C%20i%20was%20reading%20your%20explanation%20on%20SSO%20for%20MS%20Teams%2C%20do%20you%20have%20a%20moment%20to%20take%20a%20look%20at%20my%20topic%20and%20provide%20some%20suggestions%26nbsp%3B%20%3F%20Thanks%20in%20advance.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Teams%2FAny-method-to-disable-MS-Teams-sign-out-function-enable-auto%2Fm-p%2F991069%2Fthread-id%2F40659%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Teams%2FAny-method-to-disable-MS-Teams-sign-out-function-enable-auto%2Fm-p%2F991069%2Fthread-id%2F40659%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-994349%22%20slang%3D%22en-US%22%3ERe%3A%20Disable%20auto%20start%20or%20enable%20auto-sign%20in%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-994349%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F869%22%20target%3D%22_blank%22%3E%40Chris%20Webb%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20Chris%2C%26nbsp%3B%3C%2FP%3E%3CP%3Eapologies%20to%20barge%20in%20this%20way%2C%20i%20was%20reading%20yours%20explanation%20on%20SSO%20for%20MS%20Teams%20in%20this%20thread%20%2C%20do%20you%20have%20a%20moment%20to%20take%20a%20look%20at%20my%20topic%20and%20provide%20some%20suggestions%26nbsp%3B%20%3F%20Thanks%20in%20advance%20for%20any%20ideas%20you%20can%20provide.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Teams%2FAny-method-to-disable-MS-Teams-sign-out-function-enable-auto%2Fm-p%2F991069%2Fthread-id%2F40659%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Teams%2FAny-method-to-disable-MS-Teams-sign-out-function-enable-auto%2Fm-p%2F991069%2Fthread-id%2F40659%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
mrkesu
Occasional Contributor

Hi!

 

I'm installing Office 365 ProPlus (with Teams) on computers in our environment.

 

Is there any way to prevent the log-in screen that pops up for Microsoft Teams on a fresh computer?

I'd prefer it to auto-sign in, but if that is not possible then I'd like to prevent auto start on.

 

Any registry settings that I can set on computers?

6 Replies
Highlighted
Solution
Hi @mrkesu,

You can 100% prevent auto start via a GPO, amending the JSON on the users machine or going into the Teams client options and doing it user per user

https://techcommunity.microsoft.com/t5/Microsoft-Teams/How-to-Prevent-Teams-from-Auto-Launch/m-p/780...

Can also do it via Registry

https://blog.valeconsulting.co.uk/2018/08/08/microsoft-teams-prevent-automatic-startup/

As for Auto Sign In, it looks like SSO with Azure AD is the way to go

https://techcommunity.microsoft.com/t5/Microsoft-Teams/Teams-Single-sign-on-Automatic-login-Pass-thr...

A third party identity tool may also do this however after logging in initially Teams does persist with that login so I would consider whether this is worth the time investment. I know that you are looking for the cleanest UX for your users here.

Hope that answers your question!

Best, Chris
Highlighted
Teams should auto login by default assuming that you are logged in to office pro plus with the enterprise credentials and they are using a PC. Mac isn’t supported. But because teams is modern auth by default it should use the account logged in with the install. Assume you are setting up the computers / install with logging into office with their accounts?

If you are and it’s still not working might need to make sure your exchange and Skype for business (not sure this is required for Teams or not), all have modern auth turned on as well since teams does talk to them as well.

Here is how teams should work with auto login. https://docs.microsoft.com/en-us/microsoftteams/sign-in-teams#how-modern-authentication-works

Modern auth for exchange: https://docs.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/enable-or-disable-mo...

Highlighted

@Christopher Hoard 

I have no idea how I missed that registry key in my searches, thank you! :smile:

 

Tested and works exactly as advertised! Also when the user open Teams at some point of their own free will then it reverts to default "automatically start on sign in", perfect.

 

For others wondering;

Use Group Policy to prevent Microsoft Teams from starting automatically after installation

...you can add the PreventFirstLaunchAfterInstall value to the HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Office\16.0\Teams key in the registry. The type for PreventFirstLaunchAfterInstall is REG_DWORD and the value should be set to 1 if you don't want Teams to automatically start after installation.




Highlighted

@Chris Webb 


@Chris Webb wrote:
Teams should auto login by default assuming that you are logged in to office pro plus with the enterprise credentials and they are using a PC. 

Yes of course, I might have worded myself wrongly. On first log in after installation it displays a big window prompting the user to continue to sign in (basically just a "Log In" button that the user has to click without providing credentials...)

 

The GPO \ registry setting mentioned above stops this default behavior, which is what I needed :smile:

 

I don't like users receiving a multitude of windows to deal with on their first sign in if it can be avoided.

Highlighted

@Christopher Hoard 

 

Hi Chris, 

 

apologies to barge in this way, i was reading your explanation on SSO for MS Teams, do you have a moment to take a look at my topic and provide some suggestions  ? Thanks in advance.

https://techcommunity.microsoft.com/t5/Microsoft-Teams/Any-method-to-disable-MS-Teams-sign-out-funct...

Highlighted

@Chris Webb 

 

Hi Chris, 

apologies to barge in this way, i was reading yours explanation on SSO for MS Teams in this thread , do you have a moment to take a look at my topic and provide some suggestions  ? Thanks in advance for any ideas you can provide.

https://techcommunity.microsoft.com/t5/Microsoft-Teams/Any-method-to-disable-MS-Teams-sign-out-funct...

Related Conversations