locked
VB Script Output - Need to be displayed for all users logged into a desktop RRS feed

  • Question

  • Hi Team,

    I need to post a message to logged on user via VB script.

    Currently, I use an desktop admin account to push this script to desktop and executing the same. This works without any issues!

    However, results are NOT being displayed to an end user. Looks like, it works within Administrator's profile.

    Requesting your help to improve our script to display message to ALL LOGGED IN USERS of a desktop/system.

    Script Info -

    msgbox"Dear User, You have raised an incident to fix Outlook profile issues, where our automations will invoke remediation scripts at backend. In the meantime, please leverage https://www.mail.xxx.com/owa to check your emails accordingly!"

    • Moved by Bill_Stewart Friday, March 15, 2019 5:36 PM This is not "teach me system admin basics" forum
    Wednesday, January 16, 2019 6:30 AM

All replies

  • That is correct.  You cannot use VBScript to send a message to a users desktop. 

    To send a message to users use the "MSG" utility.

    MSG /?

    follow the instructions.


    \_(ツ)_/

    Wednesday, January 16, 2019 10:29 AM
  • Yes, this logic works locally. No issues -

    Being an administrator for all Laptops, how can we pump this message to a logged in user?

    Modified Script -

    result=Msgbox("Dear User, You have raised an incident to fix Outlook profile issues, where our automations will invoke remediation scripts at backend. In the meantime, please leverage https://email.emc.com/owa to check your emails accordingly!",vbYesNo+vbInformation, "")

    Wednesday, January 16, 2019 10:43 AM
  • You can't. It is that simple.  You can only use MSG to send network messages.


    \_(ツ)_/

    Wednesday, January 16, 2019 10:53 AM