Reference for Win32_TerminalServiceSetting
(Diese Seite wurde noch nicht auf das neue Layout umgestellt!)

Select by Class Type Search by Keyword
Show all classes

Category (Kategorie):

Terminal Services

Description (Beschreibung):

The Win32_TerminalServiceSetting class defines the configuration for TerminalServerSetting. This includes capabilities such as Terminal Server Mode, Licensing, Active Desktop, Permissions Capability,Deletion of Temporary folders and Temporary folders per session.

Availability (Verfügbarkeit):

WMI Class NameWindows Server 2003Windows XP ProfessionalWindows 2000Windows NT 4.0Windows 98
Win32_TerminalServiceSettingYesYes---

Properties (Attribute):

ItemServer 2003XP ProWindows 2000NT 4.0Windows 98
ActiveDesktopYesYes---
AllowTSConnectionsYesYes---
CaptionYesYes---
DeleteTempFoldersYesYes---
DescriptionYesYes---
DirectConnectLicenseServersYesYes---
DisableForcibleLogoffYes----
HelpYesYes---
HomeDirectoryYesYes---
LicensingDescriptionYesYes---
LicensingNameYesYes---
LicensingTypeYesYes---
LogonsYesYes---
ProfilePathYesYes---
ServerNameYesYes---
SettingIDYesYes---
SingleSessionYesYes---
TerminalServerModeYesYes---
TimeZoneRedirectionYes----
UserPermissionYesYes---
UseTempFoldersYesYes---

Methods (Methoden):

ItemServer 2003XP ProWindows 2000NT 4.0Windows 98
AddDirectConnectLicenseServerYesYes---
ChangeModeYesYes---
DeleteDirectConnectLicenseServerYesYes---
SetAllowTSConnectionsYesYes---
SetDisableForcibleLogoffYes----
SetHomeDirectoryYesYes---
SetPolicyPropertyNameYesYes---
SetProfilePathYesYes---
SetSingleSessionYesYes---
SetTimeZoneRedirectionYes----

Sample Code (Beispiel):

strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_TerminalServiceSetting")
For Each objItem in colItems
    Wscript.Echo "Caption: " & objItem.Caption
Next

Links:

Link zur Original-Microsoft-Dokumentation