[Enterprise, GPO] Add "Default Terminal app" policy to definition template #18363
+93
−24
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary of the Pull Request
This PR implements a policy definition for setting/enforcing the default terminal application.
References and Relevant Issues
GitHub (issues):
Docs:
Detailed Description of the Pull Request / Additional comments
This PR adds a new policy definition to the ADMX templates for settings the default Terminal application in Windows.
Note
This PR does not change any code of Windows, Console Host or WIndows Terminal. It only adds the definiton for a new policy to the templates.
I got the registry values form the documentation and by testing the values.
The policy is only available as user policy because the registry values have to be in HKCU.
The Policy is implemented as preference (not inside the Policy key) and therefore keeps it's value on removing (not configured) it. You can see this in
gpedit.msc
on the policy symbol and the hint in the description.Validation Steps Performed
Manual testing the policy.
PR Checklist