Get IT Solutions

How to do IT
Menu
  • Home
  • SCCM 2012
    • Deploy Packages
    • Troubleshooting errors SCCM 2012
  • Windows
    • Applications Silent Install
    • Windows Tools
    • Windows Error
    • Script
    • Exchange Server
    • Troubleshooting Office
  • Database
    • SQL Server
  • Cybersecurity
  • Other
  • Our Review

Solution for task scheduler error 2147750704 sending email and Message Display

Task scheduler error 2147750704 appearing when you tries to add a task “action” that is no longer supported from your current operating system. Options to schedule both E-Mail and System Message Display have been removed. For example if you will try to open the action drop-down on Windows 10 you will see that the 2 options above are tagged as “deprecated”. Those option are tagged as “deprecated” also on operating system Windows 8 and above.

Details of Error message 2147750704: An error occurred for task….. The following error was reported: 2147750704.

The official explanation for the error:

– The feature or item you have chosen is Deprecated. It cannot be used.
– The “action” you have selected for your scheduled task is not available for your current Operating System.

Task scheduler error 2147750704

Task scheduler error 2147750704

Solutions for Task scheduler error 2147750704.

How to send email from task scheduler:

To use again removed features action “Send an e-mail” we can use Powershell. Create a PowerShell script and after that you can schedule the PowerShell script to run with Task Scheduler.

Powershell Script Version 1:

function sendMail{

Write-Host "Sending Email"

  #SMTP server name
$smtpServer = "smtp.xxxx.com"

    #Creating a Mail object
$msg = new-object Net.Mail.MailMessage

   #Creating SMTP server object
$smtp = new-object Net.Mail.SmtpClient($smtpServer)

    #Email structure
$msg.From = "[email protected]"
$msg.ReplyTo = "[email protected]"
$msg.To.Add("[email protected]")
$msg.subject = "My Subject"
$msg.body = "This is the email Body."

     #Sending email
$smtp.Send($msg)

}

#Calling function
sendMail

Powershell script version 2:


Send-MailMessage -To [email protected] -Subject "This is a PowerShell test Email" -Body "The text" -SmtpServer x.x.x.x -From [email protected]
Powershell script

Powershell script

How to Display a message from task scheduler:

To use again removed features to action tab “Display a message” we can use “Command Prompt” or “PowerShell”.

Using Command Prompt.

To set the task scheduler action to display a message using Command Prompt:

  1. Got to “Actions” tab
    1. click on “New” button or
    2. click on “Edit” button to edit an existing task
  2. type “msg” in “Program/script” text box and
  3. Past following string on “Add arguments” * Test_Message
    1. Edit Test_Message with your message that you want to show.

 

That’s it. Now Task Scheduler will allow you to create or import the task without any problem. Whenever the scheduled time comes, you’ll see the desired message as shown in following screenshot:

Message

Message

Using PowerShell.

To set the task scheduler action to display a message using PowerShell:

  1. Got to “Actions” tab:
    1. click on “New” button or
    2. click on “Edit” button to edit an existing task
  2. Type powershell in “Program/script” textbox.
  3. In “Add arguments” textbox paste following string: -WindowStyle hidden -Command “& {[System.Reflection.Assembly]::LoadWithPartialName(‘System.Windows.Forms’); [System.Windows.Forms.MessageBox]::Show(‘ Test_Message ‘,’Test _Title’)}”
    1. Edit Test_Message with your message that you want to show.
    2. Replace Test _Title with the desired title which you want to appear in message box title bar.

 

I think that those method can replace completely the removed features from windows “Display a message” and “Send an e-mail”.

Please leave comment if you have any question related to error 2147750704 of Task Scheduler.

Share
Tweet
Google+
Pinterest
Linkedin
Stumble
Email
Prev Article
Next Article

Related Articles

chrome extensions
As a Chrome Enterprise admin, you can control which Chrome …

Chrome extension is blocked by Administrator

task scheduler 2147943785
Some common errors which any windows operator would face are …

Windows task scheduler 2147943785 – Failed to start event id 101

SQL Server Tips

SQL Server Error 26 and SQL Server Error 40 – How to Fix Them
Error 26 on sql server
SQL Server Error 26 and SQL Server Error 40 appear when you try to connect to SQL Server. We will ...
Read More
How to Reset SQL SA Password from Command Line – Explore Here!
Reset SQL SA Password
This article is about how to reset SQL SA password using cmd. Complete step-by-step method is mentioned to change SQL ...
Read More
Microsoft sql server error 53 – Connection Issue with SQL Server Instance
SQL Server Error 53
Microsoft sql server error 53 is common issue related with connection issue with instances on SQL Server. The reasons of ...
Read More

Search

We are on:

Get FREE SPACE for your PC

delete temp files

3 Method to Delete Temp Files in Windows 7/10 including vbs script

In this post we will explain how to delete temp files windows 7 using three different methods including vbs script ...
Read More

Fastest way to delete hiberfil sys from windows 10/8/7 and XP – CMD

In this article we will explain how to remove or delete hiberfil sys from Windows 10/8/7 and XP . If you does ...
Read More

Get IT Solutions

How to do IT

About Us

Get IT Solutions is a personal blog, which is managed to guide people for various topic.

Second Menu

  • Donate
  • About Us
  • Contact Us
  • Privacy Policy

What Will You Find

Automation is our area of writing where are included scripts, batch and various tips to automate your daily job.
Copyright © 2019 Get IT Solutions
Go to the REVIEW section and read lasted review for different tools and services!
Read Now