Network computer name

I want to sent a popup message to my home PC from my laptop through the command prompt.  My computers are networked wirelessly somehow.  I do not know how.  How do I find the computer name of my PC to type after "net send"?
Who is Participating?
JoeConnect With a Mentor Commented:
Hello angelmother_83,

You can find the computer name by simply right clicking on My Computer, and selecting properties>computer name which can be located on your start menu, or from your desktop.


You can try 'net view' but that's by no means reliable.  Since you've provided very little information, it's difficult to know for sure.  Are these both your own computers?  Do you know anything else?
MSE-dwellsConnect With a Mentor Commented:
I confess I'd originally understood that you wanted to find the name of one PC while using another ... perhaps I was mistaken there.

JoeZ430's directions are perfect if you can sit down at the other computer.

I would suggest, however, that you use 'msg' not 'net send' ... try this -

msg 0 /server:<put your computer name here> /w Hello there

... replace 'Hello there' with a message of your choosing.  The /W causes the command to wait until the user on the other end has hit OK, remove it if you'd prefer to not wait for that.
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

michkoConnect With a Mentor Commented:
On the laptop at a command prompt, type    ipconfig /all    Host name in the results is that pc's network name.

Or, view the network pcs.  For Win XP, Start -> My Network Places (or Control Panel, Network Connections, click on My Network Places in the left hand frame).  In the left hand frame, click on Entire Network.  In the right hand frame double click Microsoft Windows Network.  The next screen you see with list your available networks.  Should be only one.  Double click it.  You will now have a list of all the computers in your particular workgroup.  
angelmother_83Author Commented:
Ok here's the info I have come up with......I have located both computer names.  My PC and laptop are connected through a workgroup name.  I can access the shared files but cannot print from the laptop(I probably have to reinstall the drivers).  Both computers are on.  I still am unable to send the popup message.  Here's what I've tried:
net send "computername" test message     The error I get is:  An error occured while sending a message to "computername".  The message alias could not be found on the network.        
net send "workgroupname" test message     I get the same error as before          
msg 0 /server:"computername" test message     The error: Error opening Terminal server "computername"        
msg 0 /server:"workgroupname" test message    The error:  Error opening Terminal server "workgroupname"  Error [1722]:The RPC server is unavailable.

What do I have to do?  Can I even do this when both are connected as a workgroup?
Farhan KaziConnect With a Mentor Systems EngineerCommented:
Are you able to send send message with "NET SEND" using IP address?

If you are using "NET SEND" statement so send messages then on both side MESSENGER Service must be running. To verify Click Start -> Run -> services.msc -> OK -> Right click  MESSENGER service take properties.
angelmother_83Author Commented:
GREAT!!! Thank you so much.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.