Closed Issue: TaskOptionsEditor [12198]
Hi all, is this UI version working at all? I ask before I start getting into the source code and trying to find what may be happening. I just don't get any of the controls filled with the data (I tried...
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: Change Task Name
I'm trying to figure out the best way to add new tasks that are painless for the user but I'm running into an issue with my code where the Task Name can't be changed Here is my code:Public Sub...
View ArticleNew Post: Change Task Name
There is not a simple way to do it. The only way I know how is to get the TaskDefinition from one task, delete the one with the original name, and then re-register a task with the new name and the...
View ArticleNew Post: Change Task Name
So I worked on the code a bit and so far the best way I came up with was this: Public Sub newTask() ' Create a new task definition and assign properties Dim td As TaskDefinition = _tskSrvc.NewTask...
View ArticleCreated Unassigned: RegisterChanges Method Exception - account name [12225]
I'm attempting to use the TaskService library (because it offers some functionality missing in the native PoweShell cmdlets for Scheduled Jobs) to update a scheduled task with a 'Zero' timespan which...
View ArticleClosed Unassigned: RegisterChanges Method Exception - account name [12225]
I'm attempting to use the TaskService library (because it offers some functionality missing in the native PoweShell cmdlets for Scheduled Jobs) to update a scheduled task with a 'Zero' timespan which...
View ArticleCommented Issue: RegisterChanges Method Exception - account name [12225]
I'm attempting to use the TaskService library (because it offers some functionality missing in the native PoweShell cmdlets for Scheduled Jobs) to update a scheduled task with a 'Zero' timespan which...
View ArticleSource code checked in, #97830
* Separated out user authentication for task registration
View ArticleUpdated Wiki: Documentation
Documentation Home Page There is a help file included with the download that provides an overview of the various classes. The Microsoft MSDN documentation provides an excellent overview of the Task...
View ArticleUpdated Wiki: PowerShell
PowerShell ExamplesCreate a task[Reflection.Assembly]::LoadFile("C:\CodeShare\Microsoft.Win32.TaskScheduler.dll") $dt= New-Object Microsoft.Win32.TaskScheduler.DailyTrigger -ArgumentList 2 $ea=...
View ArticleUpdated Wiki: PowerShell
PowerShell Examples As a .NET library, all of the Task Scheduler Managed Wrapper can be used from within PowerShell. You simply need to load the assembly and then use the interop methods, like...
View ArticleSource code checked in, #97834
* Updated string handling and resources (minor) * Added simpler TaskService.AddTask method
View ArticleUpdated Wiki: PowerShell
PowerShell Examples As a .NET library, all of the Task Scheduler Managed Wrapper can be used from within PowerShell. You simply need to load the assembly and then use the interop methods, like...
View ArticleSource code checked in, #97850
* Changed version to 2.5.0 due to major changes in the way Actions work under the hood * Fixed exception problem in RegisterTaskDefinition when specifying the SYSTEM acct. * Some UI fixes for...
View ArticleSource code checked in, #97861
* Lots of changes to Actions, ActionCollection and TriggerCollection
View ArticleNew Comment on "Documentation"
Create Task works fine, but how do I delete the task again? I tried it this way: Private Sub btnDeleteTask_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDeleteTask.Click...
View ArticleNew Comment on "Documentation"
LudwigP: You have to connect to the TaskService with credentials the same or better than those used to create the task. UAC can also cause problems so either Run as Admin or change your manifest file.
View Article