Loading

Subscribe via RSS

Subscribers to Admin Arsenal blog

Subscribe by Email

Your email:

Browse by Tag

Admin Arsenal Blog

Current Articles | RSS Feed RSS Feed

Need to send a message to your computers? It's easy and free!

  
  
  
  
  
  

We all remember the days of net send, right? It was a handy little tool back in the day. Since net send went away there seems to be a perception that it isn't as easy to send a message to Windows' computers anymore. B.S. If you want to send a message to some or all of your computers you can use the free PDQ Inventory or PDQ Deploy. Today we'll look at how to do this in PDQ Inventory. 

Let's say I want to send a message to all of my Windows computers which reminds the users to reboot their computers at the end of their shift. Go ahead and open up your PDQ Inventory console. In the example below I right-click my Online Systems collection (I mean, why try to send a message to a computer that's offline?) and select Tools / Remote Command

In this case I simply type in the following to my command field:

msg * /TIME:120 Please restart your computer before you leave for the day

The splat (*) tells msg.exe to send the message to every session on the target computer. Obviously the /TIME:120 argument tells msg.exe to display the message for 120 seconds or until someone acknowledges the window. Check out the video example below.

We will show you how to do this in PDQ Deploy in our next blog.

Comments

I got below error: 
 
Return Code: 1 
 
'msg' is not recognized as an internal or external command, operable program or batch file.
Posted @ Friday, December 16, 2011 11:08 AM by Benipal
What is the OS of the target system? There are a few OSes that do not have msg.exe installed.
Posted @ Friday, December 16, 2011 11:51 AM by Shane Corellian
I can see this being very useful, but one question. Is there a way to delete the remote command history? I may have got a little crazy while I was testing this...
Posted @ Friday, December 16, 2011 11:53 AM by ian fitzpatrick
haha, going a little crazy with the remote messages, eh? In the next version of PDQ Inventory you will be able to clear the history from within PDQ Inventory. For now you will need to edit the database directly.  
 
Download the following SQLite utility. <a>http://sqlite.org/sqlite-shell-win32-x86-3070800.zip  
 
Extract this file (I put mine in C:\Windows so that it is in my %PATH%) and then connect to your PDQ Inventory DB.  
 
sqlite3 "%programdata%\Admin Arsenal\PDQ Inventory\database.db"  
 
then run the following command (this will delete all commands that begin with msg)  
 
delete from RemoteCommandHistory where command like 'msg%';  
 
Don't forget to add the semi-colon to the end of your delete. If you want to delete the entire history then just use the command  
delete from RemoteCommandHistory;  
 
Hit CTRL+C to close out your SQLite session. You will also need to restart your PDQ Inventory console to clear the history from the Cache.
Posted @ Friday, December 16, 2011 12:33 PM by Shane Corellian
Comments have been closed for this article.