Voorkomen dat Microsoft Teams automatisch wordt gestart na de installatie: registerwaarde preventfirstlaunchafterinstallGebruikerHKCU\software\policies\microsoft\office\16.0\teams

Beleids-ID
Teams_PreventFirstLaunchAfterInstall_Policy
Bereik
Gebruikersconfiguratie
Ondersteund op
Minimaal Windows Server 2008 R2 of Windows 7
Bron
Microsoft 365 Apps / Office Administrative Templates (versie 5568.1000)
Categorie
Microsoft Teams

Register

preventfirstlaunchafterinstall

REG_DWORDGebruiker
Waarde bij ingeschakeld
1
Waarde bij uitgeschakeld
0
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\teams]

; Opties (gebruik er maar één)
; Ingeschakeld
"preventfirstlaunchafterinstall"=dword:00000001
; Uitgeschakeld
"preventfirstlaunchafterinstall"=dword:00000000
CMD
:: Opties (gebruik er maar één)

:: Ingeschakeld
reg add "HKCU\software\policies\microsoft\office\16.0\teams" /v "preventfirstlaunchafterinstall" /t REG_DWORD /d 1 /f
:: Uitgeschakeld
reg add "HKCU\software\policies\microsoft\office\16.0\teams" /v "preventfirstlaunchafterinstall" /t REG_DWORD /d 0 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\teams' -Force | Out-Null

# Opties (gebruik er maar één)
# Ingeschakeld
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\teams' -Name 'preventfirstlaunchafterinstall' -PropertyType DWord -Value 1 -Force | Out-Null
# Uitgeschakeld
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\teams' -Name 'preventfirstlaunchafterinstall' -PropertyType DWord -Value 0 -Force | Out-Null