text stringlengths 0 4.23k |
|---|
/advanced |
Expands the advanced link on the Welcome page by default when the troubleshooting pack is started. |
/custom |
Prompts the user to confirm each possible resolution before it's applied. |
<packagename> |
<directory|.diagpkg file|.diagcfg file> |
<passkey> |
<directory> |
<answerfile> |
<ownerHWND> |
<true|false> |
<parameters> |
Return codes |
Troubleshooting packs comprise a set of root causes, each of which describes a specific technical problem. After completing the troubleshooting pack tasks, each root cause returns a state of fixed, not fixed, detected (but not fixable), or not found. In addition to specific results reported in the troubleshooter user interface, the troubleshooting engine returns a code in the results describing, in general terms, whether or not the troubleshooter fixed the original problem. The codes are: |
Code |
Description |
-1 |
Interruption: The troubleshooter was closed before the troubleshooting tasks were completed. |
0 |
Fixed: The troubleshooter identified and fixed at least one root cause, and no root causes remain in a not fixed state. |
1 |
Present, but not fixed: The troubleshooter identified one or more root causes that remain in a not fixed state. This code is returned even if another root cause was fixed. |
2 |
Not found: The troubleshooter didn't identify any root causes. |
msg |
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012 |
Sends a message to a user on a Remote Desktop Session Host server. |
Note |
You must have Message special access permission to send a message. |
Syntax |
msg {<username> | <sessionname> | <sessionID>| @<filename> | *} [/server:<servername>] [/time:<seconds>] [/v] [/w] [<message>] |
Parameters |
Parameter |
Description |
<username> |
Specifies the name of the user that you want to receive the message. If you don't specify a user or a session, this command displays an error message. When specifying a session, it must be an active one. |
<sessionname> |
Specifies the name of the session that you want to receive the message. If you don't specify a user or a session, this command displays an error message. When specifying a session, it must be an active one. |
<sessionID> |
Specifies the numeric ID of the session whose user you want to receive a message. |
@<filename> |
Identifies a file containing a list of user names, session names, and session IDs that you want to receive the message. |
* |
Sends the message to all user names on the system. |
/server:<servername> |
Specifies the Remote Desktop Session Host server whose session or user you want to receive the message. If unspecified, /server uses the server to which you are currently logged on. |
/time:<seconds> |
Specifies the amount of time that the message you sent is displayed on the user's screen. After the time limit is reached, the message disappears. If no time limit is set, the message defaults to 60 seconds and disappears. |
/v |
Displays information about the actions being performed. |
/w |
Waits for an acknowledgment from the user that the message has been received. Use this parameter with /time:<*seconds*> to avoid a possible long delay if the user does not immediately respond. Using this parameter with /v is also helpful. |
<message> |
Specifies the text of the message that you want to send. If no message is specified, you will be prompted to enter a message. To send a message that is contained in a file, type the less than (<) symbol followed by the file name. |
/? |
Displays help at the command prompt. |
<username> |
<sessionname> |
<sessionID> |
@<filename> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.