<?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="1.1"
	schemaVersion="1.0"
	xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions">

<policyNamespaces>
	<target prefix="cascadia" namespace="VMware.Policies.Cascadia" />
	<using prefix="windows" namespace="Microsoft.Policies.Windows" />
	<using prefix="products" namespace="Microsoft.Policies.Products" />
</policyNamespaces>

<resources minRequiredRevision="1.0" />

<supportedOn>
<definitions>
	<!--At least Microsoft Windows Server 2003 with SP1-->
	<definition name="CASCADIA_SUPPORTED_Win2k3_Sp1" displayName="$(string.CASCADIA_SUPPORTED_Win2k3_Sp1)">
	<or>
	<range ref="products:MicrosoftWindowsServer2003" minVersionIndex="1" />
	<range ref="products:MicrosoftWindows" minVersionIndex="4" />
	</or>
	</definition>

	<!--At least Microsoft Windows 2000 Terminal Services-->
	<definition name="CASCADIA_SUPPORTED_Win2k" displayName="$(string.CASCADIA_SUPPORTED_Win2k)">
	<!--
	It is not really possible to logically define specific features and or optional components
	of a product with the given notation. However, the display text is retained.
	-->
	<or>
	<reference ref="products:MicrosoftWindows2000" />
	<reference ref="products:MicrosoftWindowsServer2003" />
	<reference ref="products:WindowsServer2008" />
	</or>
	</definition>

	<!--Microsoft Windows Server 2003, Enterprise Edition-->
	<definition name="CASCADIA_SUPPORTED_WindowsNET_Enterprise" displayName="$(string.CASCADIA_SUPPORTED_WindowsNET_Enterprise)">
	<!--
	It is not really possible to define different SKUs with the given notation without it becoming very
	cumbersome. Thus, this definition only reflects the server notion in the display text.
	-->
	<or>
	<reference ref="products:MicrosoftWindowsServer2003" />
	</or>
	</definition>

	<!--Windows XP Professional or Windows Server 2003 family only-->
	<definition name="CASCADIA_SUPPORTED_WindowsXP_Win2K3_only" displayName="$(string.CASCADIA_SUPPORTED_WindowsXP_Win2K3_only)">
	<!--
	It is not really possible to define different SKUs with the given notation without it becoming very
	cumbersome. Thus, this definition only reflects the server notion in the display text.
	-->
	<or>
	<reference ref="products:MicrosoftWindowsServer2003" />
	<reference ref="products:MicrosoftWindowsXP" />
	</or>
	</definition>

	<!--Windows 7 or Windows Server 2008 and above-->
	<definition name="CASCADIA_SUPPORTED_WindowsServer2008OrWin7" displayName="$(string.CASCADIA_SUPPORTED_WindowsServer2008OrWin7)">
	<!--
	It is not really possible to define different SKUs with the given notation without it becoming very
	cumbersome. Thus, this definition only reflects the server notion in the display text.
	-->
	<or>
	<reference ref="products:WindowsServer2008" />
	<reference ref="products:MicrosoftWindows7" />
	</or>
	</definition>

	<!--Microsoft Windows Server 2003 with Service Pack 1 only-->
	<definition name="CASCADIA_SUPPORTED_Win2k3_Sp1_Only" displayName="$(string.CASCADIA_SUPPORTED_Win2k3_Sp1_Only)">
	<or>
	<reference ref="products:MicrosoftWindowsServer2003_SP1" />
	</or>
	</definition>

	<!--At least Microsoft Windows Server 2003 with Service Pack 2 -->
	<definition name="CASCADIA_SUPPORTED_Win2k3_Sp2" displayName="$(string.CASCADIA_SUPPORTED_Win2k3_Sp2)">
	<or>
	<reference ref="products:MicrosoftWindowsServer2003_SP2" />
	</or>
	</definition>
	<!--Microsoft Windows Visa with Service Pack 1-->
	<definition name="CASCADIA_SUPPORTED_Vista_SP1" displayName="$(string.CASCADIA_SUPPORTED_Vista_SP1)">
	<or>
	<reference ref="products:MicrosoftWindowsVista_SP1" />
	</or>
	</definition>

	<!--At least Microsoft Windows 7 Server-->
	<definition name="CASCADIA_SUPPORTED_Windows7_Server" displayName="$(string.CASCADIA_SUPPORTED_Windows7_Server)">
	<or>
	<reference ref="products:WindowsServer2008_R2" minVersionIndex="1" />
	</or>
	</definition>
	<!--At least Microsoft Windows 7 with Service Pack 1 or Windows Server 2008 R2 with Service Pack1-->
	<definition name="CASCADIA_SUPPORTED_Windows7_OR_SERVER2K8R2_SP1" displayName="$(string.CASCADIA_SUPPORTED_Windows7_OR_SERVER2K8R2_SP1)">
	<or>
	<range ref="products:WindowsServer2008_R2" minVersionIndex="2"/>
	<range ref="products:MicrosoftWindows7_RTM" minVersionIndex="7"/>
	</or>
	</definition>
