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

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.
0
RFEMHelpdesk
Asked:
RFEMHelpdesk
  • 3
  • 3
1 Solution
 
LordArokhCommented:
Have you checked : Net Send.

In DOS command prompt try net send ?


Cheers
TK
0
 
RFEMHelpdeskAuthor Commented:
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.
0
 
LordArokhCommented:
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 :

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/Windows_Vista/Q_24715908.html

Also to run it under XP you should configure/add registry keys it seems :

HKLM\System\CurrentControlSet\Control\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
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
RFEMHelpdeskAuthor Commented:
I can accept that MSG.exe is not the solution. If that is the case are there any other programming options available?
0
 
LordArokhCommented:
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
0
 
RFEMHelpdeskAuthor Commented:
While waiting for a response, I located an OpenSource product that seems to do what I have requested. Not quite what I wanted but, it will do for now. It does not require an agent to be run on the client but, there is one available. It is a VERY nice Admin tool. It is called Purgos by Softulz.. See it here http://www.softulz.net

Thank you for all of the help and advice.
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

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