Created Unassigned: Error using RegisterTaskDefinition on Window10...
______Error using RegisterTaskDefinition on Window10 Proffessional______When calling "RegisterTaskDefinition", the error I am getting is:the task xml contains a value which is incorrectly formatted or...
View ArticleNew Post: FileNotFoundException during RegisterTaskDefinition?
First of all, SYSTEM cannot be the user when InteractiveToken is used since SYSTEM cannot run interactively. Please check the documentation on this site to see how to correctly call...
View ArticleCommented Unassigned: Error using RegisterTaskDefinition on Window10...
______Error using RegisterTaskDefinition on Window10 Proffessional______When calling "RegisterTaskDefinition", the error I am getting is:the task xml contains a value which is incorrectly formatted or...
View ArticleCommented Unassigned: Error using RegisterTaskDefinition on Window10...
______Error using RegisterTaskDefinition on Window10 Proffessional______When calling "RegisterTaskDefinition", the error I am getting is:the task xml contains a value which is incorrectly formatted or...
View ArticleNew Post: FileNotFoundException during RegisterTaskDefinition?
So something like this instead?taskService.RootFolder.RegisterTaskDefinition("System Restore Checkpoint by System Restore Point Creator", newTask, TaskCreation.CreateOrUpdate, "NT AUTHORITY\System")
View ArticleNew Post: FileNotFoundException during RegisterTaskDefinition?
No. See http://taskscheduler.codeplex.com/wikipage?title=TaskSecurity#system.
View ArticleSource code checked in, #97491
* Fixed TaskEventLog.Enabled setter * Added TaskService.GetEventLog method
View ArticleNew Post: Trying to disable a task (vb)
Hi, I create a task using the following code... Try Dim ts As New TaskService() ' Create a new task definition and assign properties Dim td As TaskDefinition = ts.NewTask()...
View ArticleNew Post: Trying to disable a task (vb)
See this answer for detail on the Enabled property: https://taskscheduler.codeplex.com/discussions/585279 For your code, there are some shortcuts in VB that will make your code easier to read:Dim ts As...
View ArticleNew Post: Trying to disable a task (vb)
Thanks for the tidier code. And I'm sure I tried that method to disable the task, but it's working now, so thank you!
View ArticleNew Post: Trying to disable a task (vb)
Update - It work on tasks that I've created. When I try to disable a task created by someone else, and the machine name has subsequently changed, I can't disable the task. The code throws an exception...
View ArticleNew Post: Trying to disable a task (vb)
I believe you just need to create an instance of the existing task and the re-register the task using new credentials. The samples page shows how to get a current task instance. You will need to supply...
View ArticleReleased: Release 2.4.0 (Aug 14, 2015)
Some bug fixes, better support for Windows 8 additions to core library, addition of Fluent syntax, and crontab syntax, since the 1.9.4 release. 2.4.0 release includes a number of bug fixes for Windows...
View ArticleUpdated Release: Release 2.4.0 (Aug 14, 2015)
Some bug fixes, better support for Windows 8 additions to core library, addition of Fluent syntax, and crontab syntax, since the 1.9.4 release. 2.4.0 release includes a number of bug fixes for Windows...
View ArticleNew Post: Trying to disable a task (vb)
OK, That's what I thought, but it's not working for me, so here's the code I'm trying, could you tell me what I'm doing wrong please? 'ask for the task name Dim Taskname As String = InputBox("What's...
View ArticleNew Post: Is that permission issue, then how do I fix this?
Hello, Created a task (Let's say this is TaskA) When running the task..user account : SYSTEM Set Run with highest privileges. Set Action to run a console exe application (Let's say this is ConsoleApp)...
View ArticleCreated Unassigned: Error creating TaskDefinition on Window10 Home [12187]
When I try to create the TaskDefinition and see the XMlText of a System Task(SQM data sender)'tk.Definition.XmlText' threw an exception of type __'System.OutOfMemoryException'__ exception.exception...
View ArticleCommented Unassigned: Error creating TaskDefinition on Window10 Home [12187]
When I try to create the TaskDefinition and see the XMlText of a System Task(SQM data sender)'tk.Definition.XmlText' threw an exception of type __'System.OutOfMemoryException'__ exception.exception...
View Article