You can for exemple set your process as critical and handle the error when kill event is return.
If you don't handle, user will have bsod.....or you can force to reload the user session, it tricky but works good cause at each session, registry is restart, so your process too.
Another method is to work with 2 process watching each other.