Network computer name

Posted on 2007-10-15
Last Modified: 2012-05-05
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"?
Question by:angelmother_83
    LVL 9

    Expert Comment

    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?
    LVL 16

    Accepted Solution

    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.


    LVL 9

    Assisted Solution

    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.
    LVL 27

    Assisted Solution

    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.  

    Author Comment

    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?
    LVL 26

    Assisted Solution

    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.

    Author Comment

    GREAT!!! Thank you so much.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    VALIDATING DATES One method of validating dates is to jam the date into the DATE command and see if it accepts it by examining the system's errorlevel value. A non-zero result indicates failure. A typical example might look something like the fol…
    Let’s list some of the technologies that enable smooth teleworking. 
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now