Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am trying to send a message to another pc on my company network.

I do it like

net send pc14.name.com "my msg"

but i get

An error occurred while sending a message to PC14.NAME.COM.

The message alias could not be found on the network.

Any idea why?

share|improve this question

migrated from stackoverflow.com Nov 2 '09 at 8:47

This question came from our site for professional and enthusiast programmers.

3 Answers 3

First step: make sure the messenger service is set to Automatic and is running (Started) on both PCs. It may only be needed on the recipient PC.

Second step: look for the PC's name in the output of the "net view" command and send your message to that name. Otherwise try sending the message to the user using their username.

share|improve this answer

net send uses netbios names to determine where to send messages, not domain names. If this is on a local network, then make sure the PC in question has PC14.NAME.COM in the list displayed by net name. If you want to send messages across the internet, you'll need to implement the messaging layer yourself.

share|improve this answer
    
i am trying to send on the local netrwork. and the pc14.name.com is the pc name . but still it not working –  Night Walker Nov 2 '09 at 7:29
1  
Just being the PC's name doesn't mean it is necessarily in net name. It needs to be listed in net name for it to work. –  Matthew Scharley Nov 2 '09 at 7:44

Try a computer name or netbios name instead of an URL.

share|improve this answer
    
I am sending via the pc name , and get that error . How i get that netbios name ? –  Night Walker Nov 2 '09 at 7:40
    
You can get a list of netbios names associated with a PC by running net name –  Matthew Scharley Nov 2 '09 at 7:45
    
i get following error The Messenger service is not started. Is it OK to start it? (Y/N) [Y]: y System error 1058 has occurred. The service cannot be started, either because it is disabled or because it has n o enabled devices associated with it. –  Night Walker Nov 2 '09 at 7:47
1  
Then there's your first problem. In recent iterations of Windows the Messenger service is disabled (not just off, but disabled) by default. It needs to be running to recieve (and send for that matter, I believe) messages. msdn.microsoft.com/en-us/library/aa984431%28VS.71%29.aspx You want the one about the Service Control Manager –  Matthew Scharley Nov 2 '09 at 8:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.