Before posting, and to avoid disappointment, please read the following:

  • This forum is not for 2BrightSparks to provide technical support. It's primarily for users to help other users. Do not expect 2BrightSparks to answer any question posted to this forum.
  • If you find a bug in any of our software, please submit a support ticket. It does not matter if you are using our freeware, a beta version or you haven't yet purchased the software. We want to know about any and all bugs so we can fix them as soon as possible. We usually need more information and details from you to reproduce bugs and that is better done via a support ticket and not this forum.

Updating the SyncBack scheduled task with PowerShell

SyncBackFree is the freeware version of SyncBack. It is *not* an evaluation version of SyncBackPro/SE.
Post Reply
tgadois
Newbie
Newbie
Posts: 3
Joined: Mon Jan 16, 2023 10:30 am

Updating the SyncBack scheduled task with PowerShell

Post by tgadois »

Hello. I noticed that the scheduled backup was no longer working, and that it was from the scheduled task configuration. More specifically, the security setting. So I would like to deploy a patch to fix this.

And to do that, I wanted to know if it was possible to use PowerShell to modify the scheduled task, and change the security setting from "Run weather user is logged or not" to "Run only when user is logged on”.
I've tried several things to set it up, but nothing works so far.
mmullins_98
Expert
Expert
Posts: 233
Joined: Wed Jun 05, 2019 11:40 am

Re: Updating the SyncBack scheduled task with PowerShell

Post by mmullins_98 »

Use the Windows Task Scheduler directly instead of going thru Syncback or PowerShell

On Windows Vista and newer go to the Control Panel, switch to Classic View (option on the left of the window), double-click Administrative Tools, then double-click Task Scheduler. Alternatively, press the Windows key and type Scheduler. Click the Task Scheduler entry that appears.

On the left of the Task Scheduler window you must expand the tree to Task Scheduler(Local) -> Task Scheduler Library -> 2BrightSparks -> SyncBackFree. Under the SyncBackFree node are entries for users. Click on the one that has your login username. Then click on the scheduled item in the right window that you want to modify. Then double click it or right click and select properties. You can make your changes there.
tgadois
Newbie
Newbie
Posts: 3
Joined: Mon Jan 16, 2023 10:30 am

Re: Updating the SyncBack scheduled task with PowerShell

Post by tgadois »

Thanks for your feedback, my problem is that I would like to deploy this patch on several hundred machines. And I thought it would be interesting to be able to automate this patch rather than going through the computers one by one.
I realize that I am not asking for the simplest thing.
Post Reply