Posts

Windows Server Task Scheduler not running tasks

When trying to enable or disable a task, an error message saying “The selected task “{0}” no longer exists, To see the current tasks, click Refresh” is displayed. When clicking the Refresh, the Task Scheduler is empty but if closed and reopened, the tasks are visible again.

A similar scenario is described in this article.

This is how I solved it, which was much easier:

  • Right click on a task and select Export. Save it to a file.
  • Right click the same task and select Delete.
  • In the right pane, select Import and select the previously saved file.
  • Save the imported task and if necessary, enter Administrator password.
  • Repeat for all tasks in the Task Scheduler.

After this all the tasks started working again.

How to find out the IP-address of a remote desktop client on Windows server

From a command shell (cmd) issue the command:

netstat -a | find “:3389” | find “ESTABLISHED”

This will a result in a list of all remote IP-addresses connected using RDP to the server.

If the server is using a non-standard port for RDP, replace 3389 with the non-standard port.