GPO Revision - Supported on WAU >= 1.16.0

pull/263/head
KnifMelti 2023-01-20 23:37:29 +01:00
parent c6383bcd04
commit 7fabb31a60
2 changed files with 24 additions and 24 deletions

View File

@ -1,19 +1,19 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<policyDefinitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="4.6" xsi:schemaLocation="" schemaVersion="1.0" xmlns="http://www.microsoft.com/GroupPolicy/PolicyDefinitions"> <policyDefinitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="4.7" xsi:schemaLocation="" schemaVersion="1.0" xmlns="http://www.microsoft.com/GroupPolicy/PolicyDefinitions">
<policyNamespaces> <policyNamespaces>
<target prefix="WAU" namespace="Romanitho.Policies.WAU"/> <target prefix="WAU" namespace="Romanitho.Policies.WAU"/>
</policyNamespaces> </policyNamespaces>
<resources minRequiredRevision="4.6" fallbackCulture="en-us"/> <resources minRequiredRevision="4.7" fallbackCulture="en-us"/>
<supportedOn> <supportedOn>
<definitions> <definitions>
<definition name="SUPPORTED_WAU_1_15_3" displayName="$(string.SUPPORTED_WAU_1_15_3)"/> <definition name="SUPPORTED_WAU_1_16_0" displayName="$(string.SUPPORTED_WAU_1_16_0)"/>
</definitions> </definitions>
</supportedOn> </supportedOn>
<categories><category displayName="$(string.WAU)" name="WAU"/></categories> <categories><category displayName="$(string.WAU)" name="WAU"/></categories>
<policies> <policies>
<policy name="ActivateGPOManagement_Enable" class="Machine" displayName="$(string.ActivateGPOManagement_Name)" explainText="$(string.ActivateGPOManagement_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" valueName="WAU_ActivateGPOManagement"> <policy name="ActivateGPOManagement_Enable" class="Machine" displayName="$(string.ActivateGPOManagement_Name)" explainText="$(string.ActivateGPOManagement_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" valueName="WAU_ActivateGPOManagement">
<parentCategory ref="WAU"/> <parentCategory ref="WAU"/>
<supportedOn ref="WAU:SUPPORTED_WAU_1_15_3"/> <supportedOn ref="WAU:SUPPORTED_WAU_1_16_0"/>
<enabledValue> <enabledValue>
<decimal value="1" /> <decimal value="1" />
</enabledValue> </enabledValue>
@ -23,7 +23,7 @@
</policy> </policy>
<policy name="BypassListForUsers_Enable" class="Machine" displayName="$(string.BypassListForUsers_Name)" explainText="$(string.BypassListForUsers_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" valueName="WAU_BypassListForUsers"> <policy name="BypassListForUsers_Enable" class="Machine" displayName="$(string.BypassListForUsers_Name)" explainText="$(string.BypassListForUsers_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" valueName="WAU_BypassListForUsers">
<parentCategory ref="WAU"/> <parentCategory ref="WAU"/>
<supportedOn ref="WAU:SUPPORTED_WAU_1_15_3"/> <supportedOn ref="WAU:SUPPORTED_WAU_1_16_0"/>
<enabledValue> <enabledValue>
<decimal value="1" /> <decimal value="1" />
</enabledValue> </enabledValue>
@ -33,7 +33,7 @@
</policy> </policy>
<policy name="DisableAutoUpdate_Enable" class="Machine" displayName="$(string.DisableAutoUpdate_Name)" explainText="$(string.DisableAutoUpdate_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" valueName="WAU_DisableAutoUpdate"> <policy name="DisableAutoUpdate_Enable" class="Machine" displayName="$(string.DisableAutoUpdate_Name)" explainText="$(string.DisableAutoUpdate_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" valueName="WAU_DisableAutoUpdate">
<parentCategory ref="WAU"/> <parentCategory ref="WAU"/>
<supportedOn ref="WAU:SUPPORTED_WAU_1_15_3"/> <supportedOn ref="WAU:SUPPORTED_WAU_1_16_0"/>
<enabledValue> <enabledValue>
<decimal value="1" /> <decimal value="1" />
</enabledValue> </enabledValue>
@ -43,7 +43,7 @@
</policy> </policy>
<policy name="DoNotRunOnMetered_Enable" class="Machine" displayName="$(string.DoNotRunOnMetered_Name)" explainText="$(string.DoNotRunOnMetered_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" valueName="WAU_DoNotRunOnMetered"> <policy name="DoNotRunOnMetered_Enable" class="Machine" displayName="$(string.DoNotRunOnMetered_Name)" explainText="$(string.DoNotRunOnMetered_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" valueName="WAU_DoNotRunOnMetered">
<parentCategory ref="WAU"/> <parentCategory ref="WAU"/>
<supportedOn ref="WAU:SUPPORTED_WAU_1_15_3"/> <supportedOn ref="WAU:SUPPORTED_WAU_1_16_0"/>
<enabledValue> <enabledValue>
<decimal value="0" /> <decimal value="0" />
</enabledValue> </enabledValue>
@ -53,7 +53,7 @@
</policy> </policy>
<policy name="UpdatePrerelease_Enable" class="Machine" displayName="$(string.UpdatePrerelease_Name)" explainText="$(string.UpdatePrerelease_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" valueName="WAU_UpdatePrerelease"> <policy name="UpdatePrerelease_Enable" class="Machine" displayName="$(string.UpdatePrerelease_Name)" explainText="$(string.UpdatePrerelease_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" valueName="WAU_UpdatePrerelease">
<parentCategory ref="WAU"/> <parentCategory ref="WAU"/>
<supportedOn ref="WAU:SUPPORTED_WAU_1_15_3"/> <supportedOn ref="WAU:SUPPORTED_WAU_1_16_0"/>
<enabledValue> <enabledValue>
<decimal value="1" /> <decimal value="1" />
</enabledValue> </enabledValue>
@ -63,21 +63,21 @@
</policy> </policy>
<policy name="BlackList_Enable" class="Machine" displayName="$(string.BlackList_Name)" explainText="$(string.BlackList_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" presentation="$(presentation.BlackList)"> <policy name="BlackList_Enable" class="Machine" displayName="$(string.BlackList_Name)" explainText="$(string.BlackList_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" presentation="$(presentation.BlackList)">
<parentCategory ref="WAU"/> <parentCategory ref="WAU"/>
<supportedOn ref="WAU:SUPPORTED_WAU_1_15_3"/> <supportedOn ref="WAU:SUPPORTED_WAU_1_16_0"/>
<elements> <elements>
<list id="BlackList" key="Software\Policies\Romanitho\Winget-AutoUpdate\BlackList" valuePrefix=""/> <list id="BlackList" key="Software\Policies\Romanitho\Winget-AutoUpdate\BlackList" valuePrefix=""/>
</elements> </elements>
</policy> </policy>
<policy name="WhiteList_Enable" class="Machine" displayName="$(string.WhiteList_Name)" explainText="$(string.WhiteList_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" presentation="$(presentation.WhiteList)"> <policy name="WhiteList_Enable" class="Machine" displayName="$(string.WhiteList_Name)" explainText="$(string.WhiteList_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" presentation="$(presentation.WhiteList)">
<parentCategory ref="WAU"/> <parentCategory ref="WAU"/>
<supportedOn ref="WAU:SUPPORTED_WAU_1_15_3"/> <supportedOn ref="WAU:SUPPORTED_WAU_1_16_0"/>
<elements> <elements>
<list id="WhiteList" key="Software\Policies\Romanitho\Winget-AutoUpdate\WhiteList" valuePrefix=""/> <list id="WhiteList" key="Software\Policies\Romanitho\Winget-AutoUpdate\WhiteList" valuePrefix=""/>
</elements> </elements>
</policy> </policy>
<policy name="UseWhiteList_Enable" class="Machine" displayName="$(string.UseWhiteList_Name)" explainText="$(string.UseWhiteList_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" valueName="WAU_UseWhiteList"> <policy name="UseWhiteList_Enable" class="Machine" displayName="$(string.UseWhiteList_Name)" explainText="$(string.UseWhiteList_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" valueName="WAU_UseWhiteList">
<parentCategory ref="WAU"/> <parentCategory ref="WAU"/>
<supportedOn ref="WAU:SUPPORTED_WAU_1_15_3"/> <supportedOn ref="WAU:SUPPORTED_WAU_1_16_0"/>
<enabledValue> <enabledValue>
<decimal value="1" /> <decimal value="1" />
</enabledValue> </enabledValue>
@ -87,21 +87,21 @@
</policy> </policy>
<policy name="ListPath_Enable" class="Machine" displayName="$(string.ListPath_Name)" explainText="$(string.ListPath_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" presentation="$(presentation.ListPath)" > <policy name="ListPath_Enable" class="Machine" displayName="$(string.ListPath_Name)" explainText="$(string.ListPath_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" presentation="$(presentation.ListPath)" >
<parentCategory ref="WAU"/> <parentCategory ref="WAU"/>
<supportedOn ref="WAU:SUPPORTED_WAU_1_15_3"/> <supportedOn ref="WAU:SUPPORTED_WAU_1_16_0"/>
<elements> <elements>
<text id="ListPath" valueName="WAU_ListPath" /> <text id="ListPath" valueName="WAU_ListPath" />
</elements> </elements>
</policy> </policy>
<policy name="ModsPath_Enable" class="Machine" displayName="$(string.ModsPath_Name)" explainText="$(string.ModsPath_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" presentation="$(presentation.ModsPath)" > <policy name="ModsPath_Enable" class="Machine" displayName="$(string.ModsPath_Name)" explainText="$(string.ModsPath_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" presentation="$(presentation.ModsPath)" >
<parentCategory ref="WAU"/> <parentCategory ref="WAU"/>
<supportedOn ref="WAU:SUPPORTED_WAU_1_15_3"/> <supportedOn ref="WAU:SUPPORTED_WAU_1_16_0"/>
<elements> <elements>
<text id="ModsPath" valueName="WAU_ModsPath" /> <text id="ModsPath" valueName="WAU_ModsPath" />
</elements> </elements>
</policy> </policy>
<policy name="NotificationLevel_Enable" class="Machine" displayName="$(string.NotificationLevel_Name)" explainText="$(string.NotificationLevel_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" presentation="$(presentation.NotificationLevel)"> <policy name="NotificationLevel_Enable" class="Machine" displayName="$(string.NotificationLevel_Name)" explainText="$(string.NotificationLevel_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" presentation="$(presentation.NotificationLevel)">
<parentCategory ref="WAU"/> <parentCategory ref="WAU"/>
<supportedOn ref="WAU:SUPPORTED_WAU_1_15_3"/> <supportedOn ref="WAU:SUPPORTED_WAU_1_16_0"/>
<elements> <elements>
<enum id="NotificationLevel" valueName="WAU_NotificationLevel"> <enum id="NotificationLevel" valueName="WAU_NotificationLevel">
<item displayName="$(string.NotificationLevel_Full)"> <item displayName="$(string.NotificationLevel_Full)">
@ -124,7 +124,7 @@
</policy> </policy>
<policy name="UpdatesInterval_Enable" class="Machine" displayName="$(string.UpdatesInterval_Name)" explainText="$(string.UpdatesInterval_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" presentation="$(presentation.UpdatesInterval)"> <policy name="UpdatesInterval_Enable" class="Machine" displayName="$(string.UpdatesInterval_Name)" explainText="$(string.UpdatesInterval_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" presentation="$(presentation.UpdatesInterval)">
<parentCategory ref="WAU"/> <parentCategory ref="WAU"/>
<supportedOn ref="WAU:SUPPORTED_WAU_1_15_3"/> <supportedOn ref="WAU:SUPPORTED_WAU_1_16_0"/>
<elements> <elements>
<enum id="UpdatesInterval" valueName="WAU_UpdatesInterval"> <enum id="UpdatesInterval" valueName="WAU_UpdatesInterval">
<item displayName="$(string.UpdatesInterval_Daily)"> <item displayName="$(string.UpdatesInterval_Daily)">
@ -162,7 +162,7 @@
</policy> </policy>
<policy name="UpdatesAtLogon_Enable" class="Machine" displayName="$(string.UpdatesAtLogon_Name)" explainText="$(string.UpdatesAtLogon_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" valueName="WAU_UpdatesAtLogon"> <policy name="UpdatesAtLogon_Enable" class="Machine" displayName="$(string.UpdatesAtLogon_Name)" explainText="$(string.UpdatesAtLogon_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" valueName="WAU_UpdatesAtLogon">
<parentCategory ref="WAU"/> <parentCategory ref="WAU"/>
<supportedOn ref="WAU:SUPPORTED_WAU_1_15_3"/> <supportedOn ref="WAU:SUPPORTED_WAU_1_16_0"/>
<enabledValue> <enabledValue>
<decimal value="1" /> <decimal value="1" />
</enabledValue> </enabledValue>
@ -172,7 +172,7 @@
</policy> </policy>
<policy name="UpdatesAtTime_Enable" class="Machine" displayName="$(string.UpdatesAtTime_Name)" explainText="$(string.UpdatesAtTime_Explain)" presentation="$(presentation.UpdatesAtTime)" key="Software\Policies\Romanitho\Winget-AutoUpdate"> <policy name="UpdatesAtTime_Enable" class="Machine" displayName="$(string.UpdatesAtTime_Name)" explainText="$(string.UpdatesAtTime_Explain)" presentation="$(presentation.UpdatesAtTime)" key="Software\Policies\Romanitho\Winget-AutoUpdate">
<parentCategory ref="WAU"/> <parentCategory ref="WAU"/>
<supportedOn ref="WAU:SUPPORTED_WAU_1_15_3"/> <supportedOn ref="WAU:SUPPORTED_WAU_1_16_0"/>
<elements> <elements>
<enum id="UpdatesAtTime" valueName="WAU_UpdatesAtTime"> <enum id="UpdatesAtTime" valueName="WAU_UpdatesAtTime">
<item displayName="$(string.UpdatesAtTime01)"> <item displayName="$(string.UpdatesAtTime01)">
@ -300,7 +300,7 @@
</policy> </policy>
<policy name="UserContext_Enable" class="Machine" displayName="$(string.UserContext_Name)" explainText="$(string.UserContext_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" valueName="WAU_UserContext"> <policy name="UserContext_Enable" class="Machine" displayName="$(string.UserContext_Name)" explainText="$(string.UserContext_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" valueName="WAU_UserContext">
<parentCategory ref="WAU"/> <parentCategory ref="WAU"/>
<supportedOn ref="WAU:SUPPORTED_WAU_1_15_3"/> <supportedOn ref="WAU:SUPPORTED_WAU_1_16_0"/>
<enabledValue> <enabledValue>
<decimal value="1" /> <decimal value="1" />
</enabledValue> </enabledValue>
@ -310,7 +310,7 @@
</policy> </policy>
<policy name="DesktopShortcut_Enable" class="Machine" displayName="$(string.DesktopShortcut_Name)" explainText="$(string.DesktopShortcut_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" valueName="WAU_DesktopShortcut"> <policy name="DesktopShortcut_Enable" class="Machine" displayName="$(string.DesktopShortcut_Name)" explainText="$(string.DesktopShortcut_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" valueName="WAU_DesktopShortcut">
<parentCategory ref="WAU"/> <parentCategory ref="WAU"/>
<supportedOn ref="WAU:SUPPORTED_WAU_1_15_3"/> <supportedOn ref="WAU:SUPPORTED_WAU_1_16_0"/>
<enabledValue> <enabledValue>
<decimal value="1" /> <decimal value="1" />
</enabledValue> </enabledValue>
@ -320,7 +320,7 @@
</policy> </policy>
<policy name="StartMenuShortcut_Enable" class="Machine" displayName="$(string.StartMenuShortcut_Name)" explainText="$(string.StartMenuShortcut_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" valueName="WAU_StartMenuShortcut"> <policy name="StartMenuShortcut_Enable" class="Machine" displayName="$(string.StartMenuShortcut_Name)" explainText="$(string.StartMenuShortcut_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" valueName="WAU_StartMenuShortcut">
<parentCategory ref="WAU"/> <parentCategory ref="WAU"/>
<supportedOn ref="WAU:SUPPORTED_WAU_1_15_3"/> <supportedOn ref="WAU:SUPPORTED_WAU_1_16_0"/>
<enabledValue> <enabledValue>
<decimal value="1" /> <decimal value="1" />
</enabledValue> </enabledValue>
@ -330,14 +330,14 @@
</policy> </policy>
<policy name="MaxLogFiles_Name" class="Machine" displayName="$(string.MaxLogFiles_Name)" explainText="$(string.MaxLogFiles_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" presentation="$(presentation.MaxLogFiles)" > <policy name="MaxLogFiles_Name" class="Machine" displayName="$(string.MaxLogFiles_Name)" explainText="$(string.MaxLogFiles_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" presentation="$(presentation.MaxLogFiles)" >
<parentCategory ref="WAU"/> <parentCategory ref="WAU"/>
<supportedOn ref="WAU:SUPPORTED_WAU_1_15_3"/> <supportedOn ref="WAU:SUPPORTED_WAU_1_16_0"/>
<elements> <elements>
<text id="MaxLogFiles" valueName="WAU_MaxLogFiles" /> <text id="MaxLogFiles" valueName="WAU_MaxLogFiles" />
</elements> </elements>
</policy> </policy>
<policy name="MaxLogSize_Name" class="Machine" displayName="$(string.MaxLogSize_Name)" explainText="$(string.MaxLogSize_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" presentation="$(presentation.MaxLogSize)" > <policy name="MaxLogSize_Name" class="Machine" displayName="$(string.MaxLogSize_Name)" explainText="$(string.MaxLogSize_Explain)" key="Software\Policies\Romanitho\Winget-AutoUpdate" presentation="$(presentation.MaxLogSize)" >
<parentCategory ref="WAU"/> <parentCategory ref="WAU"/>
<supportedOn ref="WAU:SUPPORTED_WAU_1_15_3"/> <supportedOn ref="WAU:SUPPORTED_WAU_1_16_0"/>
<elements> <elements>
<text id="MaxLogSize" valueName="WAU_MaxLogSize" /> <text id="MaxLogSize" valueName="WAU_MaxLogSize" />
</elements> </elements>