</definitions>
</supportedOn>

<categories>
	<category name="CASCADIA_GP_NODE" displayName="$(string.CASCADIA_GP_NODE)" explainText="$(string.CASCADIA_User_Help)">
	<parentCategory ref="windows:WindowsComponents" />
	</category>

	<category name="CASCADIA_TERMINAL_SERVER" displayName="$(string.CASCADIA_TERMINAL_SERVER)" explainText="$(string.CASCADIA_TERMINAL_SERVER_Help)">
	<parentCategory ref="CASCADIA_GP_NODE" />
	</category>

	<category name="CASCADIA_CONNECTIONS" displayName="$(string.CASCADIA_CONNECTIONS)" explainText="$(string.CASCADIA_CONNECTIONS_Help)">
	<parentCategory ref="CASCADIA_TERMINAL_SERVER" />
	</category>

	<category name="CASCADIA_REDIRECTION" displayName="$(string.CASCADIA_REDIRECTION)" explainText="$(string.CASCADIA_REDIRECTION_Help)">
	<parentCategory ref="CASCADIA_TERMINAL_SERVER" />
	</category>

	<category name="CASCADIA_SECURITY" displayName="$(string.CASCADIA_SECURITY)" explainText="$(string.CASCADIA_SECURITY_Help)">
	<parentCategory ref="CASCADIA_TERMINAL_SERVER" />
	</category>

	<category name="CASCADIA_LICENSING" displayName="$(string.CASCADIA_LICENSING)" explainText="$(string.CASCADIA_LICENSING_Help)">
	<parentCategory ref="CASCADIA_TERMINAL_SERVER" />
	</category>

	<category name="CASCADIA_PROFILES" displayName="$(string.CASCADIA_PROFILES)" explainText="$(string.CASCADIA_PROFILES_Help)">
	<parentCategory ref="CASCADIA_TERMINAL_SERVER" />
	</category>

	<category name="CASCADIA_TEMP" displayName="$(string.CASCADIA_TEMP)" explainText="$(string.CASCADIA_TEMP_Help)">
	<parentCategory ref="CASCADIA_TERMINAL_SERVER" />
	</category>

	<category name="CASCADIA_SESSIONS" displayName="$(string.CASCADIA_SESSIONS)" explainText="$(string.CASCADIA_SESSIONS_Comp_Help)">
	<parentCategory ref="CASCADIA_TERMINAL_SERVER" />
	</category>
</categories>

