Results 1 to 6 of 6
  1. #1
    New Lounger
    Join Date
    Jan 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Disable task scheduler security when author password changes?

    I'm not a system admin, I just need to resolve this issue. And I cannot reproduce the error because I cannot create a user.

    There are about 20 tasks that were created by UserA with password 'XX'. Apparently, if UserA changes the password, then none of the tasks run, and they have to go into each task, one by one, and retype the password.

    Is there any way to disable or automatically update the password?

    I also noticed in the task configuration, there's a "when running the task, use the following user account" that specifies the user. Is it possible to disable that so it's not tied to a specific user?

    Thanks.

  2. #2
    Super Moderator BATcher's Avatar
    Join Date
    Feb 2008
    Location
    A cultural area in SW England
    Posts
    2,848
    Thanks
    19
    Thanked 110 Times in 104 Posts
    The best way to deal with Task Scheduler is to set up a so-called "service account" usually an Administrator-level account, whose only function is to act as the account used for running scheduled tasks. This is to localise the Task Scheduler function. It does not matter who 'created' the task. You need to be able to create this service account, of course!
    If you use a "user account" in scheduled tasks you are at the mercy of whatever is done to that account, including password changes.

    (I first encountered this mechanism in NT Server 3.51!)
    Last edited by BATcher; 2013-01-22 at 01:24.
    BATcher

    Dear Diary, today the Hundred Years War started ...

  3. #3
    New Lounger
    Join Date
    Jan 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for the help.

    The problem with this is that I cannot create user accounts under the domain. It seems that adding user accounts to the domain is somewhat impossible.

    Where is the task scheduler user and password stored locally?

    Thanks.
    Last edited by vmhatup; 2013-01-22 at 08:16.

  4. #4
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    20,606
    Thanks
    2
    Thanked 620 Times in 555 Posts
    Have you checked to see if there is already an account to be used for scheduled tasks?

    "Impossible" - because of policy? because the domain admins just don't want to?

    Joe

  5. #5
    Platinum Lounger
    Join Date
    Dec 2009
    Location
    Earth
    Posts
    3,724
    Thanks
    7
    Thanked 236 Times in 224 Posts
    You cannot do this easily but you can do it.
    Use "schtasks" to list the queries in XML format. Dump to a file.
    Use "schtasks" to delete and re-create the tasks with the correct password.

    cheers, Paul

  6. #6
    New Lounger
    Join Date
    Jan 2013
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Creating domain accounts is not impossible, but considering how big this company is, it'll be complex and time-consuming.

    I ended up using schtasks to modify the password for each task.

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •