Tsk Scheduler Operation

%3CLINGO-SUB%20id%3D%22lingo-sub-1658188%22%20slang%3D%22en-US%22%3ETsk%20Scheduler%20Operation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1658188%22%20slang%3D%22en-US%22%3E%3CP%3EI%20use%20Task%20Scheduler%20to%20run%20tasks%20during%20the%20day.%26nbsp%3B%20It%20works%20perfectly%20if%20I'm%20logged%20in.%26nbsp%3B%20About%20every%203-4%20weeks%20I%20get%20logged%20out.%26nbsp%3B%20I%20suspect%20there%20is%20some%20update%20to%20Windows%20causing%20this.%26nbsp%3B%20I%20tried%20to%20set%20it%20to%20run%20if%20it%20is%20not%20logged%20in%20and%20it%20doesn't%20work.%26nbsp%3B%20Task%20doesn't%20run%20with%20'Run%20whether%20is%20logged%20on%20or%20not'.%26nbsp%3B%20I%20supplied%20password.%26nbsp%3B%20Does%20anyone%20know%20how%20to%20fix%20this.%26nbsp%3B%20The%20other%20option%20is%20to%20automatically%20log%20in%20to%20Windows%20after%20being%20logged%20out.%26nbsp%3B%20The%20whole%20reason%20for%20WVD%20is%20to%20reliably%20run%20these%20tasks%20without%20interruption.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mogulman52_0-1599841436903.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F217786i9C20AF78476F6865%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22mogulman52_0-1599841436903.png%22%20alt%3D%22mogulman52_0-1599841436903.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1658188%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Etask%20scheduler%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1784558%22%20slang%3D%22en-US%22%3ERe%3A%20Tsk%20Scheduler%20Operation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1784558%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F439043%22%20target%3D%22_blank%22%3E%40mogulman52%3C%2FA%3E%26nbsp%3B%2C%20what%20error%20did%20you%20get%3F%20is%20it%20shared%20pool%20or%20personal%20pool%3F%20What%20processes%20are%20you%20running%3F%20Are%20those%20binary%20stored%20in%20local%20drive%20folder%20or%20profile%20folder%3F%20Did%20you%20also%20deploy%20FSLogix%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

I use Task Scheduler to run tasks during the day.  It works perfectly if I'm logged in.  About every 3-4 weeks I get logged out.  I suspect there is some update to Windows causing this.  I tried to set it to run if it is not logged in and it doesn't work.  Task doesn't run with 'Run whether is logged on or not'.  I supplied password.  Does anyone know how to fix this.  The other option is to automatically log in to Windows after being logged out.  The whole reason for WVD is to reliably run these tasks without interruption.

 

mogulman52_0-1599841436903.png

 

1 Reply

@mogulman52 , what error did you get? is it shared pool or personal pool? What processes are you running? Are those binary stored in local drive folder or profile folder? Did you also deploy FSLogix?