Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: using msg (aka net send) command

07 Nov 2010   #1

Windows 7 Ultimate
using msg (aka net send) command

So basically if i do

msg * "message"

it displays the message to myself, but i have a wireless laptop connected to thee same router as me, is it possible to send messages to the laptop as the above command didnt work on the laptop, cheers.

My System SpecsSystem Spec
07 Nov 2010   #2

Windows 7 Ultimate x64 SP1

msg only works with a server (ie: a real network, not a workgroup). You have to use a third party app to send messages.
My System SpecsSystem Spec
23 Mar 2011   #3

Windows 7 Ultimate 64bit
You can do msg on network to Win7, Vista, and XP with powershell

I wrote a script to make this work, but read the comments in my script because you must enable powershell remote execution on all PCs (ex. via group policy):

@echo off
rem --- John Neumann, 23mar2011
rem --- Vista & Windows 7 msg.exe only works on your local PC or over network
rem --- to Terminal Servers, but you cannot msg.exe remotely to a workstation.
rem --- This script allows you to do like the old pre-vista "net send"
rem --- to send to all PCs and Servers on your Active Directory domain.

rem --- All PCs need powershell remote executions turned on and this
rem --- could be seen as a security risk.
rem --- Put this command into your logon script or group policy:
rem ------ powershell enable-psremoting -force

if '%1'=='' (
echo Usage: netsend.bat "Thing to say to all networked PCs & Servers"
goto :EOF

rem --- %%~NXa gets rid of leading directory type \ characters,
rem --- doing filename only (which is PC name in this case)
echo Your taskbar will temporarily have many minimized processes as I send messages.
for /f "usebackq" %%a in ( `net view^|find "\\"` ) do (
echo msg to %%~NXa
rem --- start allows immediate successive launches, /min=minimized
rem --- /normal=don't hog CPU, /time:86400=stay up 24 hours [default=1 minute]
start /MIN /NORMAL "title msg to %%~NXa" powershell -command Invoke-Command -Computername %%~NXa {msg.exe /time:86400 * %1 %2 %3 %4 %5 %6 %7 %8 %9}
echo Your taskbar will temporarily have many minimized processes as I send messages.
echo Each taskbar process will go away as messages complete.

rem --- Done
My System SpecsSystem Spec


 using msg (aka net send) command

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar help and support threads
Thread Forum
Command Prompt command <ipconfig> not working
when I open up my command prompt and type 'ipconfig' without the ' and press enter it returns the line: 'ipconfig' is nto recognized as an internal or external command, operable program, or batch file I am trying to find out the information I need in order to set up a static IP Address for port...
Network & Sharing
My Windows 7 64bit Home Premium does not have a COMMAND or COM command
When I am told to go to START/SEARCH and type in COMMAND, so I can RUN as Admin, it finds neither COM.exe or COMMAND.exe so I can "Run as Admin" in the DOS windows. It use to. I do have a RUN command that will bring up the DOS window but when executing some commands like CHKDSK it tells me I...
General Discussion vs. WLM when "send link as" or "send page as" is clicked
I have a W7 32bit laptop and I do not have MS Office installed. I have been using Hotmail until a couple weeks ago when I was "converted" to email - which I like OK. When I'm using a browser - IE9 in this case - and when I click on "send link as" or "send page as", it launches Windows...
Browsers & Mail
No REG Command in "Open elevated command window here" DOS Box
I have used the @="cmd.exe /s /k pushd \"%V\"" type of Registry mod to obtain a context menu "Open elevated command window here" menu item, such as in the "Open elevated command window here" thread ( ). ...
General Discussion
"Mail to" shortcut in Send To context menu fails command line argument
Hi All, Previous PC was an XP and we had a shortcut within the Send To context menu called "Mail To" which when clicked on a file would open a new email with the file attached and with the default email (as done from within Outlook), not the crappy text "mail recipient" one that is standard in...
Browsers & Mail
Right click --> Send to --> Send to mail recipient
Hi! One of our customers has a problem when trying to use this method. When he right clicks a document (whether it's .pdf, .doc etc etc) and clicks "Send to", and then clicks "Send to mail...", the only thing that happens is that a empty dialog box appears, with the title "Error", and a...
Browsers & Mail

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 20:44.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App