You are not getting what he is trying to do.. when the application is running, it should get disabled/enabled at that very moment. Do you think a user should write a registry key and then reboot the machine to use the application. And then again, write the registry key to activate it and reboot the machine ?
Edit: he wants to catch alt+tab so that he can do some customized stuff.