Display LOGON status

Microsoft.Windows.Server.2000.TerminalServerRole.LogonQuery (Task)

This task will execute the Change LOGON /QUERY command

Knowledge Base article:

Summary

Task Display LOGON Status runs command Change LOGON /QUERY to check if Terminal Server session logins are enabled. Return the output of the command to standard out.

Configuration

There is no configuration required for this task.

Element properties:

TargetMicrosoft.Windows.Server.2000.TerminalServerRole
AccessibilityPublic
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction System.CommandExecuter Default

Source Code:

<Task ID="Microsoft.Windows.Server.2000.TerminalServerRole.LogonQuery" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.Server.2000.TerminalServerRole">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="System!System.CommandExecuter">
<ApplicationName>%SystemRoot%\System32\Change.exe</ApplicationName>
<WorkingDirectory>%SYSTEMROOT%\temp</WorkingDirectory>
<CommandLine>LOGON /QUERY</CommandLine>
<TimeoutSeconds>300</TimeoutSeconds>
<RequireOutput>false</RequireOutput>
<Files/>
</WriteAction>
</Task>