Scripting Question

Batch file that uses the msg command. (KACE 1000 Appliance)

08/28/2015 2513 views

Hey guys,

I am trying to create using a bat file as part of my script that executes the msg.exe command to relay a message to our users but its not working. I am new to KACE and wandering is it due to the fact that Windows stopped supporting net send and switched to msg.exe?

FYI all my other bat files are working correctly. I cannot even do a simple msg.exe %username% hello world.

Any suggestions?

0 Comments   [ + ] Show comments


All Answers

I know this is an old question but I ran into it as well. In my case it looks like a mismatch between 32 bit and 64 bit Windows applications. Instead of running "msg %username% hello world" in my batch files I switched to "C:\Windows\Sysnative\msg.exe %username% hello world". Again in my case it doesn't work from the command prompt but it does work if ran from a batch file as part of an online kscript. 
Answered 02/25/2016 by: jcurran
Senior Purple Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