Difficulties sending messages through cmd prompt!

Hi there fellow toms!

I'm having a bit of a problem with sending messages via the command prompt to other computers within my network. When i try to do this i get an error message saying it cannot find any sessions.
I'm not very good with the cmd in general but if you guys know how to do this then can you explain how to?
It would really help if you guys could do this and explain each step i need to take since this is the first time im trying to do this =).
It would be much appretiated.

Have a good one!

(My op is windows 7)
15 answers Last reply
More about difficulties sending messages prompt
  1. TRY
    SURE ! u must put systems in SAME NETWORK as you know.

    step1 : start --> run --> (type) services.msc --> (press) ok

    step2 : find for 'messenger' services (you can press 'm' as well to find it)

    step3 : double click it ! change status form disabled to automatic if it is 'disabled'.

    step4 : press start button & finish the process.

    step5 : open your command prompt

    step6 : type the following "net send ComputerNameHere some messages overhere"

    step7 : Enter to send
  2. Hi.

    I've tried this but it doesn't work.
    I can't seem to find the messenger service within the service window but i have win 7 proffessional so it shoould be there. But that doesn't seem to matter though as i can use the "msg * "hello" command and get a message sent to myself... but not anyone else.

    I don't know if the problem might be that i'm currently plugged in into my router via an ethernet cable whilst the others are connected through a wireless connection. This has caused my computer not to recognize the network in which my friend is connected called "brunkan" Whilst my connection is called "network 4". I've made sure to connect to the same homegroup as my friend but my computer still won't recognize it as "brunkan".

    Think i just realized this problem is more of a server problem then a syntax/cmd problem. Is there anyway to check wich server youre on?

    Have a good one!
  3. So i won't work then?
    Darn it =( (saaadface ^^)

    But wherein lies the problem? I just figured since I can send a message to myself there must be some problem with the connection through the network.

    Have a good one!
  4. Are there any alternatives to what i'm trying to accomplish?? The idea is that we would be able to send messages to each other without having to start up a lot of servers and programs and such to make the connection. We tried with ventrilo but noone remembers to start up a server for us to join. So i guess i want a program that one could start up with windows and then just send a message through so that the receiver gets it whether he wants it or not ^^ (given that the programm is running). I guess i also want it to be exclusive to our little LAN network we got here.

    Thx For the advice =D
    Have a good one!
  5. wouldnt the "net send" command work. I think it may be blocked by default (either by Windows or some AV programs) as people abused it in places like school enviroments
  6. "net send" doesn't exist in Windows 7. "msg" has replaced it, but only in the business editions.
  7. Anway of getting it to work in the win 7 proffesional edition?
  8. Professional is a business edition, so it should work. To send messages to a remote computer you need the command line:

    msg /server:computername user "Hi - how's it going"

    Substitute the appropriate computer and user names (you can use * to cover all users on a particular computer).

    If you don't specify the "/server:" paramater it defaults to the current computer (which explains why you can send messages to yourself - you're the only one logged on to your computer - but not others - they're not logged on to your computer).
  9. Haha ok so thats why only i get it ^^
    So if the servers name is, say, "blast" and the computer on that server is "fredriks" it should say:
    msg /blast:fredriks * -"how's it going"

    That might be why cause i always thought that the line was used to specify the server in this manner: /server:blast, and then the comp name.
    Gonna try it out. let you know if i can make it work =D

    Have a good one!
  10. hmmm, when i try the cmd line msg /server:theothercomputersname * "hi" it says error 5 occured while retrieving sessionname. But when i use msg /server:mycomputersname * "hi" it can send a message to myself without any problem. =(

    Whats error five? And how does one retrieve the sessionname, And whats a sessionname ^^ (feeling like a complete noob)

    Have a good one!
  11. I also tried the line msg /server:theothercomputersname username "hi", specifying the user but still i get error five...
  12. rock_pape_rmetal said:
    Haha ok so thats why only i get it ^^
    So if the servers name is, say, "blast" and the computer on that server is "fredriks" it should say:
    msg /blast:fredriks * -"how's it going"

    That might be why cause i always thought that the line was used to specify the server in this manner: /server:blast, and then the comp name.
    Gonna try it out. let you know if i can make it work =D

    Have a good one!

    The server is the other computer (unless you're logged in to a Windows domain). So, for your example, the command should be:

    msg /server:fredricks * "hows's it going"

    Edit: Apparently you need a registry tweak on the remote computer also. Have a look at this thread.
  13. Have a look at Fomine lan chat.

    Freeware land chat client that looks a lot like an older version of Microsoft Messenger, best of all, doesn't need a server, just stick it in your startup folder or login script and has a silent admin install option.



    http://www.fomine.com/lan-chat.html
  14. thanks a lot! this suits my needs perfectly!

    Thx everyone for all the great help! It's nice to know that i can count on you guys for help.

    Sincerely
    Rock paper metal!

    Have a good one!!!
Ask a new question

Read More

Configuration Command Prompt Error Message Windows 7