none
gMSA and Task Scheduler

    Question

  • Hi Forum

    Hoping this is a relatively easy question to answer.

    I recently setup gMSA to replace all the service accounts. Some of these are Task Scheduler objects.

    I know how to create a new task using this blog but replacing an existing I would like some confirmation please.

    Can anyone assist?

    Kind regards

    NN

    Thursday, March 9, 2017 12:11 PM

Answers

  • Hi

     Check these;

    Change an Existing Task

    https://technet.microsoft.com/en-us/library/cc766442(v=ws.11).aspx

    Updating a Scheduled Task's Credentials

    http://windowsitpro.com/scripting/updating-scheduled-tasks-credentials


    This posting is provided AS IS with no warranties or guarantees,and confers no rights. Best regards Burak Uğur

    • Marked as answer by Naked Nuts Monday, March 13, 2017 2:14 PM
    Thursday, March 9, 2017 1:44 PM
  • I ended up using PowerShell but I guess the same would work.

    Set-ScheduledTaskCredential -TaskName "name\path" -TaskCredential "domain\account"

    Thanks again

    NN

    • Marked as answer by Naked Nuts Monday, March 13, 2017 2:14 PM
    Monday, March 13, 2017 2:14 PM

All replies

  • Hi

     Check these;

    Change an Existing Task

    https://technet.microsoft.com/en-us/library/cc766442(v=ws.11).aspx

    Updating a Scheduled Task's Credentials

    http://windowsitpro.com/scripting/updating-scheduled-tasks-credentials


    This posting is provided AS IS with no warranties or guarantees,and confers no rights. Best regards Burak Uğur

    • Marked as answer by Naked Nuts Monday, March 13, 2017 2:14 PM
    Thursday, March 9, 2017 1:44 PM
  • Thanks Burak.

    Wasn't sure it was as simple as that. I will give it a go, mark as answer when it works.

    NN

    Thursday, March 9, 2017 1:58 PM
  • Sure.

    This posting is provided AS IS with no warranties or guarantees,and confers no rights. Best regards Burak Uğur

    Thursday, March 9, 2017 3:04 PM
  • I ended up using PowerShell but I guess the same would work.

    Set-ScheduledTaskCredential -TaskName "name\path" -TaskCredential "domain\account"

    Thanks again

    NN

    • Marked as answer by Naked Nuts Monday, March 13, 2017 2:14 PM
    Monday, March 13, 2017 2:14 PM