WIndows Server 2012 Event email notification deprecated, really, kidding right?


  • WIndows server 2012 Event email notification deprecated?  Are there any plans to change this?  Is there another solution other than the powershell solution I have read about that will not work for my issue.  This is a deal breaker on upgrading to Server 2012 for me.
    Monday, December 03, 2012 6:07 PM


All replies

  • Hi,

    This function is removed from Windows 2012, and powershell is the most popular solution for this, it seems like script is the most known way to do that, here is link for you, please refer to it:



    Yan Li

    Cataleya Li
    TechNet Community Support

    Thursday, December 06, 2012 8:13 AM
  • Your statement that "PowerShell is the most popular solution" Isn't it really the only solution at this point? Now I'm having to learn this new method in PowerShell and create a PowerShell scripts for each schedule task and event I need an email alert on. This will delay the deployment of any Windows Server 2012 version in my environments for several months. Thanks, for the response.

    Thursday, December 06, 2012 7:21 PM
  • Hi Cataleya,

    I understand that this (useful) function is removed from Windows 2012 and that powershell is the most popular solution for this and that Microsoft now encourages IT Pros to use powershell for this, however I really don't understand why in Event Viewer the System –> Attach a Task wizard to send an email notification using task scheduler is still available.

    Should I expect that the Task Scheduler will not create the task if choosing this "deprecated feature" ?

    Thanks and Regards,


    Tuesday, June 25, 2013 4:00 PM
  • Hi

    I must admit when I first came across not being able to add an event notification on my new server 2012 core server I though great bloody MS again.

    However after a few hours testing a very simple powershell script I had email notifications working with event log entries for my backups jobs.

    It really was very simple and straight forword

    All I did was create new basic task > when a specific event is logged > select log > source > event id > select start program >

    now enter powershell.exe under Program/scripts

    Add argument > point this to the powershell script, eg C:\scripts\email.ps1

    now the very simple powershell script: email.sp1

    Send-MailMessage -to <recipient email address> -Subject "Backup Success" -body "The server backup job on server1 completed successfully" -smtpserver <your mail server> -from <sender email addreess>

    You will have to either sign your scripts or as I did set the execution policy via gpo to remotesigned, this will allow local PowerShell scripts to be executed.

    gpo on a win28R2k server Computer Configuration > Policies > Administrative Templates > Windows Components > Windows PowerShell > Turn on Script Execution

    • Proposed as answer by balboa4101 Friday, October 04, 2013 5:32 PM
    Thursday, July 25, 2013 4:27 PM
  • Thanks, RobGilbie!

    Your solution worked for me, very simple as you describe it.  Anyway, Microsoft should not go back, we as administrators need to be re-learning same stuff again and again.  That's just like changing the "ping" command to "touch"...nothing improved and just a new stuff to be learned (as if we don't have enough to learn already!!!).

    Friday, October 04, 2013 7:11 PM
  • Thanks, RobGilbie. Very simple instructions and it works perfectly.

    A tip to others on Office 365. The From address doesn't need to be a real address, so in my case, I was wanting notification when my O365 admin account password had expired.

    I made the From address specific to the problem which is useful to quickly recognize which account is affected. Such as ""

    VR// Brian Mc

    Tuesday, February 03, 2015 7:23 PM
  • "Anyway, Microsoft should not go back, we as administrators need to be re-learning same stuff again and again.  That's just like changing the "ping" command to "touch"...nothing improved and just a new stuff to be learned (as if we don't have enough to learn already!!!)." - Agree!

    I wonder why MS thinks the e-mail sent via PS is better then sent by Task Scheduler GUI? MS had better allow at last to attach a PS/cmd script right to the performance alerts (on the Alert Task page), not just tasks as for now...



    • Edited by MF47 Wednesday, July 01, 2015 3:02 PM
    Wednesday, July 01, 2015 3:00 PM
  • Where to add the event ID ? could you please share the detailed steps
    Thursday, September 17, 2015 10:06 AM
  • Does anyone at Microsoft not see the insanity of this? Windows is an inherently VISUAL, WINDOW based, GUI-based OS. That's how they made their bones! "Look ma, no command line!"

    Now, as an ADVANCEMENT, we're going BACK to the COMMAND LINE! Somewhere Linus Torvalds is laughing his ass off. 

    I'm looking for a third party solution...

    Friday, October 14, 2016 5:17 PM
  • "Now, as an ADVANCEMENT, we're going BACK to the COMMAND LINE!" - and we're going back to the command line not only in Windows Server itself: when I first realised that in Exchange 2010 the only way to set up anti-spam/attachment filtering is by using Exchange Power Shell I was ...mildly speaking a bit suprised... Seems MS really does not understand one thing: if an administrator wants/needs to do something in the shell he/she can do it for free - in Linux or FreeBSD - why should we pay for the things we can get for free?


    Saturday, October 15, 2016 6:48 PM
  • Totally agree. And Windows 10 is not an advancement there either. I've noticed a change in MicroSpeak where Win10 is not an's a 'service' and as such, things like the ability to turn updates off and on are well buried. I spend more time tweaking 10 to run according to my users needs than ANY other job function...and that's a lot. 

    I 'serve at the pleasure of my clients', so when a major healthcare organization decided to get into bed with MS to the exclusion of almost everything else, I have no choice but to support their decisions and policies. But I have to say that lately, my desire to promote MS products is waning heavily. 

    Saturday, October 15, 2016 7:28 PM
  • Concerning Win10: I think the decision to make Win10 "the last" version (meaning there will be no Win11, 12... - just the newer and newer versions of Win10 itself) is the worst one MS has ever made: our company purchases ~1-2 new PCs with Win10 OEM per month and now it seems there are no identical Win10 DVDs in the office at all - every Win10 installation has minor or major differences compared to the previous one(s).

    For example, last week we needed to reinstall one Win10 box - we could not activate it right after installation: MS's told us we can not activate Win10 prior to Anniversary update any more and should create a new DVD (they sent us a link to the new iso). If that means any Win10 DVD may become useless at arbitrary time ... no comments.

    "But I have to say that lately, my desire to promote MS products is waning heavily." - so is mine.



    • Edited by MF47 Sunday, October 16, 2016 3:38 PM
    Sunday, October 16, 2016 2:53 PM
  • Of all the things Microsoft has said over the years about the path forward, I think the entire statement on Win10 being the last release is right up there with "Peace in our time".

    If nothing else, market forces are going to force them to come out with 'New and Improved!' product that doesn't relate to a product that is, say, 8 years old. Even if it is as Bowie said, "same old thing in brand new drag," they're going to have to repackage/rebrand/remarket SOMETHING. Can you not see some writer at PC Mag or even a market analyst coming out in 2020 and saying "Microsoft is resting on the laurels of their 8-year old operating system...when are they going to come out with a new one?"

    And that's precluding the possibility of guys like you and me who are, as you say, TOTALLY choked with trying to manage version after version in a corporate environment. What is this, Dell? "Ohwp: it's 3 years old. Time to wipe and start again." That's not going to happen. 


    Sunday, October 16, 2016 3:44 PM