@VinK3645 Hi Vink3645, damm what a misfortune, I could use other words for that, for how I’m feeling about that MDM, but will try to keep is decent.
But I managed to remove the MDM with the adb commands, but have to say MDM was not activated on my S7 (yet)
Need to do this while in system, not in recovery.
Need to enable in developer options, USB Debugging and Rooted debugging.
Commands are.
adb root
adb shell pm uninstall --user 0 foundation.e.mdm
And luckily it vanished from my S7
Hope this will help you to.