Task Scheduler is a component of Microsoft Windows, including the latest version of Windows 10, that provides the ability to schedule the launch of computer programs or scripts at pre-defined times or after specified time intervals. On how to create a scheduled task on Windows Server 2019, visit the following link. The Task Scheduler enables you to automatically perform routine tasks on a chosen computer. Task Scheduler does this by monitoring whatever criteria you choose (referred to as triggers) and then executing the tasks when those criteria are met. You can use the Task Scheduler to execute tasks such as starting an application, sending an email message, or showing a message box. Tasks can be scheduled to execute in response to these events, or triggers.
low are the steps to create a shortcut on a Desktop for a scheduled job. - Create a desktop shortcut. On how to create a shortcut, see the following link . On how to make a shortcut available to all users, see the following link as well.
Below are the steps to create a shortcut on a Desktop for a scheduled job.
Create a desktop shortcut: On how to create a shortcut, see the following link, and how to make a shortcut available to all users.
– Right-click on the desktop
– Click on New
– Click on Shortcut
- When you create the shortcut, in the “Type the location of the item” field, type the following command and enter the appropriate task name.
schtasks.exe /run /tn "Task Name".
I had to open my task scheduler program in order to get my task name as shown below “WindowsUpdate”.
Note: Task Name needs to be the actual name of the task.
– Click on next as shown below
Type a name for your shortcut and press Finish as shown below
Now the shortcut has been created If you would like to change the icon, see the following link. As shown below, the desktop icon has been created. When you double-click on the shortcut, it runs the selected file with administrator permissions, without triggering a UAC prompt.
For a similar shortcut task “how to create a desktop shortcut in Windows 10 to switch User Accounts – Fast user switching (Session Disconnection Utility)“, visit the following link.
I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.