sandboxie is quite old yes; and `dog` vs `god` LOL; did you drop your question in to an LLM? copilot gave me (re dog) winpatrol - though i dont think it has task any application based api stuff https://www.bleepingcomputer.com/download/winpatrol/
there was also things like vmwares thinstall which would wrap up an exe's installation process to make a more or less portable application (edit was here)
there were apps like InstallSheild's system monitoring software which could really monitor a systems changes before and after and build installations of files/registries changed
then there stuff like Deep Freeze which made windows more or less immutable (to a degree) where a reboot would "restore" the system - useful in schools ect
That's why I said Sandboxie is closer to in spirit to what I remembered.
It's been closer to 20 years since I used it, I remember a lot of popups, I think, and you could break programs in all sorts of creative ways :-)))