Article ID: 302799 - Last Review: August 6, 2002 - Revision: 1.1

Msg.exe Tool Does Not Process Session ID 0 on Terminal Server

System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
This article was previously published under Q302799
Expand all | Collapse all

SYMPTOMS

When you make a list file to list users and sessions you want to use with the Msg.exe command-line tool for sending messages to users, the message may not be sent to the console session, and you may receive a session ID zero (0). However, the message may arrive at the console if it is sent to the user that is logged on to the console.

CAUSE

This behavior can occur because the process requires administrator privileges to send a massage to the console.

STATUS

This behavior is by design.

MORE INFORMATION

The list file that is described in the "Symptoms" section of this article can be a text file with a list of users and sessions (administrator, 0, user1, 2, user15, 4, and so on). The file is then called when you use the msg @file name command, where file name is the name of the text file you made. For more information about the Msg.exe tool, search for MSG in Windows XP Help.

APPLIES TO
  • Microsoft Windows XP Professional
Keywords: 
kbprb KB302799