Share via


Scheduled Tasks with "Do not store password" no longer run in Windows 10 Fall Creators Update

Question

Saturday, January 27, 2018 1:43 AM

Please file a bug with the product team. Here are the steps to reproduce the problem:

  1. Run the Task Scheduler.
  2. Click "Task Scheduler Library" on the left panel to show the top-level task list.
  3. Click "Create Task..." on the Actions panel.
  4. Enter Name: test
  5. Select "Run whether user is logged on or not".
  6. Check "Do not store password.  The task will only have access to local computer resources.". This is critical, this seems to cause the problem.
  7. Switch to the "Actions" tab.
  8. Click "New..."
  9. Enter Program/script: %windir%\system32\cmd.exe
  10. Enter Add arguments (optional): /c exit
  11. Click OK.
  12. Click OK.
  13. Click the newly created "test" task.
  14. Click "Run" on the Actions panel.
  15. Click "Refresh" on the Actions panel. Note that the task did not actually run, evidenced by the "Last Run Time" field not updating (it probably says 11/30/1999 12:00:00 AM) and the "Last Run Result" still says "The task has not yet run. (0x41303)". This proves that this is a bug.

To prove that "Do not store password" causes the problem, do the following:

  1. Double-click the "test" task in the Task Scheduler to edit it.
  2. Uncheck "Do not store password"
  3. Click OK.
  4. When prompted, enter the Windows account password and click OK.
  5. Click "Run" on the Actions panel.
  6. Click "Refresh" on the Actions panel. Note that the task did run, evidenced by the "Last Run Time" field updating and the "Last Run Result" field says "The operation completed successfully. (0x0)".
  7. Again, double-click the "test" task in the Task Scheduler to edit it.
  8. Check "Do not store password"
  9. Click OK.
  10. Click "Run" on the Actions panel.
  11. Click "Refresh" on the Actions panel. Note that the task did not run, evidenced by the "Last Run Time" field not changing.

This seems like a bug in Windows. Please file a bug on the product team.

Thanks.

All replies (5)

Monday, January 29, 2018 5:49 AM

Hi Silver,

Based on my test and research, I can reproduce this on my Windows 10 1709 lab machine.

It's really thanks for your so detailed steps. I have submit it via our own channel. If any update, I will post here.

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Thursday, May 24, 2018 6:06 PM

Any news on this? 

I know I can use local group policy but using local group policies will not let me select conditions!

Thanks


Thursday, March 7, 2019 4:00 AM

Any updates?


Thursday, March 7, 2019 4:00 AM

Any updates???


Tuesday, September 24, 2019 2:35 AM

go to local policy and disable this setting Local Security Policy setting Network accessDo not allow storage of passwords and credentials for network authentication is enabled.