How do I use msg.exe to send messages to a XP PC?


Recommended Posts

How do I use msg.exe to send messages to a XP PC? From the looks of it, both of them are in the workgroup WORKGROUP but I send to all the users and I they dont receive it (I do).

Most computers have this feature turned off by default as it was a security risk.

I think it got turned off around XP SP2 so you'd need to manually turn it on again in order for your messages to get through.

msg.exe is more for sending messages to terminal sessions on the same machine, it is not really designed to mass message people.

You need to know the username your wanting to send to and the server they are on.

where with net send you could mass send to all computers on the network, etc.

msg

Send a message to a user.

Net send

Sends messages to other users, computers, or messaging names

on the network. The Messenger service must be running to receive messages.

net send

* Sends the message to all the names in your group.

/DOMAIN[:name] Sends the message to all the names in the

workstation domain. If name is specified, the

message is sent to all the names in the specified

domain or workgroup.

For you to send a msg to someone you would need to know their username and the machine they are on.

msg username /server:computername

If you want to be able to send mass messages or just have to put in the computer OR username the messenger services has to be running on the target machine - and of course for any of this to work any software filewalls running would have to allow for it.

Not sure where you go the idea msg is not available prior to vista.

C:\>ver

Microsoft Windows XP [Version 5.1.2600]

C:\>msg /?

Send a message to a user.

MSG {username | sessionname | sessionid | @filename | *}

[/sERVER:servername] [/TIME:seconds] [/V] [/W] [message]

username Identifies the specified username.

sessionname The name of the session.

sessionid The ID of the session.

@filename Identifies a file containing a list of usernames,

sessionnames, and sessionids to send the message to.

* Send message to all sessions on specified server.

/SERVER:servername server to contact (default is current).

/TIME:seconds Time delay to wait for receiver to acknowledge msg.

/V Display information about actions being performed.

/W Wait for response from user, useful with /V.

message Message to send. If none specified, prompts for it

or reads from stdin.

C:\>ver

Microsoft Windows 2000 [Version 5.00.2195]

C:\>msg

Send a message to a user.

MSG {username | sessionname | sessionid | @filename | *}

[/sERVER:servername] [/TIME:seconds] [/V] [/W] [message]

username Identifies the specified username.

sessionname The name of the session.

sessionid The ID of the session.

@filename Identifies a file containing a list of usernames,

sessionnames, and sessionids to send the message to.

* Send message to all sessions on specified server.

/SERVER:servername server to contact (default is current).

/TIME:seconds Time delay to wait for receiver to acknowledge msg.

/V Display information about actions being performed.

/W Wait for response from user, useful with /V.

message Message to send. If none specified, prompts for it

or reads from stdin.

what command are you using? As I stated you need to send to the username and the machinename

For example.. From my desktop I will send a msg to an account logged into a server.

C:\>msg tsadmin /server:tsbesvsan01

Enter message to send; end message by pressing CTRL-Z on a new line, then ENTER

testing msg 123456

^Z

here is the message that account sees.

post-14624-1232642989.jpg

Are you running any software firewalls between the machines? Either on your client or on the machine your wanting to send to?

No msg is not a pointer to net send.. They are different methods. And no the messenger service does not need to be running for msg to send or recv messages. For net send yes, for msg no.

  • 2 weeks later...
Gotcha.

Ok, I'll help and also ask a question.

To recap...MSG.EXE is completely seperate from NETSEND.

It does NOT need the messenger service to be running and is available on XP and Vista.

For it to work on XP over a domain you must add a registry key.

HKLM\System\CurrentControlSet\Control\Terminal Server

Dword=AllowRemoteRPC

Value=1

You don't have to know the username...just the computer name. You can place an "*" in place of the username to send to all session that are logged into a specific computer at once. So for any normal workstation it would just be one user.

Syntax example sending to a computer called "TestComp01" with a message of "Hi, this is a test message."

msg /server:TestComp01 * Hi, this is a test message.

You can also add the switches of /v /w between * and the message to give you a read out of when it was sent and when the user presses "OK".

Now, to my question to see if anyone knows.

I have written a GUI so this is easier to use for my users at my work. All the users in my department are Admins on all the boxes company wide so we've never had a problem sending messages to each other as needed.

Now another department is wanting to use MSG.exe but they are not admins. I have tried sending test messages from their computers with their credentials but it doesn't go through. I am able to send to them but not the other way around.

Anyone know a way around this or do you HAVE to be an admin of the box you are sending to?

  • 1 year later...

Now, to my question to see if anyone knows.

I have written a GUI so this is easier to use for my users at my work. All the users in my department are Admins on all the boxes company wide so we've never had a problem sending messages to each other as needed.

Knightro2,

Is there any way that you can post a copy of the GUI you created?

Kinda OT: Back when I was a nooblet teenager I got in trouble for running a python script that looked a little something like this, on an XP network that didn't have SP2 yet or the messenger service disabled.