<policies>

	<policy name="CASCADIA_TIME_ZONE" class="Machine" displayName="$(string.CASCADIA_TIME_ZONE)" explainText="$(string.CASCADIA_TIME_ZONE_EXPLAIN)" key="SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" valueName="fEnableTimeZoneRedirection">
		<parentCategory ref="CASCADIA_REDIRECTION" />
		<supportedOn ref="CASCADIA_SUPPORTED_Windows7_Server" />
		<enabledValue>
		<decimal value="1" />
		</enabledValue>
		<disabledValue>
		<decimal value="0" />
		</disabledValue>
	</policy>

	<policy name="CASCADIA_LICENSE_SERVERS" class="Machine" displayName="$(string.CASCADIA_LICENSE_SERVERS)" explainText="$(string.CASCADIA_LICENSE_SERVERS_EXPLAIN)" presentation="$(presentation.CASCADIA_LICENSE_SERVERS)" key="SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services">
		<parentCategory ref="CASCADIA_LICENSING" />
		<supportedOn ref="CASCADIA_SUPPORTED_Win2k3_Sp1" />
		<elements>
		<text id="CASCADIA_LICENSE_EDIT" valueName="LicenseServers" required="true" />
		</elements>
	</policy>

	<policy name="CASCADIA_LICENSE_TOOLTIP" class="Machine" displayName="$(string.CASCADIA_LICENSE_TOOLTIP)" explainText="$(string.CASCADIA_LICENSE_TOOLTIP_EXPLAIN)" key="SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services">
		<parentCategory ref="CASCADIA_LICENSING" />
		<supportedOn ref="CASCADIA_SUPPORTED_Win2k3_Sp1" />
		<enabledList>
		<item key="SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" valueName="fDisableTerminalServerTooltip">
		<value>
		<decimal value="1" />
		</value>
		</item>
		</enabledList>
		<disabledList>
		<item key="SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" valueName="fDisableTerminalServerTooltip">
		<value>
		<decimal value="0" />
		</value>
		</item>
		</disabledList>
	</policy>

	<policy name="CASCADIA_LICENSING_MODE" class="Machine" displayName="$(string.CASCADIA_LICENSING_MODE)" explainText="$(string.CASCADIA_LICENSING_MODE_EXPLAIN)" presentation="$(presentation.CASCADIA_LICENSING_MODE)" key="SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services">
		<parentCategory ref="CASCADIA_LICENSING" />
		<supportedOn ref="CASCADIA_SUPPORTED_Win2k3_Sp1" />
		<elements>
		<enum id="CASCADIA_LICENSING_NAME" valueName="LicensingMode">
		<item displayName="$(string.CASCADIA_LICENSING_MODE_PER_DEVICE)">
		<value>
		<decimal value="2" />
		</value>
		</item>
		<item displayName="$(string.CASCADIA_LICENSING_MODE_PER_USER)">
		<value>
		<decimal value="4" />
		</value>
		</item>
		</enum>
		</elements>
	</policy>

	<policy name="CASCADIA_USER_HOME" class="Machine" displayName="$(string.CASCADIA_USER_HOME)" explainText="$(string.CASCADIA_USER_HOME_EXPLAIN)" presentation="$(presentation.CASCADIA_USER_HOME)" key="SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services">
		<parentCategory ref="CASCADIA_PROFILES" />
		<supportedOn ref="windows:SUPPORTED_WindowsNET" />
		<elements>
		<enum id="CASCADIA_USER_HOME_LOCATION" valueName="WFHomeDirUNC">
		<item displayName="$(string.CASCADIA_On_the_Network)">
		<value>
		<decimal value="1" />
		</value>
		</item>
		<item displayName="$(string.CASCADIA_on_the_Local_machine)">
		<value>
		<decimal value="0" />
		</value>
		</item>
		</enum>
		<text id="CASCADIA_HOME_DIR" valueName="WFHomeDir" required="true" />
		<enum id="CASCADIA_DRIVE_LETTER" valueName="WFHomeDirDrive">
		<item displayName="$(string.CASCADIA_DRIVE_G)">
		<value>
		<string>G:</string>
		</value>
		</item>
		<item displayName="$(string.CASCADIA_DRIVE_H)">
		<value>
		<string>H:</string>
		</value>
		</item>
		<item displayName="$(string.CASCADIA_DRIVE_I)">
		<value>
		<string>I:</string>
		</value>
		</item>
		<item displayName="$(string.CASCADIA_DRIVE_J)">
		<value>
		<string>J:</string>
		</value>
		</item>
		<item displayName="$(string.CASCADIA_DRIVE_K)">
		<value>
		<string>K:</string>
		</value>
		</item>
		<item displayName="$(string.CASCADIA_DRIVE_L)">
		<value>
		<string>L:</string>
		</value>
		</item>
		<item displayName="$(string.CASCADIA_DRIVE_M)">
		<value>
		<string>M:</string>
		</value>
		</item>
		<item displayName="$(string.CASCADIA_DRIVE_N)">
		<value>
		<string>N:</string>
		</value>
		</item>
		<item displayName="$(string.CASCADIA_DRIVE_O)">
		<value>
		<string>O:</string>
		</value>
		</item>
		<item displayName="$(string.CASCADIA_DRIVE_P)">
		<value>
		<string>P:</string>
		</value>
		</item>
		<item displayName="$(string.CASCADIA_DRIVE_Q)">
		<value>
		<string>Q:</string>
		</value>
		</item>
		<item displayName="$(string.CASCADIA_DRIVE_R)">
		<value>
		<string>R:</string>
		</value>
		</item>
		<item displayName="$(string.CASCADIA_DRIVE_S)">
		<value>
		<string>S:</string>
		</value>
		</item>
		<item displayName="$(string.CASCADIA_DRIVE_T)">
		<value>
		<string>T:</string>
		</value>
		</item>
		<item displayName="$(string.CASCADIA_DRIVE_U)">
		<value>
		<string>U:</string>
		</value>
		</item>
		<item displayName="$(string.CASCADIA_DRIVE_V)">
		<value>
		<string>V:</string>
		</value>
		</item>
		<item displayName="$(string.CASCADIA_DRIVE_W)">
		<value>
		<string>W:</string>
		</value>
		</item>
		<item displayName="$(string.CASCADIA_DRIVE_X)">
		<value>
		<string>X:</string>
		</value>
		</item>
		<item displayName="$(string.CASCADIA_DRIVE_Y)">
		<value>
		<string>Y:</string>
		</value>
		</item>
		<item displayName="$(string.CASCADIA_DRIVE_Z)">
		<value>
		<string>Z:</string>
		</value>
		</item>
		</enum>
		</elements>
	</policy>

	<policy name="CASCADIA_USER_PROFILES" class="Machine" displayName="$(string.CASCADIA_USER_PROFILES)" explainText="$(string.CASCADIA_USER_PROFILES_EXPLAIN)" presentation="$(presentation.CASCADIA_USER_PROFILES)" key="SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services">
		<parentCategory ref="CASCADIA_PROFILES" />
		<supportedOn ref="windows:SUPPORTED_WindowsNET" />
		<elements>
		<text id="CASCADIA_PROFILE_PATH" valueName="WFProfilePath" required="true" />
		</elements>
	</policy>

	<policy name="CASCADIA_USER_MANDATORY_PROFILES" class="Machine" displayName="$(string.CASCADIA_USER_MANDATORY_PROFILES)" explainText="$(string.CASCADIA_USER_MANDATORY_PROFILES_EXPLAIN)" key="SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" valueName="WFDontAppendUserNameToProfile">
		<parentCategory ref="CASCADIA_PROFILES" />
		<supportedOn ref="CASCADIA_SUPPORTED_Win2k3_Sp2" />
		<enabledValue>
		<decimal value="1" />
		</enabledValue>
		<disabledValue>
		<decimal value="0" />
		</disabledValue>
	</policy>

	<policy name="CASCADIA_DELETE_ROAMING_USER_PROFILES" class="Machine" displayName="$(string.CASCADIA_DELETE_ROAMING_USER_PROFILES)" explainText="$(string.CASCADIA_DELETE_ROAMING_USER_PROFILES_EXPLAIN)" presentation="$(presentation.CASCADIA_DELETE_ROAMING_USER_PROFILES)" key="SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" valueName="DeleteRoamingUserProfile">
		<parentCategory ref="CASCADIA_PROFILES" />
		<supportedOn ref="CASCADIA_SUPPORTED_Windows7_Server" />
		<enabledValue>
		<decimal value="1" />
		</enabledValue>
		<disabledValue>
		<decimal value="0" />
		</disabledValue>
		<elements>
		<decimal id="CASCADIA_PROFILE_DIRECTORY_MONITORING_INTERVAL" valueName="MonitoringInterval" required="true" minValue="15" maxValue="10080" />
		<decimal id="CASCADIA_PROFILE_DIRECTORY_QUOTA" valueName="ProfileDirectoryQuota" required="true" minValue="5" maxValue="10000" />
		</elements>
	</policy>

	<policy name="CASCADIA_NoSecurityMenu" class="Machine" displayName="$(string.CASCADIA_NoSecurityMenu)" explainText="$(string.CASCADIA_NoSecurityMenu_Help)" key="Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" valueName="NoNTSecurity">
		<parentCategory ref="CASCADIA_SESSIONS" />
		<supportedOn ref="CASCADIA_SUPPORTED_Win2k" />
	</policy>

	<policy name="CASCADIA_TSCC_PERMISSIONS_POLICY" class="Machine" displayName="$(string.CASCADIA_TSCC_PERMISSIONS_POLICY)" explainText="$(string.CASCADIA_TSCC_EXPLAIN)" key="SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" valueName="fWritableTSCCPermTab">
		<parentCategory ref="CASCADIA_SECURITY" />
		<supportedOn ref="windows:SUPPORTED_WindowsNET" />
		<enabledValue>
		<decimal value="0" />
		</enabledValue>
		<disabledValue>
		<decimal value="1" />
		</disabledValue>
	</policy>

	<policy name="CASCADIA_TEMP_DELETE" class="Machine" displayName="$(string.CASCADIA_TEMP_DELETE)" explainText="$(string.CASCADIA_TEMP_DELETE_EXPLAIN)" key="SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" valueName="DeleteTempDirsOnExit">
		<parentCategory ref="CASCADIA_TEMP" />
		<supportedOn ref="windows:SUPPORTED_WindowsNET" />
		<enabledValue>
		<decimal value="0" />
		</enabledValue>
		<disabledValue>
		<decimal value="1" />
		</disabledValue>
	</policy>

	<policy name="CASCADIA_TEMP_PER_SESSION" class="Machine" displayName="$(string.CASCADIA_TEMP_PER_SESSION)" explainText="$(string.CASCADIA_TEMP_EXPLAIN)" key="SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" valueName="PerSessionTempDir">
		<parentCategory ref="CASCADIA_TEMP" />
		<supportedOn ref="windows:SUPPORTED_WindowsNET" />
		<enabledValue>
		<decimal value="0" />
		</enabledValue>
		<disabledValue>
		<decimal value="1" />
		</disabledValue>
	</policy>
</policies>
</policyDefinitions>