This project has moved and is read-only. For the latest updates, please go here.

Cannot get list of tasks from Windows 2008 Standard R2 Server

Sep 25, 2012 at 12:30 AM

I have been using latest TaskScheduler library to collect Windows Task information from Windows 2008 Server R2 standard. I am able to get the task Configure For "Windows Server 2003, Windows XP or Windows 2000". When a new task is created it is set to Configure for: "Windows Vista, Windows 2008". TaskScheduler library does not show these new tasks. Please let me know how to resolve this issue. Any help will be appreciated. Thanks.

Sep 25, 2012 at 5:11 PM

To get a task to register to support a specific version of the library (which is what that ComboBox is referring to), you set the TaskDefinition.Settings.Compatibility property. Under the 1.8.x version of the library and earlier, you can only set this to V1 (WS2K, WS03, or XP) or V2 (Vista, WS08 and later). Under the 1.9.x version of the library and later, you will be able to set this to specific versions of the library that correspond to those referenced in the Microsoft documentation allowing for specific Windows 7 additions (V2_1) and then specific Windows 8 additions (V2_2).

Sep 26, 2012 at 2:01 AM

Hi David,

Thank you very much for prompt answer.

I am trying to get the list of tasks using the lastest taskscheduler library (1.8.3), but not able to get the list of tasks that are configure for "Windows Vista, Windows 2008". Please let me know what property I need to set to get the task list.


Sep 28, 2012 at 4:47 PM

Make sure that when you create the TaskService instance, you are not providing "true" for the last parameter of the constructor. This will limit your access to those tasks created with version 1.0 of the library.

Oct 2, 2012 at 2:36 AM

Thanks you for your reply - still no luck. I tried both passing false and try for Version. Currently the task is set to configure for "Windows Vista, Windows Server 2008". These tasks are not showing in my list. Is there any issue with permissions? Any special permission I need?