Win32_TSEnvironmentSetting, ROOT\CIMV2\TerminalServices

Class | Methods (2) | Properties (13) | Qualifiers (5) | Instances (1) | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

The Win32_TSEnvironmentSetting class defines the configuration for Win32_Terminal. This includes capabilities such as Initial program policy.

Win32_TSEnvironmentSetting methods

Win32_TSEnvironmentSetting has 2 methods (2 Local)

NameOriginReturn
InitialProgramWin32_TSEnvironmentSettinguint32 {'out':True}
SetClientWallPaperWin32_TSEnvironmentSettinguint32 {'out':True}

Win32_TSEnvironmentSetting properties

Win32_TSEnvironmentSetting has 13 properties (7 Local, 6 Derived)

NameOriginCIMType
CaptionCIM_ManagedSystemElement8 [string]
ClientWallPaperWin32_TSEnvironmentSetting19 [uint32]
DescriptionCIM_ManagedSystemElement8 [string]
InitialProgramPathWin32_TSEnvironmentSetting8 [string]
InitialProgramPolicyWin32_TSEnvironmentSetting19 [uint32]
InstallDateCIM_ManagedSystemElement101 [datetime]
NameCIM_ManagedSystemElement8 [string]
PolicySourceClientWallPaperWin32_TSEnvironmentSetting19 [uint32]
PolicySourceInitialProgramPathWin32_TSEnvironmentSetting19 [uint32]
PolicySourceStartInWin32_TSEnvironmentSetting19 [uint32]
StartinWin32_TSEnvironmentSetting8 [string]
StatusCIM_ManagedSystemElement8 [string]
key
TerminalName
Win32_TerminalSetting8 [string]

Detailed description of Win32_TSEnvironmentSetting methods

Local methods (2) of Win32_TSEnvironmentSetting class

InitialProgram method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
InitialProgramPathstring0-{'In':True}
Startinstring1-{'In':True}
Description'Sets the properties InitialProgramPath and StartIn which specify the name and path of the program and the working directory path for the program the user wants to start on logon to the Terminal Server. It returns an integer value of 0 if call was a success in case of Server-Override mode and an error if the policy was set to Group control policy.'
ImplementedTrue
InitialProgram method is in 1 class (Win32_TSEnvironmentSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
SetClientWallPaper method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
ClientWallPaperuint320-{'In':True}
Description'Enables or Disables ClientWallPaper if the property is not enabled by Group Policy. It returns an integer value of 0 if call was a success in case of Server-Override mode and an error if the policy was set to Group control policy '
ImplementedTrue
SetClientWallPaper method is in 1 class (Win32_TSEnvironmentSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces

Detailed description of Win32_TSEnvironmentSetting properties

Local properties (7) of Win32_TSEnvironmentSetting class

ClientWallPaper property
CIMTYPE'uint32'
Description'Specifies whether the display of Windows Client Wallpaper is disabled. This option can save system resources by decreasing the time required to repaint the screen.'
readTrue
Values['False', 'True']
ClientWallPaper property is in 1 class (Win32_TSEnvironmentSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
InitialProgramPath property
CIMTYPE'string'
Description'Specifies the name and the path of the program the user wants to start on logon to the Terminal Server.'
readTrue
InitialProgramPath property is in 1 class (Win32_TSEnvironmentSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
InitialProgramPolicy property
CIMTYPE'uint32'
Description'Describes which policy the server uses in order to determine the initial program path and filename and the startin folder.'
readTrue
Values['Per User', 'Server-Override', 'Single-App Mode']
writeTrue
InitialProgramPolicy property is in 1 class (Win32_TSEnvironmentSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
PolicySourceClientWallPaper property
CIMTYPE'uint32'
Description'PolicySourceClientWallPaper indicates whether the property ClientWallPaper is configured by Server (0),Group Policy (1), Default (2).'
readTrue
PolicySourceClientWallPaper property is in 1 class (Win32_TSEnvironmentSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
PolicySourceInitialProgramPath property
CIMTYPE'uint32'
Description'PolicySourceInitialProgramPath indicates whether the property InitialProgramPath is configured by Server (0),Group Policy (1), Default (2).'
readTrue
PolicySourceInitialProgramPath property is in 1 class (Win32_TSEnvironmentSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
PolicySourceStartIn property
CIMTYPE'uint32'
Description'PolicySourceStartIn indicates whether the property StartIn is configured by Server (0),Group Policy (1), Default (2).'
readTrue
PolicySourceStartIn property is in 1 class (Win32_TSEnvironmentSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces
Startin property
CIMTYPE'string'
Description'Specifies the working directory path for the program the user wants to start on logon to the Terminal Server.'
readTrue
Startin property is in 1 class (Win32_TSEnvironmentSetting) of ROOT\CIMV2\TerminalServices and in 2 namespaces

Derived properties (6) of Win32_TSEnvironmentSetting class

Caption property
CIMTYPE'string'
MaxLen64
readTrue
Caption property is in 43 classes of ROOT\CIMV2\TerminalServices and in 37 namespaces
Description property
CIMTYPE'string'
readTrue
Description property is in 48 classes of ROOT\CIMV2\TerminalServices and in 142 namespaces
InstallDate property
CIMTYPE'datetime'
Mappingstrings['MIF.DMTF|ComponentID|001.5']
readTrue
InstallDate property is in 43 classes of ROOT\CIMV2\TerminalServices and in 23 namespaces
Name property
CIMTYPE'string'
readTrue
Name property is in 53 classes of ROOT\CIMV2\TerminalServices and in 142 namespaces
Status property
CIMTYPE'string'
MaxLen10
readTrue
ValueMap['OK', 'Error', 'Degraded', 'Unknown', 'Pred Fail', 'Starting', 'Stopping', 'Service']
Status property is in 43 classes of ROOT\CIMV2\TerminalServices and in 42 namespaces
TerminalName property
CIMTYPE'string'
Description'Name of the Terminal.'
keyTrue
readTrue
TerminalName property is in 13 classes of ROOT\CIMV2\TerminalServices and in 2 namespaces

Win32_TSEnvironmentSetting Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
ClassContext'local|hkey_local_machine\SYSTEM\CurrentControlSet\Control\TerminalServer\WinStations'
Description'The Win32_TSEnvironmentSetting class defines the configuration for Win32_Terminal. This includes capabilities such as Initial program policy.'
dynamicTrue
LOCALE1033
provider'Win32_WIN32_TSENVIRONMENTSETTING_Prov'

Win32_TSEnvironmentSetting System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\CIMV2\TerminalServices:Win32_TSEnvironmentSetting'___SYSTEM8
__NAMESPACE'ROOT\CIMV2\TerminalServices'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['Win32_TerminalSetting', 'CIM_Setting', 'CIM_ManagedSystemElement']___SYSTEM8
__PROPERTY_COUNT13___SYSTEM3
__RELPATH'Win32_TSEnvironmentSetting'___SYSTEM8
__DYNASTY'CIM_ManagedSystemElement'___SYSTEM8
__SUPERCLASS'Win32_TerminalSetting'___SYSTEM8
__CLASS'Win32_TSEnvironmentSetting'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to Win32_TSEnvironmentSetting

Number of classes:21
comments powered by Disqus
WUtils.com