jafa
Posts: 49
Joined: Fri Feb 23, 2007 7:13 pm

Access denied creating updater scheduled task

Thu Mar 24, 2011 8:35 am

Hi,

When I enabled the "run updater as a windows scheduled task feature" the installation fails on Windows 7 with the following message:
"An error was encountered while creating a scheduled task: '<name of job>'. Error description: Access is denied."

Windows 7 x64
Advanced Installer version 6.7.1

The user account is set to "[ComputerName]\[LogonUser]"
I get the same error with "[%UserDomain]\[LogonUser]"

Nick

mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Access denied creating updater scheduled task

Thu Mar 24, 2011 10:24 am

Hi Nick,

Can you please send us the .AIP (project) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

themuffinman
Posts: 4
Joined: Mon Feb 03, 2020 2:48 am

Re: Access denied creating updater scheduled task

Wed May 19, 2021 9:48 pm

I'm running into this same issue. My installation type is Per User and admin privileges are not requested. Do I need to have admin privileges to create a scheduled task? If so how do you setup updates when you don't have it?

Catalin
Posts: 4340
Joined: Wed Jun 13, 2018 7:49 am

Re: Access denied creating updater scheduled task

Thu May 20, 2021 7:07 pm

Hello,
Do I need to have admin privileges to create a scheduled task?
In order to create a scheduled task, the user must indeed be an administrator/administrator rights must be provided.

If you want to handle updates without elevation, please refer to the following article:

How to handle updates without elevation

Please note, however, that this option is only available for projects which have the "Per-machine only" installation type, as stated in the article:
This article is only for projects that already have "Per machine only (fails if the user is not administrator)" installation type, set from the Install Parameters.
Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”