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.
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.
- If you are entitled to technical support then please submit a support ticket. Please do not post the same question to the forum and also via a support ticket. Once again, 2BrightSparks does not provide technical support via this forum.
Updating the SyncBack scheduled task with PowerShell
-
- Newbie
- Posts: 3
- Joined: Mon Jan 16, 2023 10:30 am
-
- Expert
- Posts: 233
- Joined: Wed Jun 05, 2019 11:40 am
Re: Updating the SyncBack scheduled task with PowerShell
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.
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.
-
- Newbie
- Posts: 3
- Joined: Mon Jan 16, 2023 10:30 am
Re: Updating the SyncBack scheduled task with PowerShell
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.
I realize that I am not asking for the simplest thing.