Reminds me of some management software we ran on school computers some 20 odd years ago, it basically made the computer immutable and it'd be back to how it was after a reboot. I forgot what it was called and never knew how it worked though, at the time I was impressed. It needed an admin password to make changes that persisted.