import os
while 0==0:
 	os.system("net send * The problem is I can do this without your permission!")

There weren't very happy with having to click OK a few thousand times...

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Alien Isolation 2 will bring a new protagonist and setting, watch the reveal trailer here by Pulasthi Ariyasinghe Only a few weeks ago, Sega and Creative Assembly dropped a teaser for a new Alien Isolation. Today at Summer Game Fest, Alien: Isolation 2 was officially announced with a new trailer while also confirming a whole lot of information about the setting of this survival horror project. Check out the reveal trailer above. Leaving behind the Sevastopol space station, the sequel will take players to a remote colony world. With a Xenomorph (or more) on the loose, players will be navigating both the surface of the weather-ravaged planet as well as "the claustrophobic confines of the Weyland-Yutani outpost of Kurosaki Station." Interestingly, Creative Assembly is leaving behind Amanda Ripley, the daughter of Alien's Ellen Ripley, as the protagonist too. While it hasn't confirmed a name yet, players will be taking the role of a new character for this new adventure. The setting is also being described as a new hunting ground for the Alien. This will have players improvising and developing new tools to aid in their survival and escape, all to avoid "cinema’s deadliest killer." "It has been over a decade since we created the original Alien: Isolation and I am so excited to show everyone the first glimpse of the sequel," says Al Hope, Creative Director at Creative Assembly. "Our dedicated Survival team at Creative Assembly has been working hard to create a new, evolved Isolation experience continuing the legacy of the Alien franchise, making the eponymous killer smarter, the environment harsher and the chance of survival slimmer." Promising the same deadly tension from the original from over a decade ago, Alien: Isolation 2 is in development for PC, Xbox Series X|S, Nintendo Switch 2, and PlayStation 5. A release date has not been announced yet.
    • With how far Tim Apple's head has been up Trump's ass, there's no way this was done reluctantly.
    • Like the article stated, it's written completely from scratch, unlike the umpteen Chromium clones. It got its start as the browser built-in to the also written-from-scratch SerenityOS.
    • Hello, From looking at the screen shots in your motherboard's manual at https://endownload.colorful.cn/EnDownload/MotherBroard/2022/Intel 600/Manual/Intel 600 Series BIOS English/Intel 600 Series BIOS User Guide.pdf, you go to the ADVANCED option at the top of the BIOS (UEFI) menu, then select SECURITY in the list of options on the left.  From there  you can enable and set the Secure Boot mode. Regards, Aryeh Goretsky  
    • Final Fantasy VII Remake Part 3 is getting a simultaneous release across PC and all consoles by Pulasthi Ariyasinghe Square Enix showed up to the Summer Game Fest presentation today with multiple trailers showing off its next chapter in the Final Fantasy VII Remake saga. The final chapter of this trilogy now has an official name too, with it being dubbed Final Fantasy VII Revelation, following up Final Fantasy VII Remake and Final Fantasy VII Rebirth from recent years. Vincent Valentine, Cid, Cloud, Barret, Tifa, and more showed up in the trailers as they battle against enemies, or 'Weapons,' from the final chapter. "As the world teeters on the brink of annihilation, the final battle against Sephiroth begins," says the trailer description. "A meteor mars the sky, monstrous planetary guardians wreak havoc across the globe, and the fires of war rage. Now, Cloud and his companions must stand against this chaos to not only decide the planet's fate, but bring a legendary conflict to its conclusion." Following the reveal trailer, the show also dropped some gameplay footage that shows off a new way to travel across the open world using the Highwind airship. Players will be able to swap characters on during battles, use tactical mode to synchronize with allies, and summon their entities. Cid Highwind and Vincent Valentine are joining the party this time too. “FINAL FANTASY VII, first released in 1997, has been beloved by fans for many years and has since become a “legend” in its own right," added producer Yoshinori Kitase. "The FINAL FANTASY VII Remake Series that began in 2020 with everyone’s passionate support is finally reaching its climactic finale with FINAL FANTASY VII REVELATION. The story’s final destination represents my emotions spanning thirty years working on this title" One of the biggest revelations of this announcement, however, was the multiplatform release confirmation from the get-go. Square Enix will be releasing Final Fantasy VII Revelation across PC, Xbox Series X|S, Nintendo Switch 2, and PlayStation 5 in Spring 2027 without any timed exclusivity programs.
  • Recent Achievements

    • Mentor
      grik went up a rank
      Mentor
    • Dedicated
      JKR earned a badge
      Dedicated
    • One Year In
      CHUNWEI earned a badge
      One Year In
    • Conversation Starter
      FBSPL earned a badge
      Conversation Starter
    • Week One Done
      I2D earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      484
    2. 2
      PsYcHoKiLLa
      269
    3. 3
      Skyfrog
      78
    4. 4
      Steven P.
      68
    5. 5
      +Edouard
      61
  • Tell a friend

    Love Neowin? Tell a friend!