schtasks ONLOGON SYSTEM failed


i have created scheduled task runs local vbs script following parameters:

schtasks /create /ru "" /sc onlogon /tn "myscript" /tr "myscript"

the task runs @ logon of user en executed local system account.

the problem task runs of users, (random) failed.

anyone ideas cause ?

i checked scheduled task , found out both setting related "run on battery" checked.

that caused problem. laptops got issue on battery.....then task did not run.

changed setting , worked.

i found out creating task wizard "battery" settings checked.

when created schtasks.exe not checked.

strange...it pitty can''t set settings schtasks.exe program.



Windows Server  >  Windows Server General Forum



Comments

Popular posts from this blog

2008 Windows Deployment Server Properties Error

Can no longer user MS Update - Files required to use Microsoft Update are no longer registered

How do a find data in one file, search for it in another file and if not found, write a custom message to another file