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.
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
| État | Valeur é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 DWordDé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 DWordRevenir à « 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 SilentlyContinueApplication
Microsoft 365 Apps / Office (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.