This project has moved. For the latest updates, please go here.

Yes, Remote Task Service even with firewall on

Topics: Errors, Examples
Oct 16, 2014 at 5:22 PM
I made the experience that it is possible to connect to the Task Service of a client which has firewall on and "Allow Remote Task..." deactivated.

It is very simple. I created the following code to be able to handle XP machines I couldnt connect the "normal way". Always getting "...not supported". Then by "accident" I started this code against a 2008SP2 Client with firewall on and "Allow Remote Task..." deactivated:

ts = new TaskService();
ts.TargetServer = <ip addres of machine>.

After filling up the ip address it gets connected to the machine. Well it looks like it doesnt fully support everything. Sometimes tasks are schduled and dont run automatically. But I am able to define tasks, monitoring them and start them when they need a little bit extra help.

Hope this helps someone running into the firewall problem.
Marked as answer by dahall on 9/1/2015 at 10:04 AM