Forum Discussion
chenrylee
Jun 28, 2019Brass Contributor
How to Prevent Teams from Auto-Launch
Hi guys,
I plan to deploy Teams in my company, and there's a headache.
I don't want Teams auto launches when system starts, and when I install it, I use this script:
msiexec /i "%temp%\Teams_windows_x64.msi" /QN OPTIONS="noAutoStart=true"
It works, and after a reboot, Teams icon appears on desktop but Teams doesn't launch.
And I double-click the icon to start this app, then close it, and then restart my laptop, Teams auto launched, and I found the registry item:
Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
Value: com.squirrel.Teams.Teams
Data: %LocalAppData%\Microsoft\Teams\Update.exe --processStart "Teams.exe" --process-start-args "--system-initiated"
My Question is:
Is there a way to set "auto-start application" is uncheched as default option?
Thank you in advance. :)
- Hi chenrylee
AFAIK, not currently possible. Whilst you can script it or have a user uncheck it in the settings it does not occur by default
There are multiple uservoices of disabling the start up option, such as this
https://microsoftteams.uservoice.com/forums/555103-public/suggestions/33728680-disable-startup-option
There is one here to turn off autostart for the entire tenant which may be closer to what you need.
https://microsoftteams.uservoice.com/forums/555103-public/suggestions/33922291-disbale-autostart-in-teams-app-for-the-entire-tena
If these don't cover exactly what you need I would raise this as a new uservoice. To note however, it could be some time to get picked up and really, I think the general desire from organisations to use Teams is more to have autostart on by default rather than off
Hope that answers your question!
Best, Chris
- whackasstechCopper ContributorI used this article to disable autostart for Teams enterprise application: https://whackasstech.com/microsoft/msintune/how-to-disable-microsoft-teams-auto-start-with-microsoft-intune/
- luismittoCopper ContributorHello,
I found the fix by mistake,
In my case, not all users migrated to Teams, some of them just use it for external invites.
For this users, that use S4B for all, meetings or IM; the status in Outlook was taken by Teams, leading to confusion to many of them. They were not busy or meeting when they really were.
The Option in the cloud with that option centralized is missing, I hope it comes soon:)
The only thing I did was create a new User config GPO updating the registry key:
Computer\HKEY_CURRENT_USER\SOFTWARE\IM Providers DefaultIMApp=lync
But if you would type "Lync" with L capital, as I found if different posts ,it wont work ;( Teams will overwrite the value to "Teams" every time.
With this workaround, the options in Teams settings: "Auto-start" and "Use Teams as default app.." are not making any difference to the registry. I cannot explain it but It works.
regards - Sean Kearney
Microsoft
There is this option using PowerShell for the user to edit the XML configuration
Configuring Startup Settings in Microsoft Teams with Windows PowerShell | Scripting Blog
- ChopperDude 6Copper ContributorThat's fine for individuals, but when you manage over eight THOUSAND computers, that's not really an option. And if all eight thousand are ALWAYS connected to teams, an organization can run out of bandwidth pretty quickly, especially if they all have cameras. Think before you decide what the "Best" solution is.
- YadleyBBrass Contributor
Hallo chenrylee
Hope all is well 🙂
This is one of those interesting topics which app "coulda-woulda-shoulda" part of auto-start and which is not :). I don't think there is any easy-peasy default option to disable the switch. I think its just by design, and am not sure or i won't comment if it's a design flaw. I think Microsoft has deliberately kept it on since the beginning in 2017's end if am not wrong. It is all about how users want the app to behave. Lot of great minds have proposed solutions via script, gpo etc. in their replies which is great. Appreciate it and it adds to my knowledge base too Thanks to all of them. I have couple of Adoption stories and thru my experience I have worked closely with lots of customers with different mindsets.
for instance
** some people like every daily application to be turned on default, they don't want to click button/icons. JUST POP. LOL.
** some people know their application usage and smart enough to think which apps they want ON by default as the system starts and which can be put on/off on demand.
** some people just don't want any apps to switch-on at the start... They want system to be in control of them.. and i like it .... HEHE
I would suggest if you don't mind to do some survey with some of your most trusted PILOTS thru different departments who can give you the honest feedback about the behaviour and usage and that might open up the thoughts to what to put up as a standard policy and implement solution and silent rollout in batches (since we are talking about enterprise rollout) if its not gonna be noisy one.... e.g. you don't want some VP bounce in his/her seat one fine morning when coffee is still hot and yell .. why Teams is not opening by default ... aoouch ... panic button pressed...
- econceptsCopper Contributor
YadleyB" It is all about how users want the app to behave" Wrong, its about how MS wants the users to behave. It should be up to Management and IT as to what applications are rolled out, MS has diverged with Teams by forcing Teams down everyone's throat whether they want it or not. Those people that want to have everything running automatically when they start their computer have always needed to find a way to do so, why then is Teams the exception? Any administrator can write a GPO to enforce policy, but even admins are having trouble keeping Teams off, if necessary. Ridiculous.
- DanielBoydCopper Contributor
econcepts I totally agree. I think it is scandalous how Microsoft is operating here. Forced-installing and forced-autostart is unacceptable for any software house, and I am deeply disappointed in Microsoft for succumbing to the temptation, for instance using AppsData to get around admin rights. I have taken this up with my Account Manager, but the response only showed how completely uninterested is in their actual customers. What I really don't understand is why Google and Facebook get hauled over the coals for less, and Microsoft can get away with this kind of practice. Now Edge is also being autoinstalled and hard set as default browser - I thought they lost that legal battle many years ago with IE, but apparently that has now been forgotten. If anyone from Microsoft is reading and interested, I would welcome a meaningful dialogue.
- aleneziBrass ContributorTo stop Teams from launching automatically, click on Start / Settings / Apps / Startup. Turn off Microsoft Teams. If that doesn't work or if Microsoft Teams is not in that list, sign in to Teams with your business Office 365 email address and password
- econceptsCopper Contributor
alenezi That only works if teams is installed. To test, uninstall it. It will install itself again and run. After that you can, of course, probably disable it in startup. The OP said "His Company" the assumption there is that he is IT and is looking for a solution that does not require all the users to know how to disable startup programs. I personally am quite annoyed at Teams startup spamming all my users at the same time. That was not cool, Microsoft.
- JensNygaardCopper Contributor
There are new ADMX templates for this!! Thanks Microsoft.. 🙂
- MattGrantBrass ContributorI just open Task Manger and click on the startup tab, then right click on MS Teams an set it to disable. Works on every computer I have done it on.
- DeepakMhaskarCopper Contributor
Right Click on Teams tray icon, go to settings > General and uncheck "Auto-start application. Please refer attacged screenshot.
Hope this helps!
chenrylee we can make use of GPO/intune (if the devices managed by intune) to enable or disable the teams auto startup for users .http://eskonr.com/2018/11/how-to-disable-or-enable-auto-start-of-teams-application-using-gpo/
Thanks,
Eswar
- MrJoshuaCopper Contributor
You can create a GPO to delete HKCU\Software\Microsoft\Windows\CurrentVersion\Run com.squirrel.Teams.Teams
- MrDavoCopper Contributor
I tried the GPO / Registry delete method, but after a reboot the automatic restart resumes.
- Alejandro1111Copper Contributor
MrJoshuaThat sounds great, but not sure what GPO is or how to do that, will the change work on all devices example an Ipad, we see is happening on the desktop app and the ipad app, if more information will be appreciated! thank you
- MrJoshuaCopper Contributor