New Post: trying to simply change tasks to disabled.
no, the task is still enabled via the UI and Code. but the register is successful in the history of the task. This is what is most strange. I do have administrative rights to this test environment. AD...
View ArticleCommented Unassigned: Need to Set "RunOnlyIfLoggedOn" in Ver 2.0 [12031]
I've created a task with a trigger that starts a custom Windows Form application "At log on" of a specific user. In order for the task to succeed in running the application upon log on of the specific...
View ArticleNew Post: How to Repetition.Duration indefinitely
I did try to use that but my task needs to be repeated hourly. So i have to set the trigger.Repetition.Interval to 1 hr timespan value and then while creating the task it complains that...
View ArticleNew Post: Converting TaskDefinition to work with Server 2003 R2
How to dynamically decide what to use for a remote computer ? forceV1=true or false?
View ArticleNew Post: Converting TaskDefinition to work with Server 2003 R2
If a server's version is Windows Server 2003 R2 or earlier or XP or earlier (major version <= 5) then you should force V1 (= true).
View ArticleNew Post: Windows 10 Support
I have just run the full bank of tests on Win10 Build 9926 w/o error, including the UI components. Please note the build and the errors in your response.
View ArticleCommented Unassigned: Need to Set "RunOnlyIfLoggedOn" in Ver 2.0 [12031]
I've created a task with a trigger that starts a custom Windows Form application "At log on" of a specific user. In order for the task to succeed in running the application upon log on of the specific...
View ArticleCommented Unassigned: Need to Set "RunOnlyIfLoggedOn" in Ver 2.0 [12031]
I've created a task with a trigger that starts a custom Windows Form application "At log on" of a specific user. In order for the task to succeed in running the application upon log on of the specific...
View ArticleNew Post: trying to simply change tasks to disabled.
Is this the correct process, seems to me that it should work?
View ArticleNew Post: Allows remote task creation when forcev1 = true ONLY
I have seen that if forceV1 is true, then the Server service in the client needs to be running, else it gives a "network path not found..." error. But if forceV1 is false, Server service dependency is...
View ArticleCommented Unassigned: Need to Set "RunOnlyIfLoggedOn" in Ver 2.0 [12031]
I've created a task with a trigger that starts a custom Windows Form application "At log on" of a specific user. In order for the task to succeed in running the application upon log on of the specific...
View ArticleCommented Unassigned: Need to Set "RunOnlyIfLoggedOn" in Ver 2.0 [12031]
I've created a task with a trigger that starts a custom Windows Form application "At log on" of a specific user. In order for the task to succeed in running the application upon log on of the specific...
View ArticleClosed Unassigned: Need to Set "RunOnlyIfLoggedOn" in Ver 2.0 [12031]
I've created a task with a trigger that starts a custom Windows Form application "At log on" of a specific user. In order for the task to succeed in running the application upon log on of the specific...
View ArticleClosed Unassigned: Task Scheduler corrupted after using the managed wrapper...
I am using the to build a Console app targeting .NET 4 that creates several tasks after deleting any old ones it created itself. Here is a link to the [Stack Overflow...
View ArticleNew Post: trying to simply change tasks to disabled.
If the task already has been created, the Task.Enabled property does not require re-registration after. You should be able to simply call:using (TaskService ts = new TaskService()) { Task t =...
View ArticleNew Post: Allows remote task creation when forcev1 = true ONLY
Thashiznets: V1 runs as a local process that acts on remote files. V2 runs as a COM+ service that passes messages back and forth via the network. This likely is the reason the firewall behaves...
View ArticleUpdated Wiki: Examples
Examples Home Page You can go to these pages for more sample code:Trigger Example CodeAction Example CodeSecurity Explanations and Samples Below are some examples of how to use most of the functions of...
View ArticleUpdated Wiki: Examples
Examples Home Page You can go to these pages for more sample code:Trigger Example CodeAction Example CodeSecurity Explanations and Samples Below are some examples of how to use most of the functions of...
View ArticleCreated Unassigned: Task.Folder return null [12057]
It was reproduced only on Win Server 2008 Enterprise. If you create a task in root folder the Task's field 'Folder' return null at first time.That's happen because IRegisteredTask.Path returns the path...
View ArticleClosed Unassigned: Task.Folder return null [12057]
It was reproduced only on Win Server 2008 Enterprise. If you create a task in root folder the Task's field 'Folder' return null at first time.That's happen because IRegisteredTask.Path returns the path...
View Article