Scheduled backup won't Stand by after job runs

Post here if you have problems installing or using FBackup
timster330
Posts: 3
Joined: Tue Mar 08, 2016 2:46 pm

Scheduled backup won't Stand by after job runs

Postby timster330 » Tue Mar 08, 2016 3:45 pm

As part of my backup job definition, I have it scheduled to run each night. And in the Advanced section of the job, I specify to run "Stand by" under "Run action after backup". While sometimes it does indeed put the PC into stand by, most times it does not. And when it doesn't, I see the following in the log:

[3/8/2016 12:40:17 AM] Run program/action "<Stand by>"
[3/8/2016 12:40:28 AM] Could not find running instances of bShutdownSched.exe or bShutdown.exe in order to process "saSleep" notification
[3/8/2016 12:40:28 AM] SetShutdownRights failed with error: Not all privileges or groups referenced are assigned to the caller(1300)
[3/8/2016 12:40:28 AM] SetSystemPowerState failed with error: A required privilege is not held by the client(1314)
[3/8/2016 12:40:28 AM] Warning: Could not execute action "<Stand by>". Reason: "A required privilege is not held by the client (1314)"

It seems odd that at times it works. But most times, it does not put the PC into Stand by.

Any ideas?

Softland
Posts: 1519
Joined: Thu May 23, 2013 7:57 am

Re: Scheduled backup won't Stand by after job runs

Postby Softland » Mon Mar 21, 2016 1:56 pm

Hi,

Please try to see which user is logged on at the scheduled time and what are his permissions.

timster330
Posts: 3
Joined: Tue Mar 08, 2016 2:46 pm

Re: Scheduled backup won't Stand by after job runs

Postby timster330 » Mon Mar 21, 2016 2:33 pm

The user logged in is a local account, and is an Administrator.

Softland
Posts: 1519
Joined: Thu May 23, 2013 7:57 am

Re: Scheduled backup won't Stand by after job runs

Postby Softland » Tue Mar 22, 2016 8:41 am

Hi,

What is different on your computer when the problem appears?
Is the user always logged on?

timster330
Posts: 3
Joined: Tue Mar 08, 2016 2:46 pm

Re: Scheduled backup won't Stand by after job runs

Postby timster330 » Tue Mar 22, 2016 2:42 pm

As best I can tell, the job will run and put the PC (running Windows 10 btw) into standby the first time after the job has been defined. But then subsequent nights (daily job) it no longer goes into standby. A couple other observations include the fact that this defined recurring daily job does not appear in the "Scheduled" section of the Jobs dashboard once I close the FBackup app and re-open it, and only appears in "All Jobs" (although it does indicate a forthcoming job is due when I hover over the FBackup icon in the Windows system tray).

The user is indeed always logged on, however the system locks the computer after 15 minutes of inactivity. The user must login again to get back in (normal Windows security). I assume jobs that contain this user's credentials like the FBackup task does would not have an issue.

For now, I have my own standby batch file run via the Windows Task Scheduler each night an hour or so after I think the nightly backup job should complete. This .bat file simply contains the following line, and works perfectly:

C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState

While it would be nice if FBackup could put the PC into Standby itself at the completion of jobs, I suppose this workaround works well enough.


Return to “Troubleshooting”