Quantcast
Browsing all 2206 articles
Browse latest View live

New Post: RunEx

Following results in: The security ID structure is invalid. (Exception from HRESULT: 0x80070539)using (TaskService ts = new TaskService(serverName, userName, domain, password, false)) {...

View Article


Source code checked in, #98055

* Fixed bug when adding support for Security Editor in UI

View Article


Released: Release 2.5.16 (Mar 15, 2016)

Update historyVersion 2.5.16Event and Security UI bug fixes Changed package to .NET 4.5.2 from 4.0Version 2.5.15Editor fixesVersion 2.5.14Fixes to TaskEventWatcher, Trigger.StartDate and assoc...

View Article

Updated Release: Release 2.5.16 (Mar 15, 2016)

Update historyVersion 2.5.16Event and Security UI bug fixesChanged package to .NET 4.5.2 from 4.0Version 2.5.15Editor fixesVersion 2.5.14Fixes to TaskEventWatcher, Trigger.StartDate and assoc UIVersion...

View Article

New Post: RunEx

I believe this is a bug in the library. What happens if you pass an empty string into the parameter list?RunEx(TaskRunFlags.UserSID, 0, runAs, ""); This may work around the issue until I can correct,...

View Article


New Post: Tick "Run whether user is logged in or not" Programmatically

Hi dahall, thanks for the info, but how do i do that, can you give me an example? Thanks, appreciate the help.

View Article

New Post: Tick "Run whether user is logged in or not" Programmatically

ts.RootFolder.RegisterTaskDefinition("Test", td, TaskCreation.CreateOrUpdate, null, null, TaskLogonType.S4U, null);

View Article

New Post: how to use a Group Managed service account to run a schedule task...

how can I use a Group Managed service account to run a schedule task and make it "Run whether user is logged on or not"?https://technet.microsoft.com/en-us/library/hh831782.aspx this is some thing...

View Article


New Post: Task creation issue and login issue

dahall wrote: When no user information is provided to the RegisterTaskDefinition method, it first looks to those provided to the Principal property and then uses the credentials of those provided to...

View Article


New Post: how to use a Group Managed service account to run a schedule task...

Can you use the system "Task Scheduler" applet to create a task using a Group Managed Service Account? If so, then export the XML and then copy it into your response. I should then be able to tell you...

View Article

New Post: Task creation issue and login issue

Do you want the task to run when any user logs on or just when the current user logs on? If you're doing something like having some code check for updates or ensure something is running in the user...

View Article

New Post: how to use a Group Managed service account to run a schedule task...

Hi dahall, thinks for your reply. I use the following Powershell commands to create a schedule task with GMSA on a windows server 2012R2 machine:$action = New-ScheduledTaskAction...

View Article

New Post: how to use a Group Managed service account to run a schedule task...

I thought you needed a trigger that fires at logon? To accomplish what you have in your PowerShell example:var action = new ExecAction("C:\PowerSlim\test.cmd"); var trigger = new...

View Article


New Post: how to use a Group Managed service account to run a schedule task...

these tow ways are not working, here is my test code, I test it on windows server 2012R2:using System; using System.Runtime.InteropServices; using Microsoft.Win32.TaskScheduler; namespace WrapperDemo {...

View Article

Created Issue: Use a Group Managed service account to run a schedule task and...

These two ways are not working, here is my test code, I test it on windows server 2012R2:```using System;using System.Runtime.InteropServices;using Microsoft.Win32.TaskScheduler;namespace WrapperDemo{...

View Article


Edited Issue: Use a Group Managed service account to run a schedule task and...

These two ways are not working, here is my test code, I test it on windows server 2012R2:```using System;using System.Runtime.InteropServices;using Microsoft.Win32.TaskScheduler;namespace WrapperDemo{...

View Article

New Post: how to use a Group Managed service account to run a schedule task...

This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.

View Article


Commented Issue: Use a Group Managed service account to run a schedule task...

These two ways are not working, here is my test code, I test it on windows server 2012R2:```using System;using System.Runtime.InteropServices;using Microsoft.Win32.TaskScheduler;namespace WrapperDemo{...

View Article

New Post: how to use a Group Managed service account to run a schedule task...

Please check the link to the created issue (from previous post). I have posted some code and test assemblies for you to test.

View Article

New Post: Tick "Run whether user is logged in or not" Programmatically

Thanks! Apologies for the late reply, it worked.

View Article
Browsing all 2206 articles
Browse latest View live


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