
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2013 11:14 PM
this action will allow you to message anyone on the network even across broadcast domains.
you will need to place the batch file in your custom action folder. you will also need psexec in your CA folder as well
CA CODE
past this in messager.bat
this will list the current users that are logged in and then it will message a user of your choosing
you will need to place the batch file in your custom action folder. you will also need psexec in your CA folder as well
CA CODE
cmd.exe /K "{actionpath}messager.bat {actionpath} {ipaddress}
past this in messager.bat
@echo off
WMIC /Node:%2 ComputerSystem Get UserName
:input
set INPUT=
set INPUT2=
echo.
echo.
echo.
set /P INPUT=Type Username to Message from list: %INPUT%
set /P INPUT2=Type Message here: %INPUT2%
%1psexec.exe \\%2 msg %INPUT% %INPUT2%
exit
this will list the current users that are logged in and then it will message a user of your choosing

Labels:
- Labels:
-
Custom Actions
8 REPLIES 8

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2015 10:39 AM
This is great thank you for posting this. Is there anywhere to get it to confirm the message was received at all?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-03-2015 06:17 PM
If you are on a domain, then the "Name" returned will be of this format; domain name\user name. If you put the domain name\user name in the Type Username to Message from list: line, then it will not work. If you put just the user name in the Type Username to Message from list: line, then it will work.
You can test this by copying PSExec.exe to your Windows folder, then run psexec \\ip address msg user name message
You can test this by copying PSExec.exe to your Windows folder, then run psexec \\ip address msg user name message

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2015 01:55 PM
This does not work on my network
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2015 05:09 PM
We can't really provide assistance for third-party actions/installers, but it might be useful to note that you can use Lansweeper 5.2's software deployment features to send messages as well. There is a built-in package under Deployment\Packages called "Cmd - Mass Messenger".

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2015 05:27 PM
I can't seem to get this to work. It just doesn't do anything.
I copy and pasted and named the batch file the same.
Any idea what I might be missing?
I copy and pasted and named the batch file the same.
Any idea what I might be missing?


Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-25-2014 06:27 PM
This is great!! Thanks for sharing!

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2013 07:20 PM
Great tool! Thank you
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2013 12:37 PM
Thanks for sharing Bob