View File

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<policyDefinitionResources xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="4.6" schemaVersion="1.0" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions"> <policyDefinitionResources xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="4.7" schemaVersion="1.0" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions">
<displayName>WinGet-AutoUpdate</displayName> <displayName>WinGet-AutoUpdate</displayName>
<description>WinGet-AutoUpdate GPO Management</description> <description>WinGet-AutoUpdate GPO Management</description>
<resources > <resources >
<stringTable > <stringTable >
<string id="WAU">Winget-AutoUpdate</string> <string id="WAU">Winget-AutoUpdate</string>
<string id="SUPPORTED_WAU_1_15_3">Winget-AutoUpdate version 1.15.3 or later</string> <string id="SUPPORTED_WAU_1_16_0">Winget-AutoUpdate version 1.16.0 or later</string>
<string id="ActivateGPOManagement_Name">Activate WAU GPO Management</string> <string id="ActivateGPOManagement_Name">Activate WAU GPO Management</string>
<string id="ActivateGPOManagement_Explain">This policy setting is an overriding toggle for GPO Management of Winget-AutoUpdate.</string> <string id="ActivateGPOManagement_Explain">This policy setting is an overriding toggle for GPO Management of Winget-AutoUpdate.</string>
<string id="BypassListForUsers_Name">Bypass Black/White list for User</string> <string id="BypassListForUsers_Name">Bypass Black/White list for User</string>