1

I use SendEmail.exe to send automatic emails using Windows Task Scheduler

enter image description here

But when it does launch that SendEmail.exe it launches in a command prompt shown below which is shown on the screen for few seconds enter image description here

Is there any way to minimize this or hide it completely?

Reason I have sendEmail Enabled as an action when somebody RDPs to my server so them knowing that i am sending an alert defeats the purpose of this alert

1

On the General Page select "Run whether user is logged on or not" and select "Hidden".

See screenshot: enter image description here

  • 1
    For those unfamiliar with the process, a little more detail, might make this more helpful to people. – Ramhound Feb 18 '16 at 20:43
  • Yeah. Now I see that it was not enough details. I should have thought about others too, not only the poster of the question. – Zina Feb 19 '16 at 9:00
  • Thanks, this does work but i am getting 10 emails for every login, Debuggin that now. I like this solution, simpler – SeanClt Feb 19 '16 at 17:18
  • it's flooding my inbox got 65 or so emails so far – SeanClt Feb 19 '16 at 17:20
  • 1
    What have you set as trigger? – Zina Feb 19 '16 at 18:14
2

Instead of launching SendEmail.exe directly in the task, launch Start with SendEmail as an argument. That way you can then take advantage of Start's ability to run minimized.

From Start /?:

MIN         Start window minimized.

So change the "Program/Script" to start and then add "" /Min "c:\sendEmail-v156\sendemail.exe" <your arguments for SendEmail> in the "Add arguments (optional)" field.

  • 1
    Thank you will try that. never thought about it. i kept trying /min in arguments. glad i asked – SeanClt Feb 18 '16 at 19:57
  • from command prompt start "" /Min "c:\sendEmail-v156\sendemail.exe" <your arguments for SendEmail> this works and it minimizes the popup too but when i put start in program and rest in Add arguments this it doen'st work. It's like it's not liking the start being a program – SeanClt Feb 19 '16 at 18:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.