Symantec Management Platform (Notification Server)

 View Only
  • 1.  create custom popup message to end user.

    Posted Feb 08, 2018 02:08 PM

    Hello, is it possible to send a custom popup message to end users? Not with any software installation or update just a popup notification for example saying something like "Your computer is out of compliance, please contact IT" or "Click here<link> to sign up for company benefits", etc. 

    Ideally, want to send the popup to both Mac and Windows with a single policy.

    Thank you in advance



  • 2.  RE: create custom popup message to end user.

    Posted Feb 08, 2018 04:25 PM

    The popup itself is relatively easy. That is one one, two, or three lines of your language of choice.

    But if windows and macs are in the same target, getting an interpreter to work on both windows and mac makes this request interesting. Depending on your environment, perl and javascript are the most OS agnostic.

    HTH



  • 3.  RE: create custom popup message to end user.

    Posted Feb 08, 2018 07:20 PM

    I haven't coded in years so I'm a pretty rusty. I was able to use the default Query User VBscript task and get it to run fine on my target Windows machines. I'm trying to get javascript because it should theoretically run on both Mac and Windows, but it doesn't work.

    For basic testing, I am trying to just run

    if (confirm("This is a test")) {
    	txt = "message1";
    } else {
    	txt = "message2";
    }
    ​

     or alert('message"); yet nothing popups up on Mac or Windows. That snippet runs fine in JSFiddle. If I could just get something going I could tinker with it till it works but I'm struggling to get anything to show beyond some vbscript code that I don't want to use.

    *EDIT: I should also note that when I push the tasks to the targeted machines, Altiris says the task ran successfully but nithing actually happens.



  • 4.  RE: create custom popup message to end user.

    Trusted Advisor
    Posted Feb 09, 2018 05:12 AM

    Hi,

    What OS are you intending on sending these notifications to? 

    We wrote an article for Windows 10 a while back which I think looks really good: https://www.symantec.com/connect/articles/windows-10-toast-notifications

    Thanks



  • 5.  RE: create custom popup message to end user.

    Posted Feb 09, 2018 11:17 AM

    Thanks for the link, we're looking at Win 7, Win 10, and Mac OS (primarily Sierra).



  • 6.  RE: create custom popup message to end user.

    Posted Feb 09, 2018 10:08 PM

    This article may help you for windows environment. This will track SEP service if running/ if installed. If  SEP service is not installed or if not running popup message on user screen to contact support desk. Idea is to run vbs script as logon policy using Active Directory Group Policy 

    You can modify it as per need.

    https://www.symantec.com/connect/downloads/vbs-script-run-logon-group-policy-it-will-list-all-machines-login-domain-and-give-status-s

    Other option is to make script and run using Host Integrity policy. 



  • 7.  RE: create custom popup message to end user.

    Posted Mar 01, 2018 02:46 PM

    Hey @M Khalid

    Specifically, I use vbscripts to do it, in Windows OS'.  Here's a simple script:

    FILENAME = Popup.vbs

    MsgBox "Your computer is out of compliance, please contact IT."

    or

    '

    'TIMEOUT equal to the amount of seconds the message box is displayed
    Const TIMEOUT = 3600
    'POPUP_TITLE equal to the the title of the message box
    Const POPUP_TITLE = "Company Benefits Link"
    Set objShell = WScript.CreateObject("WScript.Shell")

    'Display message box
    objShell.Popup "Please click ok to access:" & vbCrLf & vbCrLf & "http://companybenefits.com" & vbCrLf & vbCrLf & "To sign up for company benefits", TIMEOUT,POPUP_TITLE

    'Open IE to http://companybenefits.com
    objShell.Run "http://companybenefits.com"

    wscript.quit(0)