Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 978
  • Last Modified:

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"?
4 Solutions
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?
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.


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.
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

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 KaziSystems 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.

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now