Share via


Teams Desktop: GPO to start Teams in system tray and Desktop Icon missing

Question

Friday, October 26, 2018 9:23 PM

Hello.

I've deployed the Teams Desktop to some Desktops in my organization. I've used SCCM and the installation is OK (setup.exe -s with user context).

Only two points:

*** Teams icon at desktop is missing. (%userprofile%\appdata\local\Microsoft\teams\current\teams.exe exist and Works). How to install and put a icon on the desktop (it's only with script?)?

*** Teams starts in fullscreen. Some way to start in system tray? Or maybe in background? I don't need to stop Teams execution at startup, ok? :-)

All replies (6)

Monday, October 29, 2018 2:56 AM

Half dead here, yeah?


Monday, October 29, 2018 5:48 AM

Hi Lacerda Adrecal,

  1. Put the Teams icon on desktop:
    I suggest you could try to use the script of Install Microsoft Teams Desktop Client with GPO to install the MS teams, after doing this, it will place a Microsoft Teams icon on user’s desktop. You could refer to the blog Deploying the Microsoft Teams Desktop Client to find more details.

  2. Start Teams in system tray:
    Based on my research, you could set it by edit desktop-config.json file, the file is under the path: %APPDATA%\Roaming\Microsoft\Teams, you could try to set the appPreferenceSettings element to the following value: "appPreferenceSettings":{"openAsHidden":true,"openAtLogin":false,"runningOnClose":true}
    You could refer to the similar case to find more details about this.

Best Regards,
Evan Jiang
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact [email protected].


Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.


Wednesday, October 31, 2018 5:34 AM

Hi Lacerda Adrecal,

Is there any update for this issue, if the reply is helpful to you, please try to mark it as an answer, it will help others who have the similar issue.

Best Regards,
Evan Jiang
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact [email protected].


Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.


Thursday, May 16, 2019 9:41 PM

I know this is old, but here is some powershell script that I use to force Teams to start in the background:

#Set the source file
$SourceConfigFile = "$env:userprofile\\AppData\Roaming\Microsoft\Teams\desktop-config.json"

#Read the settings file
$TeamsSettings = (Get-Content -Path $SourceConfigFile | ConvertFrom-Json)

#Set Teams to Auto-Start, open in the backgroup, keep running on close, and register teams as the chat app for Office
$TeamsSettings.appPreferenceSettings.openAsHidden = $true
$TeamsSettings.appPreferenceSettings.openAtLogin = $true
$TeamsSettings.appPreferenceSettings.registerAsIMProvider = $true

#Overwrite the settings file
$TeamsSettings | ConvertTo-Json -Compress | Set-Content -Path $SourceConfigFile -Force
Write-verbose $TeamsSettings.appPreferenceSettings.openAsHidden

Tuesday, October 22, 2019 8:31 PM

How did do you go about apply this, SCCM compliance setting?


Thursday, July 2, 2020 9:56 PM

Oh look, another Microsoft product that doesn't have a useful corresponding ADMX and requires a script and/or reg hack to get it to do something to help make it usable in the real world. 

I'm not angry Microsoft, just disappointed...

Thanks a bunch to those who take the time to post potential solutions for us beggars who live and operate in the real world.