Link to home
Create AccountLog in
Avatar of zeBes
zeBes

asked on

windows MSG command not working

refering to the guideline here: http://webtools.live2support.com/windows/msg.php
we are thinking of using the MSG command to send message to all the clients PC to inform them when the server is restarting, or sth urgent..

this is the command we've tried, but not working (only the computer we use received this msg, the other won't)
MSG pc_name  'Server will be shut down at 9am'
Avatar of zeBes
zeBes

ASKER

when we run this command on our server (win2000), it says that the Terminal Services is required... what's that means?
Avatar of Jeff Beckham
Try "net send" instead.

The syntax of this command is:
NET SEND
{name | * | /DOMAIN[:name] | /USERS} message
Avatar of zeBes

ASKER

i tried
net send pc001 hi

but i get:-
This message alias could not be located.

I'd be willing to bet that most of the computers have the "Messenger" service disabled. Go into the services of the computer you want to send the test to and check to make sure that service is started.
Avatar of zeBes

ASKER

where is the Messenger service under?
control panel??
Avatar of zeBes

ASKER

when i use MSG, i still can send msg to myself but when i use net send, i could even receive msg to myself.. (same PC)
ASKER CERTIFIED SOLUTION
Avatar of Computron
Computron

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of zeBes

ASKER

ok, i got it :)

but is there any other way to send msg?

and why MSG can't work?

i increase the pts for this extra question.
Avatar of zeBes

ASKER

C:\>msg pc001 hi
pc001 does not exist or is disconnected

but when i use net send, i could send to pc001
Check the reference I gave. You don't send to a computer, but rather a user, if you are using MSG
Avatar of zeBes

ASKER

hmm, then i think i will stick to net send...
Avatar of zeBes

ASKER

OMG, i just notice that beckham has suggested net send... should have split the point a little
No sweat.  Glad we could help
Avatar of zeBes

ASKER

;)