Win32_TSPublishedApplicationList class

Represents the list of programs that are in the RemoteApp Programs list on a Remote Desktop Session Host (RD Session Host) server.

Syntax

class Win32_TSPublishedApplicationList : CIM_LogicalElement
{
  boolean Disabled;
  uint32  PolicySourceDisabled;
};

Members

The Win32_TSPublishedApplicationList class has these types of members:

Properties

The Win32_TSPublishedApplicationList class has these properties.

Disabled
Data type: boolean
Access type: Read/write

Indicates whether the RD Session Host server restricts the programs that a user can start on initial connection to the programs that are in the RemoteApp Programs list.

PolicySourceDisabled
Data type: uint32
Access type: Read-only

Indicates where the Disabled property is configured. Possible values include:

ValueMeaning
0

The setting is configured on the server through RemoteApp Manager or the RemoteApp WMI provider.

1

The setting is configured through group policy.

2

The setting is not configured. The default value of FALSE is used for the Disabled property.

 

Remarks

You must be a member of the Administrators group to set properties by using this class.

The Disabled property does not prevent users from starting unlisted programs remotely after they connect to the RD Session Host server by using a RemoteApp program.

The Disabled property will be set to a value of 2 only if the following registry entry is missing:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\TerminalServer\TSAppAllowList\fDisabledAllowList

To connect to the \root\CIMV2\TerminalServices namespace, the authentication level must include packet privacy. For C/C++ calls, this is an authentication level of RPC_C_AUTHN_LEVEL_PKT_PRIVACY, which can be set by using the CoSetProxyBlanket COM function. For Visual Basic and scripting calls, this is an authentication level of WbemAuthenticationLevelPktPrivacy or "pktPrivacy", with a value of 6. The following Visual Basic Scripting Edition (VBScript) example shows how to connect to a remote computer with packet privacy.


strComputer = "RemoteServer1" 
Set objServices = GetObject( _
    "winmgmts:{authenticationLevel=pktPrivacy}!Root/CIMv2/TerminalServices")


Managed Object Format (MOF) files contain the definitions for Windows Management Instrumentation (WMI) classes. MOF files are not installed as part of the Microsoft Windows Software Development Kit (SDK). They are installed on the server when you add the associated role by using the Server Manager. For more information about MOF files, see Managed Object Format (MOF).

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Namespace

\root\CIMV2\TerminalServices

MOF

Tsallow.mof

 

 

Show:
© 2014 Microsoft