An error has occurred for task 'name'. Error message: The following error was reported: 2147750704. When creating a scheduled task in Windows 2012 or above.

When you create a scheduled task in Windows you notice that the Send an e-mail and Display a message tasks are marked as "deprecated".


You can no longer create these task types and the following error is shown

"An error has occurred for task 'name'. Error message: The following error was reported: 2147750704".


I'm really not sure why Microsoft didn't remove the UI options, it seems strange to have gutted the functionality but leave the options in the user interface.

If you want to send an email you can schedule to Start a program and use the Send-MailMessage PowerShell cmdlet.


Comments

Popular posts from this blog

Windows Server 2016, 2019, 2022, Windows 10 and Windows 11: Date and time "Some settings are managed by your organization".

TFTPD32 or TFTPD64 reports Bind error 10013 An attempt was made to access a socket in a way forbidden by its access permissions.

Windows Server 2019 desktop icons such as My Computer, Windows cannot access the specified device, path, or file.