Task Scheduler randomly fails to kick off scheduled PowerShell script because of "logon failure"


still trying learn how use task scheduler kick off powershell scripts. far, lot of forum, have figured out how have t.s. kick off ps script, @ 10 minute intervals, peeks @ given remote machine , sends me email if remote machine not reachable (using test-connection -quiet) , seems function planned.

the problem occassionaly--3 separate times between 2 , 7 morning--t.s. has reported logon failure error and not started task. task ran correctly 10 minutes prior these errors , again @ next scheduled time 10 minutes after these errors, making them feel rather random me. idea might causing logon failure?

my story that--given morning timing of 3 of these errors--perhaps piece of logon process running on other server might 'asleep' , not 'wake up' fast enought prevent t.s. logon attempt timing out; guess of course.

anyone have better idea of 'real' issue causing might be, please?


homecookn

hi clayman2. task run admin account , works fine every 10 minutes before , after these infrequent fails. 'network issues' sounds similiar 'timed out' guess. maybe need check 1 of t.s. boxes related running again possible after missed start. thanks.

homecookn



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Motherboard replacement

Cannot create Full Text Search catalog after upgrading to V12 - Database is not fully started up or it is not in an ONLINE state

Remote Desktop App - Error 0x207 or 0x607