ERROR_NOT_ALL_ASSIGNED when using "Shutdown computer when finished"

Have questions about Backup4all, or having problems using it? Ask here for help.
Xyzzy
Posts: 34
Joined: Wed Dec 08, 2010 9:25 pm

ERROR_NOT_ALL_ASSIGNED when using "Shutdown computer when finished"

Post by Xyzzy »

Hello,

B4a 8.8b335

I checked "Shutdown computer when finished" checkbox when running backup in GUI. It ended with:

[27.10.2020 00:52:04] Run program/action "<Shut down>"
[27.10.2020 00:52:25] Could not find running instances of bShutdownSched.exe or bShutdown.exe in order to process "saPowerOff" notification
[27.10.2020 00:52:25] SetShutdownRights failed with error: Nie wszystkie wywoływane uprawnienia lub grupy są przypisane komputerowi wywołującemu(1300)

And computer did not close.
I see bShutdown running in the task manager.

The only thing that could be the reason here is that I run the B4a GUI from a standard user using "Run as administrator" option to execute a backup configured for Administrator.

Adrian (Softland)
Posts: 1598
Joined: Wed Dec 16, 2009 12:46 pm
Location: Cluj-Napoca, Romania
Contact:

Re: ERROR_NOT_ALL_ASSIGNED when using "Shutdown computer when finished"

Post by Adrian (Softland) »

Hi,

Please make sure the antivirus is not blocking that process.
You can also use the "shutdown.exe /f" parameter in Backup Properties->Advanced page.
Does it works?

Xyzzy
Posts: 34
Joined: Wed Dec 08, 2010 9:25 pm

Re: ERROR_NOT_ALL_ASSIGNED when using "Shutdown computer when finished"

Post by Xyzzy »

I use Windows Defender - do you mean to exclude B4a processes or files from scanning, or something else?

Adrian (Softland)
Posts: 1598
Joined: Wed Dec 16, 2009 12:46 pm
Location: Cluj-Napoca, Romania
Contact:

Re: ERROR_NOT_ALL_ASSIGNED when using "Shutdown computer when finished"

Post by Adrian (Softland) »

Hi,

Yes, put these processes in the exceptions list: bbackup.exe, bservice.exe, Backup4all.exe

Xyzzy
Posts: 34
Joined: Wed Dec 08, 2010 9:25 pm

Re: ERROR_NOT_ALL_ASSIGNED when using "Shutdown computer when finished"

Post by Xyzzy »

It is not working, the error message is the same.

See the attached image for my configuration.
Attachments
noshutdown.jpg
noshutdown.jpg (69.54 KiB) Viewed 234 times

Adrian (Softland)
Posts: 1598
Joined: Wed Dec 16, 2009 12:46 pm
Location: Cluj-Napoca, Romania
Contact:

Re: ERROR_NOT_ALL_ASSIGNED when using "Shutdown computer when finished"

Post by Adrian (Softland) »

Hi,

Can you create a batch file to shutdown the computer?
If yes, please use that batch file in Backup Properties->Advanced page, under "Run program/action after backup" section.
Do you still have the problem?

Xyzzy
Posts: 34
Joined: Wed Dec 08, 2010 9:25 pm

Re: ERROR_NOT_ALL_ASSIGNED when using "Shutdown computer when finished"

Post by Xyzzy »

When I placed the command in a job's properties, I got logged off after backup (but computer did not shut down).

The last entry in the job log is:
[02.11.2020 20:05:41] Run program/action "shutdown.exe /f"

Adrian (Softland)
Posts: 1598
Joined: Wed Dec 16, 2009 12:46 pm
Location: Cluj-Napoca, Romania
Contact:

Re: ERROR_NOT_ALL_ASSIGNED when using "Shutdown computer when finished"

Post by Adrian (Softland) »

Hi,

Try: shutdown.exe /s /f

Xyzzy
Posts: 34
Joined: Wed Dec 08, 2010 9:25 pm

Re: ERROR_NOT_ALL_ASSIGNED when using "Shutdown computer when finished"

Post by Xyzzy »

I can try and it can work, but it doesn't solve the problem with not functioning "Shutdown computer when finished" option at all.

Adrian (Softland)
Posts: 1598
Joined: Wed Dec 16, 2009 12:46 pm
Location: Cluj-Napoca, Romania
Contact:

Re: ERROR_NOT_ALL_ASSIGNED when using "Shutdown computer when finished"

Post by Adrian (Softland) »

Hi,

There is something on that computer which is blocking the shutdown process, as the log says.

Post Reply