Skip to main content
Question

Automation via backup script due to UAC

  • May 28, 2026
  • 1 reply
  • 13 views

Forum|alt.badge.img+11

Hi.

I am in the process of using the batch file created by the “Save as Script” option to start backup jobs.

Manually executing the batch file results in an error to saving the token file. When elevating the Command Prompt to Administrator the job successfully starts, save the token and executes.

The user is added as a Local Administrator.

Is there a way to bypass UAC during the execution of the command?

Thanks.

 

1 reply

Scott Moseman
Vaulter
Forum|alt.badge.img+23

Bypassing UAC is probably not a great strategy.

Maybe better to execute via workflow or REST API?

Thanks,
Scott