Mac OS booting till 100 and hanging A week ago my Mac stopped booting. It goes till 99-100% and stops. Booting in safe mode does not help.
I brought my Mac to restore it. They have reinstalled my OS and restored my files. It was working fine at this point.

But, I need all the programs that are there installed and I have restored everything from a backup and got the same problem.

Any ideas what it can cause and what I can do against it?

MacBook Pro late 2013, macOS 10.12.6
I suspect DSMOS is corrupt.

DSMOS stands for Don't Steal Mac OS and is a kernel extension (kext) that's highly encrypted.  If that get's corrupt, there's pretty much no way to recover - you need to do a fresh install.

Solution

Do a clean install of Sierra then, using Migration Assistant move your data and programs over.  It sounds like you are doing a full recovery - don't do this.  Use Migration Assistant.