Since Windows Terminal Preview 1.22, Windows Terminal is released on GitHub with Administrative Templates that help you to configure Windows Terminal using Group Policy.
Group Policy is a feature in Microsoft Windows that allows administrators in a business environment to manage and configure operating system settings, applications, and user environments centrally, including access available via Windows Terminal. Learn more in Group Policy overview for Windows Server.
How to set up Windows Terminal Group Policy
Download
You can find the latest administrative templates (ADMX and ADML files) in the assets section of our newest Windows Terminal release on GitHub. The file is named GroupPolicyTemplates-<Version>.zip
Add the administrative template to an individual computer
Unzip the GroupPolicyTemplates-<Version>.zip file to your Policy Definition template folder (C:\Windows\PolicyDefinitions).
Note
The Group Policy is available in English (United States region), or en-US, as the fallback language. If no language-location specific context is added, the en-US default will be used.
Add the administrative template to Active Directory
On a domain controller (a server that responds to security authentication requests within a Windows Server domain) or a workstation with RSAT, go to the PolicyDefinition folder (also known as the Central Store) on any domain controller for your domain. For older versions of Windows Server, you might need to create the PolicyDefinition folder. For more information, see How to create an manage the Central Store for Group Policy Administrative Templates in Windows
Copy the WindowsTerminal.admx file to the PolicyDefinition folder.
(%systemroot%\sysvol\domain\policies\PolicyDefinitions)
Copy the WindowsTerminal.adml file to the matching language folder in your language folder in your Policy Definition folder. Create the folder if it does not already exist.
(%systemroot%\sysvol\domain\policies\PolicyDefinitions\EN-US)
If your domain has more than one domain controller, the new ADMX files will be replicated to them at the next domain replication interval.
You will need to import Windows.admx since the Windows Terminal ADMX files contains references to that file.
Policies
Disabled Source Profiles
Supported on Windows Terminal 1.21 or later, this policy disables source profiles from being generated. Source names can be arbitrary strings. Potential candidates can be found as the "source" property on profile definitions in Windows Terminal's settings.json file.
Common sources are:
Windows.Terminal.Azure
Windows.Terminal.PowershellCore
Windows.Terminal.Wsl
For instance, setting this policy to Windows.Terminal.Wsl will disable the built-in WSL integration of Windows Terminal. Existing profiles will disappear from Windows Terminal after adding their source to this policy.
Group Policy (ADMX) information
GP unique name: DisabledProfileSources
GP name: Disabled Profile Sources
GP path: Administrative Templates/Windows Components/Windows Terminal/
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Windows Terminal feedback
Windows Terminal is an open source project. Select a link to provide feedback:
Plan and execute an endpoint deployment strategy, using essential elements of modern management, co-management approaches, and Microsoft Intune integration.