New Post: Need to run schedule task as "not logged in"
You must add the username, password and special TaskLogonType. Like this example: RegisterTaskDefinition(TaskName.Text, td, TaskCreation.CreateOrUpdate, usercred.username,...
View ArticleNew Post: How to get history list of any task
Hi everyone I have been testing creating/updating/deleting/getting task scheduler with Task Scheduler Managed Wrapper. In the part of getting task . I would like to know how to get history list of any...
View ArticleNew Post: How to get history list of any task
Look at this example in the documentation.
View ArticleNew Post: Time Triger Does not fire
hi, i have time trigger for my task to run and show message to users, but when my specific date arrives my code, do no thing and time tirger doesnt fire?? why should i do to fix this issue??
View ArticleNew Post: Time Triger Does not fire
After setting up the task, go into Task Scheduler and look at it. If it doesn't have Next Run Times, then you have likely setup the trigger incorrectly. If you look at the Actions, you will want to...
View ArticleNew Post: TriggerEditDialog could not be resolved.
Hello, TriggerEditDialog could not be resolved even namespace Microsoft.Win32.TaskScheduler is added. I am trying to display dialog in a user control. What could be the reason. Please revert. Thanks,...
View ArticleNew Post: Yes, Remote Task Service even with firewall on
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...
View ArticleNew Post: TriggerEditDialog could not be resolved.
For all UI elements, including TriggerEditDialog, you must reference the Microsoft.Win32.TaskSchedulerEditor.dll assembly along with the Microsoft.Win32.TaskScheduler.dll assembly .
View ArticleCreated Unassigned: A first chance exception of type...
I'm getting this exception with this code:```Imports Microsoft.Win32.TaskSchedulerPublic Sub GetAllTasks() Using taskService As New TaskService For Each task As Task In taskService.AllTasks Using task...
View ArticleCommented Unassigned: A first chance exception of type...
I'm getting this exception with this code:```Imports Microsoft.Win32.TaskSchedulerPublic Sub GetAllTasks() Using taskService As New TaskService For Each task As Task In taskService.AllTasks Using task...
View ArticleCommented Unassigned: A first chance exception of type...
I'm getting this exception with this code:```Imports Microsoft.Win32.TaskSchedulerPublic Sub GetAllTasks() Using taskService As New TaskService For Each task As Task In taskService.AllTasks Using task...
View ArticleCommented Unassigned: A first chance exception of type...
I'm getting this exception with this code:```Imports Microsoft.Win32.TaskSchedulerPublic Sub GetAllTasks() Using taskService As New TaskService For Each task As Task In taskService.AllTasks Using task...
View ArticleClosed Unassigned: A first chance exception of type...
I'm getting this exception with this code:```Imports Microsoft.Win32.TaskSchedulerPublic Sub GetAllTasks() Using taskService As New TaskService For Each task As Task In taskService.AllTasks Using task...
View ArticleNew Post: what is the best way to deploy task scheduler with my .exe ?
I want to register a task in client system at the time of installation ... I combined it with installer class .. but when running installer its give exception UserId: , Task: I already run it as Admin...
View ArticleNew Post: what is the best way to deploy task scheduler with my .exe ?
Will you elaborate on the exception you are getting and the trigger and action you have added to the task?
View ArticleNew Post: Multiple Dos command through Task scheduler Action without using...
Hi, In task scheduler action(s) I would like to execute following DOS commands without using any batch file. Would it be possible? Please help. / Store current date and time in a variable / set...
View ArticleNew Post: what is the best way to deploy task scheduler with my .exe ?
public override void Install(IDictionary mySavedState) { try { using (TaskService ts = new TaskService()) { // Create a new task definition and assign properties TaskDefinition td = ts.NewTask();...
View ArticleNew Post: what is the best way to deploy task scheduler with my .exe ?
when i am running above code in installer class its giving error (18,8)UserId: if i am going to provide UserId: in ts.RootFolder.RegisterTaskDefinition("Test",...
View ArticleNew Post: Multiple Dos command through Task scheduler Action without using...
Under Vista and later, you can use multiple actions. Order them in the order you want the DOS commands run and then put each command in a separate action. You will use the ExecAction class.
View ArticleSource code checked in, #91865
* More work on TaskOptionsEditor * Documented more on task events
View Article