Registry data refreshed from vendors: Last vendor change detected: 5 Dec 2026Next refresh: 1st of the monthApp v1.4.0 (5 Dec 2026): Cleanup or tattoo: see what stays behind after a GPO is removed. Release notes
Microsoft 365 Apps (ADMX) · teams16.admx

teams16.admx: 2 policies

Generated from Microsoft 365 Apps Administrative Template files on 2026-12-05. Titles, explanations and "Supported on" text are Microsoft's own, from the en-US ADML file.

Prevent Microsoft Teams from starting automatically after installation

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\teams
Value namepreventfirstlaunchafterinstall
Enabled writes1 (REG_DWORD)
Disabled writes0 (REG_DWORD)
What it does (vendor explanation)

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.

Group Policy path: User Configuration > Administrative Templates > Microsoft Teams > Prevent Microsoft Teams from starting automatically after installation

PowerShell equivalent (generated from the template)
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\teams' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\teams' -Name 'preventfirstlaunchafterinstall' -Value 1 -PropertyType DWord -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: teams16.admx · policy name Teams_PreventFirstLaunchAfterInstall_Policy

Restrict sign in to Teams to accounts in specific tenants

Per user Release not stated

Supported on: windows:SUPPORTED_Windows7

When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works

Registry keyHKCU\software\policies\microsoft\office\16.0\teams
OptionValueTypeAllowed values
Tenant IDs:restrictteamssignintoaccountsfromtenantlistREG_SZText
What it does (vendor explanation)

This policy setting allows you to control the accounts that can be used in Teams on managed devices running Windows.

If you enable this policy setting, users will only be allowed to sign in with accounts from Azure Active Directory (Azure AD) tenants that you specify. You can enter a comma separated list of tenant IDs.

The policy setting applies to all ways that the user signs in, including first and additional accounts on versions of Teams that support multiple accounts side by side.

The policy setting is also enforced when users sign out and sign back in.

If you disable or don't configure this policy setting, Teams will continue to allow users to sign in with work or school accounts, or personal Microsoft accounts.

Important: This policy setting only restricts which users can sign in. It does not restrict the ability for users to be invited as a guest in other Azure AD tenants, or switch to tenants they were invited to.

Note: This policy does not apply to Teams web app.

Group Policy path: User Configuration > Administrative Templates > Microsoft Teams > Restrict sign in to Teams to accounts in specific tenants

PowerShell equivalent (generated from the template)
# Tenant IDs:
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\teams' -Name 'restrictteamssignintoaccountsfromtenantlist' -Value <value> -PropertyType String -Force

Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".

Microsoft 365 Apps and OfficeADMX: teams16.admx · policy name String_Teams_SignInRestriction_Policy