Group Managemed Service Account in scheduled task with Trigger as repeat


hi

have problem dont know how solve.
have created gmsa account scheduled tasks run on windows 2012

can create standard scheduled task run , put in msa account ps commands:
$principal = new-scheduledtaskprincipal-userid domain\testmsa$ -logontype password -runlevel highest
set-scheduledtask -taskname testtask -principal $principal
runs fine.

when reopen scheduled task goes trigger , enable "repeat task every:" 15 minues duration of indefinitely
save account , redo ps scripts put in domain\testmsa$ account

wont work.
says:
task scheduler failed start "\testtask" task user "domain\testmsa$". additional data: error value: 2147942402.

if remove repeat under trigger , rerun ps script again works fine.
question is, why wont msa account work repeat under trigger?

best regards
jesper

hi. know, have same problem, in case problem occur when enable "stop task if runs longer than:" in trigger's advanced settings. noticed, both options occur problem. have no idea how fix it, keep trying)

regards.

roman prosvetov.



Windows Server  >  Windows Server 2012 General



Comments

Popular posts from this blog

CRL Revocation always failed

Failed to query the results of bpa xpath

0x300000d errors in Microsoft Remote Desktop client