Quantcast
Channel: Task Scheduler Managed Wrapper
Browsing all 2206 articles
Browse latest View live
↧

Source code checked in, #98094

* Added 'description' parameter to TaskService.AddTask

View Article


New Post: Access is denied when Registering a new task - HRESULT: 0x80070005...

..

View Article


New Post: How can I set the visibility of controls in TaskEditDialog and...

I want to hide some controls and cannot find any related API. For now I just use reflection to implement it, but it is rough. So I wonder if it is possible to provide some API or any ways to configure...

View Article

New Post: How can I set the visibility of controls in TaskEditDialog and...

I'll need a lot more information. Which controls are you trying to hide? What is the use case? Does the interface need to adapt its layout when controls are removed?

View Article

New Post: Access is denied when Registering a new task - HRESULT: 0x80070005...

This is your answer, but got lost: Answering my own question, I was able to finally achieve this using the bare minimum settings. Moving the Prinicpal properties assignments and placing them instead...

View Article


New Post: Access is denied when Registering a new task - HRESULT: 0x80070005...

Yes. That's correct. I somehow missed it the last time I tried to respond. So just for an FYI in case somebody hits this roadblock, if you plan to use the S4U logon type, you will need to pass the...

View Article

Released: Troubleshooter (May 31, 2016)

Having problems with permissions or "Access denied" errors? Try running this troubleshooting tool on the system causing the problem.

View Article

Updated Release: Troubleshooter (May 31, 2016)

Having problems with permissions or "Access denied" errors? Try running this troubleshooting tool on the system causing the problem.

View Article


New Post: How can I add Run whether user is logged on or not to my application

Hello, I have an application that creates a scheduled task, but the program it is using it needs, to run whether user is logged on or not. I have done a lot of research and tried many things, but...

View Article


New Post: How can I add Run whether user is logged on or not to my application

An Administrator may register a task to run as the SYSTEM account or any user can register a task as any user and supply a password. The first option cannot access the network and the second option...

View Article

New Post: How can I add Run whether user is logged on or not to my application

Hi Dahall, So I'm not seeing where i can use the Run whether user is logged on or not. What I can do is set the Run with TaskRunLevel.Highest, but this did not work. Running it as an Administrator did...

View Article

New Post: Scheduling a remote task using TaskLogonType.Password results in...

I am getting the same error when I try to create a task with a different user. I tried to manually create the task with a different user and the active user and got the same error when I entered the...

View Article

New Post: Update User Credentials

I am trying to use the following code to update the user password on a taskts.RootFolder.RegisterTaskDefinition("Test", td, TaskCreation.CreateOrUpdate, "User", "NewPassword", TaskLogonType.Password)...

View Article


New Post: Update User Credentials

var td = ts.RootFolder.Tasks["Test"]; // then call the method as you have above

View Article

New Post: Update User Credentials

Thank you! So, my code looks like this Using ts As New TaskService() Dim td = ts.RootFolder.Tasks("TEST") ts.RootFolder.RegisterTaskDefinition("TEST", td, TaskCreation.CreateOrUpdate, "User",...

View Article


New Post: How to update the additional arguments of an existing task?

Within a VB.NET programm i would like to update the additional arguments of an existing task on a remote PC. Any idea how to perform this? Thanks for a hint. Frank

View Article

New Post: Update User Credentials

I apologize. The corrected code would be:Using ts As New TaskService() Dim task = ts.RootFolder.Tasks("TEST") If task IsNot Nothing ts.RootFolder.RegisterTaskDefinition("TEST", task.TaskDefinition,...

View Article


New Post: How to update the additional arguments of an existing task?

This works best if you have initially registered either a single Action or if you have given your action an Id. I'll show both ways:Using ts AsNew TaskService("YourRemoteServerName") Dim task =...

View Article

New Post: How to update the additional arguments of an existing task?

Hello Dahall, Thanks for your quick reply. But when doing so I get the following error:"TaskDefinition is not a member of task". I only found Dim action = task.Definition.Actions[0] was working. But...

View Article

New Post: How to update the additional arguments of an existing task?

Try edited example. VB is not my primary language so I had some syntax wrong. My apologies.

View Article
Browsing all 2206 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>