SOLVED

Allow Teams application start minimized

%3CLINGO-SUB%20id%3D%22lingo-sub-1124951%22%20slang%3D%22en-US%22%3EAllow%20Teams%20application%20start%20minimized%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1124951%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20starting%20to%20use%20Microsoft%20Team%20in%20the%20company.%20We%20have%20automatic%20startup%20set%20up%20when%20the%20user%20logs%20in%20to%20Windows%2010%20and%20we%20need%20it%20to%20start%20in%20minimized%20mode%20and%20there's%20no%20way.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20problem%20is%20that%20every%20time%20we%20turn%20on%20the%20computer%2C%20Teams%20starts%20and%20you%20see%20the%20last%20conversation%2C%20last%20work%20computer%2C%20etc%20and%20we%20don't%20want%20it%20to%20be%20seen%20because%20there%20may%20be%20confidential%20information%20that%20we%20don't%20want%20to%20show%20when%20we%20turn%20on%20the%20computer%20to%20have%20a%20meeting%20with%20an%20external%20party.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20you%20add%20some%20functionality%20in%20the%20menu%20that%20allows%20the%20execution%20of%20Teams%20in%20minimized%20mode%3F%20With%20Microsoft%20Skype%20for%20Business%20it%20is%20possible%20and%20we%20don't%20understand%20why%20not%20with%20Teams.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1124951%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Ebackground%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ECommunity%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMinimized%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESettings%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETeams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1125595%22%20slang%3D%22en-US%22%3ERe%3A%20Allow%20Teams%20application%20start%20minimized%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1125595%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9476%22%20target%3D%22_blank%22%3E%40Linus%20Cansby%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20didn't%20see%20this%20menu%2C%20but%20now%20I%20have%20found%20it!!!.%20It's%20is%20at%20the%20top%20right%20of%20Teams%20application%20click%20in%20the%20%22avatar%22!!%20%3B)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20309px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F166881iF96E385D47217D18%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22Teams.jpg%22%20title%3D%22Teams.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1832415%22%20slang%3D%22de-DE%22%3ERe%3A%20Allow%20Teams%20application%20start%20minimized%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1832415%22%20slang%3D%22de-DE%22%3E%3CP%3EHello%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20had%20the%20same%20problem%20under%20Linux%20(Ubuntu%2018.04%20with%20XFCE4%20desktop).%20After%20some%20research%20on%20the%20WEB%20I%20applied%20a%20suggested%20solution%20using%20python3%20and%20xdotools.%3C%2FP%3E%3CP%3EHere%20the%20link%20to%20python%20scripts.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fitectec.com%2Fubuntu%2Fubuntu-how-to-run-a-program-on-startup-minimized%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fitectec.com%2Fubuntu%2Fubuntu-how-to-run-a-program-on-startup-minimized%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EI%20use%20the%20solution%20that%20uses%20the%20PID%20of%20the%20process%20and%20it%20works%20fine%20for%20me.%3C%2FP%3E%3CP%3ESo%20I%20removed%20the%20standard%20%22MS-Teams%22%20default%20autostart%20entry%20from%20xfce4%20(I%20deactivate%20the%20checkbox%20under%20the%20settings%20of%20Teams)%20and%20added%20a%20new%20one%20that%20call%20a%20shell%20script%20that%20call%20the%20python%20script.%20The%20autostart%20entry%20on%20my%20system%20is%20located%20unde.%3A%20.config%2Fautostart%2FstartMicrosoftTeamsMinimized.desktop.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20attached%20some%20shell%2Fpython%2Fdesktop%20files.%3CBR%20%2F%3E%3CBR%20%2F%3EHave%20fun%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F627263%22%20target%3D%22_blank%22%3E%40tavy72%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1125117%22%20slang%3D%22en-US%22%3ERe%3A%20Allow%20Teams%20application%20start%20minimized%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1125117%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20check%20in%20settings%20you%20have%20the%20option%20%22Open%20application%20in%20background%22%2C%20that%20will%20start%20Teams%20but%20it%20will%20only%20run%20in%20the%20background%20and%20not%20as%20open%20window%20when%20the%20computer%20starts.%20Test%20that%20setting.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F166795iA0BEDEEA9D23EB77%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22clipboard_image_0.png%22%20title%3D%22clipboard_image_0.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20is%20also%20a%20uservoice%20requesting%20this%20setting%20to%20be%20configured%20globaly.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fmicrosoftteams.uservoice.com%2Fforums%2F555103-public%2Fsuggestions%2F31933039-global-setting-for-enable-teams-to-start-minimiz%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmicrosoftteams.uservoice.com%2Fforums%2F555103-public%2Fsuggestions%2F31933039-global-setting-for-enable-teams-to-start-minimiz%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1871518%22%20slang%3D%22en-US%22%3ERe%3A%20Allow%20Teams%20application%20start%20minimized%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1871518%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F9476%22%20target%3D%22_blank%22%3E%40Linus%20Cansby%3C%2FA%3E%26nbsp%3BThat%20does%20not%20prevent%20Teams%20from%20launching%20into%20an%20%22in%20focus%22%20window.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2139204%22%20slang%3D%22en-US%22%3ERe%3A%20Allow%20Teams%20application%20start%20minimized%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2139204%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F462019%22%20target%3D%22_blank%22%3E%40jbarberan%3C%2FA%3E%26nbsp%3BLate%20to%20the%20party%20here%2C%20but%20we've%20attempted%20to%20automate%20it%20here%20in%20case%20it%20helps%20anybody%20who%20stumbles%20upon%20this%20post%20in%20future%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.alkanesolutions.co.uk%2F2021%2F01%2F16%2Flaunch-microsoft-teams-minimised-in-the-system-tray%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.alkanesolutions.co.uk%2F2021%2F01%2F16%2Flaunch-microsoft-teams-minimised-in-the-system-tray%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

