Forum Discussion
Othmane_ElHanchi
Jun 05, 2024Copper Contributor
Scheduled task - EXCEL Access is denied. (0x80070005 (E_ACCESSDENIED))
Hi, Some time ago, I made a ps1 script that leverages excel COM libraries and excel process operations in 2 major ways. (details below) I configured a scheduled task to execute this script non-i...
Aravind Mohanan
Jul 05, 2024Copper Contributor
Try granting "Log on as a batch job" rights to your new account in Group policy. You can find this setting under below path.
Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment
If your system is domain joined and domain policies are not allowing to make this change locally, as an alternate solution, try adding new account to "Backup Operators" group locally.
Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment
If your system is domain joined and domain policies are not allowing to make this change locally, as an alternate solution, try adding new account to "Backup Operators" group locally.