Ouvrir dans l'explorateur

Prevent Microsoft Teams from starting automatically after installation

Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.

Type
Utilisateur
Chemin GPO
Configuration utilisateur › Stratégies › Modèles d'administration › Microsoft Teams EN : User Configuration › Policies › Administrative Templates › Microsoft Teams
Pris en charge sur
At least Windows Server 2008 R2 or Windows 7
Fichier ADMX
teams16.admx
Nom interne
teams16/Teams_PreventFirstLaunchAfterInstall_Policy

Explication

This policy setting controls whether Microsoft Teams starts automatically when the user logs into a device after Teams is installed.

If you enable this policy setting, Teams does not start automatically when the user logs in to the device and the user has not started Teams previously.

Note: If you enable this policy setting, you must do so before Teams is installed.

Once a user starts Teams for the first time, Teams is configured to start automatically the next time the user logs into the device.

If you disable or don’t configure this policy setting, Teams automatically starts when a user logs in to the device after Teams is installed.

Note: The user can configure Teams not to start automatically by configuring user settings within Teams.

Registre

HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\teams
Nom de la valeur
preventfirstlaunchafterinstall
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_DWORD = 0

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : teams16/Teams_PreventFirstLaunchAfterInstall_Policy
$k = 'HKCU:\software\policies\microsoft\office\16.0\teams'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'preventfirstlaunchafterinstall' -Value 1 -Type DWord

Désactiver

# Désactiver : teams16/Teams_PreventFirstLaunchAfterInstall_Policy
$k = 'HKCU:\software\policies\microsoft\office\16.0\teams'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'preventfirstlaunchafterinstall' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : teams16/Teams_PreventFirstLaunchAfterInstall_Policy
$k = 'HKCU:\software\policies\microsoft\office\16.0\teams'
Remove-ItemProperty -Path $k -Name 'preventfirstlaunchafterinstall' -ErrorAction SilentlyContinue

Application

Microsoft 365 Apps / Office (Microsoft) — modèles de novembre 2026

Modèles officiels téléchargés le 12 novembre 2026.