New Post: ExecAction.Path property isn't stripping off quotes when retrieved
You can make it an optional ability of the Path property. You can include a way to pass a Boolean value of you want it normalized.
View ArticleNew Post: ExecAction.Path property isn't stripping off quotes when retrieved
As a property, it can't take parameters. From a library standpoint, given that the native property will return whatever was put in, my inclination is to validate the input using a separate method like...
View ArticleNew Post: ExecAction.Path property isn't stripping off quotes when retrieved
You mean... GetValidatedPath().
View ArticleNew Post: ExecAction.Path property isn't stripping off quotes when retrieved
You could put a new property into the ExecAction class. Add this at the top of the Class right below the ScriptIdentifer variable. /// <summary> /// Tells the Path property if it should return a...
View ArticleNew Post: ExecAction.Path property isn't stripping off quotes when retrieved
SetValidatedPath is what I intended. If correct on input, then it will be correct on retrieval. It is more important to make sure it is correct on input so that the action will actually do something....
View ArticleNew Post: ExecAction.Path property isn't stripping off quotes when retrieved
Then basically you're telling me that I'm just going to have to include my own code to sanitize the output of the Path property when retrieving the path of the ExecAction. I need to do this since every...
View ArticleNew Post: Do not want to tick Do Not Store Password.
Hello, I want to set Run Whether user is logged on or not. But don't want to tick "Do Not Store Password." tick. Please suggest me settings. Thank you.
View ArticleNew Post: Do not want to tick Do Not Store Password.
What you're asking cannot be done. In order to run in a non-interactive session, it must have rights to logon.
View ArticleNew Post: Update TS in Win 8.1 from version 1.0 to 2.5.21
Is there a step-by-step page that explains how to update Task Scheduler in Win 8.1? . . . why doesn't Win Update do it automatically? I think I just have to type a commnad into Power Shell, but I've...
View ArticleNew Post: Update TS in Win 8.1 from version 1.0 to 2.5.21
The native Task Scheduler library is part of the OS and is only upgraded when you upgrade the OS (to Windows 10 for example). The .NET wrapper for that library, which is hosted on this project site, is...
View ArticleNew Post: Update TS in Win 8.1 from version 1.0 to 2.5.21
Hello! I extracted the contents of these three zip files: TaskScheduler.zip TaskSchedulerEditor.zip TaskSchedulerHelp.zip I went to the TS program / v2.0 / and all that I see is an XML file . . ....
View ArticleNew Post: Update TS in Win 8.1 from version 1.0 to 2.5.21
This is a code library for use by application developers to simplify access to the Task Scheduler that is native to Windows. It does nothing more. This project is not affiliated with Microsoft in any...
View ArticleNew Post: Update TS in Win 8.1 from version 1.0 to 2.5.21
Hello. Thanks for getting back to me! I hope you don't mind if I ask some questions. I'm very grateful for any light you can shine on this! . . . This is a code library . . . to simplify access to the...
View ArticleNew Post: without password and username, how do this task scheduler library...
without password and username, how do this task scheduler library set schedule in remote computer? any setting or configure need in remote computer before using this library? can it upload python...
View ArticleNew Post: without password and username, how do this task scheduler library...
See this page for more information on connecting to remote computers as well as information and links about required preconditions: https://taskscheduler.codeplex.com/wikipage?title=TaskSecurity The...
View ArticleNew Post: why scheduled task do not run when time is reached
using (TaskService ts = new TaskService()) { // Create a new task definition and assign properties TaskDefinition td = ts.NewTask(); td.RegistrationInfo.Description = "Does something";...
View ArticleNew Post: why scheduled task do not run when time is reached
This appears to be configured properly. Make sure event logging for tasks is turned on and then check the event log. This can be done by going into the Task Scheduler applet, navigating to this tasks,...
View ArticleNew Post: Log non impersonated user
Not sure if this is possible: I wrote an app that monitors tasks on several servers and I use impersonation to run the service if the user logged into the app is in a certain security group. What I was...
View ArticleReviewed: ITaskHandler Project Template (Aug 16, 2016)
Rated 4 Stars (out of 5) - very good project
View ArticleNew Post: Two Bugs...
The exception occurred at System.Security.Principal.WindowsIdentity.KerbS4ULogon(String upn, SafeAccessTokenHandle& safeTokenHandle) at System.Security.Principal.WindowsIdentity..ctor(String...
View Article