ekrem
Posts: 1
Joined: Tue Dec 02, 2025 8:31 am

Intermittent Scheduled Task Creation Error During Installation & Updater Execution Failure (0x80070E0)

Hello,
I'm experiencing two related issues with scheduled task creation and execution in my Advanced Installer project, and I would appreciate any guidance.
Issue 1: Intermittent Installation Error - Scheduled Task Creation
After successfully building my installer, I occasionally encounter an error during installation (see Image 1). The error message states:
"An error was encountered while creating a scheduled task: 'file-security-updater-scheduler.job'. Error description: Görev XML'sinde gerekli bir öğe veya öznitelik eksik."
(Translation: "A required element or attribute is missing in the task XML.")
Key observations:

This error appears inconsistently - sometimes the installation completes successfully, other times it fails
When I rebuild the installer without any changes, the error may or may not appear
The intermittent nature makes it difficult to diagnose

Issue 2: Updater Fails to Execute via Task Scheduler on Some Machines
When the updater feature is enabled, I've observed that on certain computers, the scheduled task is created but fails to execute properly (see Images 2 & 3). The Task Scheduler shows:

Task status: "Çalışıyor" (Running)
Last run result: "İşletmen veya yönetici isteği reddetti. (0x80070E0)"
(Translation: "The operator or administrator has refused the request")
Error code: 0x80070E0 and 0x80071E0

Environment:

Installer created with Advanced Installer
Target OS: Windows (various versions)
Task is scheduled to run daily at 03:00

Questions:
  • What could cause the intermittent XML validation error during scheduled task creation?
    Is there a specific configuration in Advanced Installer that ensures the task XML is always properly formed?
    Why would the scheduled task fail with error 0x80070E0 on some machines but work correctly on others?
    Are there any permission or privilege settings I should verify for the scheduled task?
Any insights or suggestions would be greatly appreciated. Thank you!Hello,
I'm experiencing two related issues with scheduled task creation and execution in my Advanced Installer project, and I would appreciate any guidance.
Issue 1: Intermittent Installation Error - Scheduled Task Creation
After successfully building my installer, I occasionally encounter an error during installation (see Image 1). The error message states:
"An error was encountered while creating a scheduled task: 'file-security-updater-scheduler.job'. Error description: Görev XML'sinde gerekli bir öğe veya öznitelik eksik."
(Translation: "A required element or attribute is missing in the task XML.")
Key observations:

This error appears inconsistently - sometimes the installation completes successfully, other times it fails
When I rebuild the installer without any changes, the error may or may not appear
The intermittent nature makes it difficult to diagnose

Issue 2: Updater Fails to Execute via Task Scheduler on Some Machines
When the updater feature is enabled, I've observed that on certain computers, the scheduled task is created but fails to execute properly (see Images 2 & 3). The Task Scheduler shows:

Task status: "Çalışıyor" (Running)
Last run result: "İşletmen veya yönetici isteği reddetti. (0x80070E0)"
(Translation: "The operator or administrator has refused the request")
Error code: 0x80070E0 and 0x80071E0

Environment:

Installer created with Advanced Installer
Target OS: Windows (various versions)
Task is scheduled to run daily at 03:00

Questions:

What could cause the intermittent XML validation error during scheduled task creation?
Is there a specific configuration in Advanced Installer that ensures the task XML is always properly formed?
Why would the scheduled task fail with error 0x80070E0 on some machines but work correctly on others?
Are there any permission or privilege settings I should verify for the scheduled task?

Any insights or suggestions would be greatly appreciated. Thank you!
Attachments
Ekran görüntüsü 2025-12-02 104106.png
Ekran görüntüsü 2025-12-02 104106.png (41.77 KiB) Viewed 1125 times
Ekran görüntüsü 2025-12-02 104045.png
Ekran görüntüsü 2025-12-02 104045.png (79.4 KiB) Viewed 1127 times
Ekran görüntüsü 2025-09-07 214456.png
Ekran görüntüsü 2025-09-07 214456.png (67.84 KiB) Viewed 1127 times
Liviu
Posts: 1356
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Intermittent Scheduled Task Creation Error During Installation & Updater Execution Failure (0x80070E0)

Hello and welcome to our forums,

I've replied to your email.

Let's continue the conversation there until we reach a conclusion.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”