Tests fail when run with Windows Task Scheduler

See if this topic helps: (read it all)