Site icon WindowsLoop

How to Display a Popup Message in Windows 10 & 11

Win10 display message task scheduler - featured

Want to display a popup message on schedule or on a specific event or trigger? You can do it using Task Scheduler. Here’s how.

It is not often, but there will be times when you need to display a quick message on schedule or on a specific event, like opening a program or changing a Windows setting. For example, maybe you want to remind users to shut down the computer at a particular time.

No matter the use case, you can use the good old Task Scheduler to show a message in a popup window. Let me show you how to use the Task Scheduler to show a popup message in Windows.

Table of contents:

  1. What is Task Scheduler
  2. How to display a popup message in Windows
  3. What happened to the ‘Display a message’ option?

What is Task Scheduler

Task Scheduler is one of the most versatile programs in Windows. Using it, you can schedule different kinds of tasks to automate regular Windows activities. For example, you can use it to delay startup programs.

As this article shows, you can also use the Task Scheduler to display timely messages using a pop-up window. These popup messages are helpful for quick alerts and information.

How to display a popup message in Windows

We will use the Task Scheduler to show a popup message in Windows. Here’s how.

  1. Press the “Start” button.
  2. Search and open “Task Scheduler.”
  3. Click “Create basic task.”
  4. Set a “Name.”
  5. Press “Next” to continue.
  6. Choose a trigger of your choice.
  7. Press “Next” to continue.
  8. Configure the trigger as needed.
  9. Press “Next” to go to the next stage.
  10. Select the “Start a program” option.
  11. Press “Next.”
  12. Type “msg” in the “Program/Script” field.
  13. Type “* Replace_with_your_message” in the “Add arguments” field.
  14. Press “Next.”
  15. Click the “Finish” button.
  16. With that, Windows displays the message in a popup window according to the trigger condition.

Steps with more details:

First, open the Task Scheduler by searching for “Task Scheduler” in the Start menu.

Click on the “Create Basic Task” option on the right sidebar of the Task Scheduler.

Now, type the task name and description in the Name and Description fields, and click the “Next” button.

Now, select when the task should start. I want the message to appear as soon as the system starts. So, I selected the “When the computer starts” option. You can choose any trigger you want.

Note: You might need to configure additional options depending on your chosen option. For example, if you choose the Daily option, you must select a time to display the message.

After selecting a trigger, select the “Start a program” option and click “Next.” We will use Command Prompt or PowerShell to display the message window.

In this window, fill in the blank fields as below. If you want to use the command prompt, follow the command prompt method. For PowerShell, follow the PowerShell method.

Command Prompt:

Don’t forget to replace “Replace_With_Your_Message” with your actual message.

Important: Don’t remove * in front of the message in the Arguments field.

PowerShell:

-WindowStyle hidden -Command "& {[System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms'); [System.Windows.Forms.MessageBox]::Show('Relace_With_Your_Message','Message_Title')}"

Don’t forget to replace “Replace_With_Your_Message” with your actual message and “Message_Title” with a title. The title appears on the window title bar.

Click the “Next” button to continue.

In the Summary window, click the “Finish” button to complete the task creation process.

After creating the task, we can verify whether it is working. To do that, select the “Task Scheduler Library” folder on the right panel, find the task you just created in the middle panel, right-click on it, and select “Run.”

You should see a popup window with your message if everything goes correctly.

Command Prompt:

PowerShell:

From now on, the Task Scheduler will display the popup message window according to the scheduled trigger. In my case, the popup window will appear as soon as I start and log into my system.

What happened to the ‘Display a message’ option?

In older Windows versions, the Task Scheduler has a built-in option called “Display a Message” to display a message whenever you want. However, starting from Windows 8, that feature has been deprecated. That means you can no longer use it to show messages in Windows.

If you try to use the “Display a message” deprecated feature, it will show the “The task definition uses a deprecated feature” error.

The good thing is that you will get the same functionality using PowerShell or Command Prompt, as shown in the above guide.

That is all. It is that simple to show a popup message in Windows 10 or 11 using the Task Scheduler.

I hope this simple and easy Windows how-to guide helped you.

If you are stuck or need help, send an email, and I will try to help as much as possible.

Here are some other Task Scheduler tips you might like:

Exit mobile version