We are starting to use Microsoft Team in the company. We have automatic startup set up when the user logs in to Windows 10 and we need it to start in minimized mode and there's no way.

 

The problem is that every time we turn on the computer, Teams starts and you see the last conversation, last work computer, etc and we don't want it to be seen because there may be confidential information that we don't want to show when we turn on the computer to have a meeting with an external party.

 

Can you add some functionality in the menu that allows the execution of Teams in minimized mode? With Microsoft Skype for Business it is possible and we don't understand why not with Teams.

 

Thank you

15 Replies
best response confirmed by jbarberan (Occasional Contributor)
Solution

Hi,

 

If you check in settings you have the option "Open application in background", that will start Teams but it will only run in the background and not as open window when the computer starts. Test that setting.

clipboard_image_0.png

 

There is also a uservoice requesting this setting to be configured globaly.

https://microsoftteams.uservoice.com/forums/555103-public/suggestions/31933039-global-setting-for-en...

 

 

Thanks @Linus Cansby 

 

I didn't see this menu, but now I have found it!!!. It's is at the top right of Teams application click in the "avatar"!! ;)

Teams.jpg

 

 

Great that you found the setting and I hope it will do what you wanted. Cheers!

@Linus Cansby 

Unfortunately this option is not available in Linux version.

Yes, the setting is there, but it does not do anything. I have tried uncheckin and checking it again, but Teams still opens up in a window, not minimized, after a restart. Any ideas for how to fix this? @Linus Cansby 

@mstendah You could try clearing cache and/or reinstall Teams from your computer.

https://commsverse.blog/2018/09/28/clear-the-microsoft-teams-client-cache/

@Linus Cansby Running Microsoft Teams Version 1.3.00.21759 (64-bit).  I've got the same problem (application launches full screen every time even with "open in background" setting checked).  Cleared the Teams cache and no change

Start Teams with this parameter:
Update.exe --processStart "Teams.exe" --process-start-args "--system-initiated"

or in the registry:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"com.squirrel.Teams.Teams"="C:\\Users\\xxxx\\AppData\\Local\\Microsoft\\Teams\\Update.exe --processStart \"Teams.exe\" --process-start-args \"--system-initiated\""

Hello,

 

ich had the same problem under Linux (Ubuntu 18.04 with XFCE4-Desktop). After some research on the WEB I applied a suggested solution using python3 and xdotools.

Here the link to python scripts.

 

https://itectec.com/ubuntu/ubuntu-how-to-run-a-program-on-startup-minimized/


I use the solution that uses the PID of the process and it works fine for me.

Also I removed the standard "MS-Teams" default autostart entry from xfce4 (I deactivate the checkbox under the settings of Teams) and added a new one that call a shell script that call the python script. The autostart entry on my system is located undeŕ: ~/.config/autostart/startMicrosoftTeamsMinimized.desktop.

I have attached some shell/python/desktop files.

Have fun

 

@tavy72 

@ale974 This is a great solution. Can you provide similar script for Windows? I need to achieve the same.

@gardenzwerg The registry change suggested is not working. Do you know any alternate way?

@dpjha Hi, don't know what has been done or not. But I would try this.

 

1. Verify the checkbox "start in background" is ticked and sign out of Teams desktop manually (top right corner).

2. Clear Teams cache (reset the app) by deleting all content here %appdata%\Microsoft\Teams

3. Sign into Teams and verify the start up behavior.

4. If it doesn't work. Uncheck the box and sign out of Teams manually and then back in and check it again.

5. If still no luck, reset all Teams autostart settings and then go to the Teams settings and verify.

https://docs.microsoft.com/en-us/microsoftteams/scripts/powershell-script-teams-reset-autostart 

6. If you need to manage the entire autostart process you can use this.

https://docs.microsoft.com/en-us/microsoftteams/msi-deployment#prevent-teams-from-starting-automatic... 

 

 

 

@Linus Cansby That does not prevent Teams from launching into an "in focus" window.

@jbarberan Late to the party here, but we've attempted to automate it here in case it helps anybody who stumbles upon this post in future: https://www.alkanesolutions.co.uk/2021/01/16/launch-microsoft-teams-minimised-in-the-system-tray/

 

 

Thank you, that did it for me. I had to use the command line to disable media keys as well.