# Script Request: Modal Message Box To Alert Users

**URL:** <https://forum.xcitium.com/t/script-request-modal-message-box-to-alert-users/16672>\
**Category:** Request a Script\
**Created:** [February 7, 2024, 5:41am UTC](https://forum.xcitium.com/t/script-request-modal-message-box-to-alert-users/16672 "2024-02-07T05:41:13Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![NTELogic](https://forum.xcitium.com/user_avatar/forum.xcitium.com/ntelogic/32/218_2.png) [@NTELogic](https://forum.xcitium.com/u/NTELogic)\
**Post date:** [February 7, 2024, 5:41am UTC](https://forum.xcitium.com/t/script-request-modal-message-box-to-alert-users/16672/1 "2024-02-07T05:41:13Z")

</div>

Greetings,

Can you please create a script that displays a pop-up message box with the following:

1. Must be a modal window (opens not minimized and displays over all open windows)
2. Has a title of “RESTART REMINDER”
3. Has a message of "REMINDER! Your computer will install Windows Updates TOMORROW night. Your computer will automatically restart after installing the updates. Please remember to save all work, close all applications, and leave your computer powered on. "
4. Has an OK button only
5. Logs whether the user clicks OK or closes the window without clicking OK

Thank you!  
Matt

---

<div class="post-metadata">

**Author:** ![PremJKumar](https://forum.xcitium.com/user_avatar/forum.xcitium.com/premjkumar/32/883_2.png) [@PremJKumar](https://forum.xcitium.com/u/PremJKumar)\
**Post date:** [February 7, 2024, 8:45am UTC](https://forum.xcitium.com/t/script-request-modal-message-box-to-alert-users/16672/2 "2024-02-07T08:45:48Z")

</div>

Hi @NTELogic ,

Thanks for your script request. We have shared your request with our script developer and provide feedback. Please note this ticket ID - CS-52169 as a reference.

Kind Regards,  
PremJK

---

<div class="post-metadata">

**Author:** ![PremJKumar](https://forum.xcitium.com/user_avatar/forum.xcitium.com/premjkumar/32/883_2.png) [@PremJKumar](https://forum.xcitium.com/u/PremJKumar)\
**Post date:** [February 7, 2024, 12:57pm UTC](https://forum.xcitium.com/t/script-request-modal-message-box-to-alert-users/16672/3 "2024-02-07T12:57:17Z")

</div>

Hi @NTELogic ,

Please check your private message where we have shared the script in JSON to test, please run the script as “Logged in User” and let us know if you need any changes.

Kind Regards,  
PremJK

---

<div class="post-metadata">

**Author:** ![NTELogic](https://forum.xcitium.com/user_avatar/forum.xcitium.com/ntelogic/32/218_2.png) [@NTELogic](https://forum.xcitium.com/u/NTELogic)\
**Post date:** [February 14, 2024, 7:54pm UTC](https://forum.xcitium.com/t/script-request-modal-message-box-to-alert-users/16672/4 "2024-02-14T19:54:03Z")

</div>

The script works perfectly, thank you! How can I setup a procedure to run this script on the first and third Wednesdays of each month? I’ve created a profile and added it to the desired endpoints. For the schedule I can choose weekly (every Wednesday) or monthly (numbered days of the month).

---

<div class="post-metadata">

**Author:** ![NTELogic](https://forum.xcitium.com/user_avatar/forum.xcitium.com/ntelogic/32/218_2.png) [@NTELogic](https://forum.xcitium.com/u/NTELogic)\
**Post date:** [February 15, 2024, 12:55am UTC](https://forum.xcitium.com/t/script-request-modal-message-box-to-alert-users/16672/5 "2024-02-15T00:55:34Z")

</div>

Also, would it be possible to add an image/logo file to the displayed box?

Thank you again!  
Matt

---

<div class="post-metadata">

**Author:** ![PremJKumar](https://forum.xcitium.com/user_avatar/forum.xcitium.com/premjkumar/32/883_2.png) [@PremJKumar](https://forum.xcitium.com/u/PremJKumar)\
**Post date:** [February 15, 2024, 5:34am UTC](https://forum.xcitium.com/t/script-request-modal-message-box-to-alert-users/16672/6 "2024-02-15T05:34:50Z")

</div>

Hi @NTELogic ,

Thanks, we have shared your request with our script developer and check and update the script if possible.

Kind Regards,  
PremJK

---

<div class="post-metadata">

**Author:** ![NTELogic](https://forum.xcitium.com/user_avatar/forum.xcitium.com/ntelogic/32/218_2.png) [@NTELogic](https://forum.xcitium.com/u/NTELogic)\
**Post date:** [February 15, 2024, 8:30pm UTC](https://forum.xcitium.com/t/script-request-modal-message-box-to-alert-users/16672/7 "2024-02-15T20:30:05Z")

</div>

We tested the revised script and it works perfectly! Thank you and the Xcitium team for always being so helpful!

Matt

---

<div class="post-metadata">

**Author:** ![nct](https://forum.xcitium.com/letter_avatar_proxy/v4/letter/n/50afbb/32.png) [@nct](https://forum.xcitium.com/u/nct)\
**Post date:** [February 15, 2024, 9:23pm UTC](https://forum.xcitium.com/t/script-request-modal-message-box-to-alert-users/16672/8 "2024-02-15T21:23:15Z")

</div>

> [@NTELogic](#):
>
> For the schedule I can choose weekly (every Wednesday) or monthly (numbered days of the month).

Hi, is this possible?

---

<div class="post-metadata">

**Author:** ![NTELogic](https://forum.xcitium.com/user_avatar/forum.xcitium.com/ntelogic/32/218_2.png) [@NTELogic](https://forum.xcitium.com/u/NTELogic)\
**Post date:** [February 15, 2024, 10:14pm UTC](https://forum.xcitium.com/t/script-request-modal-message-box-to-alert-users/16672/9 "2024-02-15T22:14:04Z")

</div>

Yes… I figured it out. We setup a Maintenance Window in the Profile, and set it to Week of Month schedule, tagged Wednesday, and set it to 1st and 3rd.

Hope this helps 🙂  
Matt

---

<div class="post-metadata">

**Author:** ![PremJKumar](https://forum.xcitium.com/user_avatar/forum.xcitium.com/premjkumar/32/883_2.png) [@PremJKumar](https://forum.xcitium.com/u/PremJKumar)\
**Post date:** [February 16, 2024, 6:37am UTC](https://forum.xcitium.com/t/script-request-modal-message-box-to-alert-users/16672/10 "2024-02-16T06:37:53Z")

</div>

Hi @NTELogic ,

Thanks, we are glad that the script worked well. Will share your appreciation with our script developer.

You can schedule and run the procedure with the help of this guide  
[https://help.comodo.com/topic-463-1-1029-15729-Add-a-Procedure-to-a-Profile---Procedure-Schedules.html](https://help.comodo.com/topic-463-1-1029-15729-Add-a-Procedure-to-a-Profile---Procedure-Schedules.html)

Kind Regards,  
PremJK

---

<div class="post-metadata">

**Author:** ![jakeritter](https://forum.xcitium.com/letter_avatar_proxy/v4/letter/j/67e7ee/32.png) [@jakeritter](https://forum.xcitium.com/u/jakeritter)\
**Post date:** [February 29, 2024, 7:48pm UTC](https://forum.xcitium.com/t/script-request-modal-message-box-to-alert-users/16672/11 "2024-02-29T19:48:37Z")

</div>

Hi, can this script be sent to me as well?

---

<div class="post-metadata">

**Author:** ![NTELogic](https://forum.xcitium.com/user_avatar/forum.xcitium.com/ntelogic/32/218_2.png) [@NTELogic](https://forum.xcitium.com/u/NTELogic)\
**Post date:** [March 1, 2024, 6:03pm UTC](https://forum.xcitium.com/t/script-request-modal-message-box-to-alert-users/16672/12 "2024-03-01T18:03:22Z")

</div>

Were you able to get the script? If not, DM me and I’ll send it to you.

---

<div class="post-metadata">

**Author:** ![PremJKumar](https://forum.xcitium.com/user_avatar/forum.xcitium.com/premjkumar/32/883_2.png) [@PremJKumar](https://forum.xcitium.com/u/PremJKumar)\
**Post date:** [March 8, 2024, 10:06am UTC](https://forum.xcitium.com/t/script-request-modal-message-box-to-alert-users/16672/13 "2024-03-08T10:06:54Z")

</div>

Hi @jakeritter ,

We are extremely sorry for not responding to you. We have shared the script to your Inbox as a private message. We will ask our script developer to publish the script too in the backend.

Kind Regards,  
PremJK

---

<div class="post-metadata">

**Author:** ![PremJKumar](https://forum.xcitium.com/user_avatar/forum.xcitium.com/premjkumar/32/883_2.png) [@PremJKumar](https://forum.xcitium.com/u/PremJKumar)\
**Post date:** [March 11, 2024, 5:34am UTC](https://forum.xcitium.com/t/script-request-modal-message-box-to-alert-users/16672/14 "2024-03-11T05:34:22Z")

</div>

Hi @jakeritter ,

The script has been published in the backend  
[https://scripts.xcitium.com/frontend/web/topic/script-to-display-custom-pop-up-message-with-custom-image](https://scripts.xcitium.com/frontend/web/topic/script-to-display-custom-pop-up-message-with-custom-image)

Kind Regards,  
PremJK
