Questions

broadcast a massage over LAN by system administrator

+
0 Votes
Locked

broadcast a massage over LAN by system administrator

madanpms
how to Send messages and alerts from the command line in windows XP Pro/Home. can any body help me. Thanks in advance.
  • +
    0 Votes
    C0dRM0nk33

    net send "computer/domain" "message"
    This requires messenger service enabled on all pc's in the org to work and is disabled by default in service pack 2 cause of a vulnerability to certain DOS attacks and advertising crap.
    I think there's also some third party programs out there that also do the same thing.

    PS.
    If you do decide to enable the messenger service to use the net send command, make sure to properly secure and block the netbios ports at the firewall.

    +
    0 Votes
    Jacky Howe

    C:\>msg.exe /?
    <br><br>
    Send a message to a user.
    <br><br>
    MSG {username | sessionname | sessionid | @filename | *} [/SERVER:servername] [/TIME:seconds] [/V] [/W] [message]
    <br><br>
    username Identifies the specified username.
    <br><br>
    sessionname The name of the session.
    <br><br>
    sessionid The ID of the session.
    <br><br>
    @filename Identifies a file containing a list of usernames, sessionnames, and sessionids to send the message to.
    <br><br>
    * Send message to all sessions on specified server.
    <br><br>
    /SERVER:servername server to contact (default is current).
    <br><br>
    /TIME:seconds Time delay to wait for receiver to acknowledge msg.
    <br><br>
    /V Display information about actions being performed.
    <br><br>
    /W Wait for response from user, useful with /V.
    <br><br>
    message Message to send. If none specified, prompts for it or reads from stdin.
    <br><br>

    C:\>

    <br><br>
    <i>Keep us informed as to your progress if you require further assistance.</i>

    <br><br>
    <font size="1"><i>If you think that any of these posts have solved or contributed to solving the problem, please Mark them as <b>Helpful</b> so that others may benefit from the outcome.</i></font>

  • +
    0 Votes
    C0dRM0nk33

    net send "computer/domain" "message"
    This requires messenger service enabled on all pc's in the org to work and is disabled by default in service pack 2 cause of a vulnerability to certain DOS attacks and advertising crap.
    I think there's also some third party programs out there that also do the same thing.

    PS.
    If you do decide to enable the messenger service to use the net send command, make sure to properly secure and block the netbios ports at the firewall.

    +
    0 Votes
    Jacky Howe

    C:\>msg.exe /?
    <br><br>
    Send a message to a user.
    <br><br>
    MSG {username | sessionname | sessionid | @filename | *} [/SERVER:servername] [/TIME:seconds] [/V] [/W] [message]
    <br><br>
    username Identifies the specified username.
    <br><br>
    sessionname The name of the session.
    <br><br>
    sessionid The ID of the session.
    <br><br>
    @filename Identifies a file containing a list of usernames, sessionnames, and sessionids to send the message to.
    <br><br>
    * Send message to all sessions on specified server.
    <br><br>
    /SERVER:servername server to contact (default is current).
    <br><br>
    /TIME:seconds Time delay to wait for receiver to acknowledge msg.
    <br><br>
    /V Display information about actions being performed.
    <br><br>
    /W Wait for response from user, useful with /V.
    <br><br>
    message Message to send. If none specified, prompts for it or reads from stdin.
    <br><br>

    C:\>

    <br><br>
    <i>Keep us informed as to your progress if you require further assistance.</i>

    <br><br>
    <font size="1"><i>If you think that any of these posts have solved or contributed to solving the problem, please Mark them as <b>Helpful</b> so that others may benefit from the outcome.</i></font>