RFEMHelpdesk
asked on
VBScript to send a broadcast message.
I would like to be able to use a vbscript to send a broadcast message to all machines on the domain. I am not able to turn on the messaging service. I understand that MSG.exe will work but I am unable to get it to send to any/all computers in the domain. I have a mixture of clients (XP, Vista and Win 7, Server 2000, Server 2003 and Server 2008)
I would think that one could get the script to parse the computer names from LDAP. I am not sure if there need to be exceptions in the firewall for MSG to work or maybe there is just a beteer overall solution out there.
At this point any suggestions are welcome.
I would think that one could get the script to parse the computer names from LDAP. I am not sure if there need to be exceptions in the firewall for MSG to work or maybe there is just a beteer overall solution out there.
At this point any suggestions are welcome.
ASKER
Thank you for your reply. Net Send requires that the messenger service be running on each workstation. As I stated, I am not going to be able to enable this service. MSG.exe has no dependancies that I have found.
I saw quite a lot of problems with MSG.exe while looking for a quick solution for you.
It seems that MSG.EXE is available in Vista and after Windows OS. So it does not exists on XP. You may check this link below, as another EE user had a similar problems with it :
https://www.experts-exchange.com/questions/24715908/Vista-msg-exe-to-all-users-on-a-domain.html
Also to run it under XP you should configure/add registry keys it seems :
HKLM\System\CurrentControl Set\Contro l\Terminal Server
Dword=AllowRemoteRPC
Value=1
If you got it work on your network properly, we may create a script which may query AD and get all computer accounts and send them your message.
Cheers,
TK
It seems that MSG.EXE is available in Vista and after Windows OS. So it does not exists on XP. You may check this link below, as another EE user had a similar problems with it :
https://www.experts-exchange.com/questions/24715908/Vista-msg-exe-to-all-users-on-a-domain.html
Also to run it under XP you should configure/add registry keys it seems :
HKLM\System\CurrentControl
Dword=AllowRemoteRPC
Value=1
If you got it work on your network properly, we may create a script which may query AD and get all computer accounts and send them your message.
Cheers,
TK
ASKER
I can accept that MSG.exe is not the solution. If that is the case are there any other programming options available?
Sorry mate,
I did lots of search about it. Unfortunately I couldn't find any solution.
Most of the solutions that I end up needs 3rd party application on client side. Which means it should be deployed to client machines.
Cheers
TK
I did lots of search about it. Unfortunately I couldn't find any solution.
Most of the solutions that I end up needs 3rd party application on client side. Which means it should be deployed to client machines.
Cheers
TK
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
In DOS command prompt try net send ?
Cheers
TK