Add GPO for controlling GPU (#936)
This commit is contained in:
parent
6aa99d8afe
commit
995ef1d4a2
|
@ -1,34 +1,38 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<policyDefinitionResources revision="0.1" schemaVersion="1.0" >
|
||||
<displayName/>
|
||||
<description/>
|
||||
<resources >
|
||||
<stringTable >
|
||||
<string id="SUPPORTED_MMD43">Mattermost Desktop Application 4.3 or later</string>
|
||||
<string id="mattermost">Mattermost</string>
|
||||
<string id="DisableAutoUpdate">Disable Auto Updater</string>
|
||||
<string id="DisableAutoUpdate_Explain">If this policy is enabled, the Mattermost Desktop Application does not receive udpates.
|
||||
<displayName/>
|
||||
<description/>
|
||||
<resources >
|
||||
<stringTable >
|
||||
<string id="SUPPORTED_MMD43">Mattermost Desktop Application 4.3 or later</string>
|
||||
<string id="SUPPORTED_MMD44">Mattermost Desktop Application 4.4 or later</string>
|
||||
<string id="mattermost">Mattermost</string>
|
||||
<string id="DisableAutoUpdate">Disable Auto Updater</string>
|
||||
<string id="DisableAutoUpdate_Explain">If this policy is enabled, the Mattermost Desktop Application does not receive udpates.
|
||||
|
||||
If this policy is disabled or not configured, the Mattermost Desktop Application receives updates.
|
||||
</string>
|
||||
<string id="PreventAddNewServer">Prevent adding new Mattermost server</string>
|
||||
<string id="PreventAddNewServer_Explain">If this policy is enabled, it is not possible to add new servers.
|
||||
If this policy is disabled or not configured, the Mattermost Desktop Application receives updates.</string>
|
||||
<string id="PreventAddNewServer">Prevent adding new Mattermost server</string>
|
||||
<string id="PreventAddNewServer_Explain">If this policy is enabled, it is not possible to add new servers.
|
||||
|
||||
If this policy is disabled or not configured, it is possible to add new servers.
|
||||
</string>
|
||||
<string id="ServerURL">Server addresses</string>
|
||||
<string id="ServerURL_Explain">If this policy is enabled, you can set one or more Mattermost server addresses. Use the syntax Servername,https://server.com|Servername2,https://server2.com
|
||||
If this policy is disabled or not configured, it is possible to add new servers.</string>
|
||||
<string id="ServerURL">Server addresses</string>
|
||||
<string id="ServerURL_Explain">If this policy is enabled, you can set one or more Mattermost server addresses.
|
||||
Use the syntax:
|
||||
Servername,https://server.com|Servername2,https://server2.com
|
||||
|
||||
If this policy is disabled or not configured, no servers are preconfigured.</string>
|
||||
</stringTable>
|
||||
<presentationTable>
|
||||
<presentation id="ServerURL">
|
||||
<text>URL:</text>
|
||||
<textBox refId="ServerURL">
|
||||
<label/>
|
||||
</textBox>
|
||||
</presentation>
|
||||
</presentationTable>
|
||||
</stringTable>
|
||||
</resources>
|
||||
<string id="PreventGPU">Disable GPU hardware acceleration</string>
|
||||
<string id="PreventGPU_Explain">If this policy is enabled, the Mattermost Desktop Application does not use the GPU for hardware acceleration.
|
||||
|
||||
If this policy is disabled or not configured, the Mattermost Desktop Application does use the GPU for hardware acceleration.</string>
|
||||
</stringTable>
|
||||
<presentationTable>
|
||||
<presentation id="ServerURL">
|
||||
<text>URL:</text>
|
||||
<textBox refId="ServerURL">
|
||||
<label/>
|
||||
</textBox>
|
||||
</presentation>
|
||||
</presentationTable>
|
||||
</resources>
|
||||
</policyDefinitionResources>
|
||||
|
|
|
@ -1,45 +1,54 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<policyDefinitions revision="0.1" schemaVersion="1.0">
|
||||
<policyNamespaces>
|
||||
<target prefix="mattermost" namespace="Mattermost.Policies"/>
|
||||
</policyNamespaces>
|
||||
<resources minRequiredRevision="0.1"/>
|
||||
<supportedOn>
|
||||
<definitions>
|
||||
<definition name="SUPPORTED_MMD43" displayName="$(string.SUPPORTED_MMD43)"/>
|
||||
</definitions>
|
||||
</supportedOn>
|
||||
<categories>
|
||||
<category displayName="$(string.mattermost)" name="mattermost">
|
||||
</category>
|
||||
</categories>
|
||||
<policies>
|
||||
<policy name="DisableAutoUpdate" class="Machine" displayName="$(string.DisableAutoUpdate)" explainText="$(string.DisableAutoUpdate_Explain)" key="Software\Policies\Mattermost" valueName="DisableAutoUpdate">
|
||||
<parentCategory ref="mattermost"/>
|
||||
<supportedOn ref="SUPPORTED_MMD43"/>
|
||||
<enabledValue>
|
||||
<decimal value="1"/>
|
||||
</enabledValue>
|
||||
<disabledValue>
|
||||
<decimal value="0"/>
|
||||
</disabledValue>
|
||||
</policy>
|
||||
<policy name="PreventAddNewServer" class="Both" displayName="$(string.PreventAddNewServer)" explainText="$(string.PreventAddNewServer_Explain)" key="Software\Policies\Mattermost" valueName="PreventAddNewServer">
|
||||
<parentCategory ref="mattermost"/>
|
||||
<supportedOn ref="SUPPORTED_MMD43"/>
|
||||
<enabledValue>
|
||||
<decimal value="1"/>
|
||||
</enabledValue>
|
||||
<disabledValue>
|
||||
<decimal value="0"/>
|
||||
</disabledValue>
|
||||
</policy>
|
||||
<policy name="ServerURL" class="Both" displayName="$(string.ServerURL)" explainText="$(string.ServerURL_Explain)" key="Software\Policies\Mattermost" presentation="$(presentation.ServerURL)" >
|
||||
<parentCategory ref="mattermost"/>
|
||||
<supportedOn ref="SUPPORTED_MMD43"/>
|
||||
<elements >
|
||||
<text id="ServerURL" valueName="URL" required="true" />
|
||||
</elements>
|
||||
</policy>
|
||||
</policies>
|
||||
<policyNamespaces>
|
||||
<target prefix="mattermost" namespace="Mattermost.Policies"/>
|
||||
</policyNamespaces>
|
||||
<resources minRequiredRevision="0.1"/>
|
||||
<supportedOn>
|
||||
<definitions>
|
||||
<definition name="SUPPORTED_MMD43" displayName="$(string.SUPPORTED_MMD43)"/>
|
||||
</definitions>
|
||||
</supportedOn>
|
||||
<categories>
|
||||
<category displayName="$(string.mattermost)" name="mattermost"></category>
|
||||
</categories>
|
||||
<policies>
|
||||
<policy name="DisableAutoUpdate" class="Machine" displayName="$(string.DisableAutoUpdate)" explainText="$(string.DisableAutoUpdate_Explain)" key="Software\Policies\Mattermost" valueName="DisableAutoUpdate">
|
||||
<parentCategory ref="mattermost"/>
|
||||
<supportedOn ref="SUPPORTED_MMD43"/>
|
||||
<enabledValue>
|
||||
<decimal value="1"/>
|
||||
</enabledValue>
|
||||
<disabledValue>
|
||||
<decimal value="0"/>
|
||||
</disabledValue>
|
||||
</policy>
|
||||
<policy name="PreventAddNewServer" class="Both" displayName="$(string.PreventAddNewServer)" explainText="$(string.PreventAddNewServer_Explain)" key="Software\Policies\Mattermost" valueName="PreventAddNewServer">
|
||||
<parentCategory ref="mattermost"/>
|
||||
<supportedOn ref="SUPPORTED_MMD43"/>
|
||||
<enabledValue>
|
||||
<decimal value="1"/>
|
||||
</enabledValue>
|
||||
<disabledValue>
|
||||
<decimal value="0"/>
|
||||
</disabledValue>
|
||||
</policy>
|
||||
<policy name="ServerURL" class="Both" displayName="$(string.ServerURL)" explainText="$(string.ServerURL_Explain)" key="Software\Policies\Mattermost" presentation="$(presentation.ServerURL)" >
|
||||
<parentCategory ref="mattermost"/>
|
||||
<supportedOn ref="SUPPORTED_MMD43"/>
|
||||
<elements >
|
||||
<text id="ServerURL" valueName="URL" required="true" />
|
||||
</elements>
|
||||
</policy>
|
||||
<policy name="PreventGPU" class="Machine" displayName="$(string.PreventGPU)" explainText="$(string.PreventGPU_Explain)" key="Software\Policies\Mattermost" valueName="PreventGPU">
|
||||
<parentCategory ref="mattermost"/>
|
||||
<supportedOn ref="SUPPORTED_MMD44"/>
|
||||
<enabledValue>
|
||||
<decimal value="1"/>
|
||||
</enabledValue>
|
||||
<disabledValue>
|
||||
<decimal value="0"/>
|
||||
</disabledValue>
|
||||
</policy>
|
||||
</policies>
|
||||
</policyDefinitions>
|
||||
|
|
Loading…
Reference in a new issue