New Comment on "Examples"
Please answer my question at http://social.msdn.microsoft.com/Forums/vstudio/en-US/7921d87e-dbf0-48a7-b5d4-f94792bd49ca/creating-event-trigger-in-task-scheduler-c?forum=visualstudiogeneral
View ArticleNew Comment on "Examples"
Can someone answer my question here http://social.msdn.microsoft.com/Forums/vstudio/en-US/7921d87e-dbf0-48a7-b5d4-f94792bd49ca/creating-event-trigger-in-task-scheduler-c?forum=visualstudiogeneral...
View ArticleNew Post: Application error when editing new custom event trigger
I get error when I use EventTrigger.GetBasic(). However if I use EventTrigger.SetBasic() I don't get any error. Can anyone tell me what exactly to write in .GetBasic() method
View ArticleNew Post: Application error when editing new custom event trigger
curtishagen also posted the following as part of his question: Hi, I am using some part of the above code if (preWin7) { // Create a trigger that will fire on a system security event EventTrigger...
View ArticleNew Post: Application error when editing new custom event trigger
First of all, you must be running the executable with an account that has sufficient permissions to watch events and create tasks (usually an Admin) or, if debugging, run Visual Studio as...
View ArticleSource code checked in, #90184
* Work on TaskHistoryControl * Extracted EventTrigger UI elements into a user control and exposed to TriggerEditDialog and TaskSchedulerWizard * Added functionality to EventTrigger UI
View ArticleNew Post: Windows XP SP3 System Account.
Hi, I have a problem registering a task in windows XP SP3 and run it under system account. The task is created but when i hit run nothing happens: no entry in log file and "LastRunTime" is Never. Can...
View ArticleNew Post: Windows XP SP3 System Account.
You cannot combine RunOnlyIfLoggedOn and service accounts. You also have a problem with V1 on how you are using Principal. You will get a more consistent result by putting all the account information...
View ArticleNew Post: Windows XP SP3 System Account.
Removing that line it generates the following error:"Test Task.job" (ConsoleApplication.exe) 4/29/2014 6:12:41 PM ** ERROR **The attempt to log on to the account associated with the task failed,...
View ArticleNew Post: Windows XP SP3 System Account.
Same error running your sample:"Test Task.job" (ConsoleApplication.exe) 4/29/2014 6:28:10 PM ** ERROR ** The attempt to log on to the account associated with the task failed, therefore, the task did...
View ArticleNew Post: Windows XP SP3 System Account.
Will you try the sample just the way I posted it in my reply and let me know if you get the same error?
View ArticleSource code checked in, #90193
* More work on TaskHistoryControl's ListView (sorting and grouping) * Added ability to show editors for triggers and actions in TaskSchedulerWizard even if no selector is used
View ArticleNew Post: Windows XP SP3 System Account.
I've tried the sample but still the same error:"Test Task.job" (ConsoleApplication.exe) 4/30/2014 10:45:23 AM ** ERROR ** The attempt to log on to the account associated with the task failed,...
View ArticleNew Post: Windows XP SP3 System Account.
Has this something to do with: https://support.microsoft.com/kb/223375 ?
View ArticleNew Post: Windows XP SP3 System Account.
I have just run the following code on XP SP3 (as an Administrator) with complete success.TaskDefinition td = ts.NewTask(); td.RegistrationInfo.Description = "Test for XP SP3";...
View ArticleSource code checked in, #90199
* Fixed exception and no results from NextRunTimes * Fixed dropdown exception on XP for TaskPropertiesControl * Fixed grouping on TaskHistoryControl * Updated help system
View ArticleNew Post: (15,8):UserId: COMexception occured
var iRegTask = v2Folder.RegisterTaskDefinition(Path, definition.v2Def, (int)createType, UserId, password, LogonType, sddl); I have create a wix setup project and have included a defered custom action,...
View ArticleNew Post: The request is not supported 0x80070032
I found a solution for this problem. A Firewall setting needs to be set. Go to: Windows Firewall => Allowed Programs, scroll down to "Remote Scheduled Task Management" and check that option. In my...
View Article