Skip to content

Commit

Permalink
Configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
krschau committed Oct 31, 2024
1 parent 97d7ec0 commit 19ee6cc
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
30 changes: 30 additions & 0 deletions src/gpo/assets/DevHome.admx
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) Microsoft Corporation.
Licensed under the MIT License. -->
<policyDefinitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="0.1900" schemaVersion="1.0" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions">
<policyNamespaces>
<target prefix="devhome" namespace="Microsoft.Policies.DevHome" />
</policyNamespaces>
<resources minRequiredRevision="0.1900"/>
<supportedOn>
<definitions>
<definition name="SUPPORTED_DEVHOME_0_1900" displayName="$(string.SUPPORTED_DEVHOME_0_1900)"/>
</definitions>
</supportedOn>
<categories>
<category name="DevHome" displayName="$(string.DevHome)" />
<policies>

<!--The name (id) of the policy is different from the valueName to sort it as first policy in edit dialog. The order is sorted alphabetically based on the "name" property.-->
<policy name="ConfigureAllDevHomeEnabledState" class="Both" displayName="$(string.ConfigureAllDevHomeEnabledState)" explainText="$(string.ConfigureAllDevHomeEnabledStateDescription)" key="Software\Policies\DevHome" valueName="ConfigureEnabledDevHome">
<parentCategory ref="DevHome" />
<supportedOn ref="SUPPORTED_DEVHOME_0_1901" />
<enabledValue>
<decimal value="1" />
</enabledValue>
<disabledValue>
<decimal value="0" />
</disabledValue>
</policy>
</policies>
</policyDefinitions>
32 changes: 32 additions & 0 deletions src/gpo/assets/en-US/DevHome.adml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) Microsoft Corporation.
Licensed under the MIT License. -->
<policyDefinitionResources xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="0.1900" schemaVersion="1.0" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions">
<displayName>Dev Home</displayName>
<description>Dev Home</description>
<resources>
<stringTable>
<string id="DevHome">Microsoft Dev Home</string>

<string id="SUPPORTED_DEVHOME_0_1900">Dev Home version 0.1900.* or later</string>

<string id="ConfigureAllDevHomeEnabledStateDescription">This policy configures the enabled state for Dev Home.

If you enable this setting, Dev Home will be always enabled and the user won't be able to disable it.

If you disable this setting, Dev Home will be always disabled and the user won't be able to enable it.

If you don't configure this setting, users are able to enable or disable Dev Home.

This policy will override any enabled state policies for individual Dev Home features.
</string>

<string id="ConfigureAllDevHomeEnabledState">Configure Dev Home enabled state</string>
</stringTable>

<presentationTable>
</presentationTable>

</resources>
</policyDefinitionResources>

0 comments on commit 19ee6cc

Please sign in to comment.