Get all window application handler and window using api. Then, you can block the unwanted application handler and window. This code uses a timer to check whether the unwanted application is running or not. If the application is found running, this code will block the application from running immediately. Comments are welcomed. Please vote.