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.

Restart program after scheduled profile

SyncBackFree is the freeware version of SyncBack. It is *not* an evaluation version of SyncBackPro/SE.
Post Reply
horenh
Newbie
Newbie
Posts: 1
Joined: Fri Dec 07, 2018 3:41 pm

Restart program after scheduled profile

Post by horenh »

i like to stop outlook before make the backup from the pst file and restart outlook after the backup. i put before run profile the role "taskkill /IM outlook.exe /F" and that works oke. after the backup in the role After the profile excecuted "C:\Program Files (x86)\Microsoft Office\root\Office16\OUTLOOK.EXE".
When i start the profile bij hand its works perfect.
But when i scheduled the profile than de stop is going well but there is never een restart from outlook. In the scheduler i fill inn the pasword off the user.
So what doing wrong.
mickyj
2BrightSparks Staff
2BrightSparks Staff
Posts: 470
Joined: Mon Jan 05, 2004 6:51 pm

Re: Restart program after scheduled profile

Post by mickyj »

Hi, the problem is that when a program is run from the scheduler, it will run in a different session (session 0): https://www.2brightsparks.com/resources ... ndows.html

So when you start Outlook from SyncBack, and it's scheduled, it doesn't start Outlook in the same session as you are logged into, hence you don't see Outlook. One fix is to have the schedule only run when you are logged in. That way the scheduled task runs in your session.
Post Reply