Greeting, Looking for a way to disable the red "X" in the right top cornor of the active window. for example I use script to launch "notepad.exe" but disable the "X" close so user can not close the notepad window but wait for a while then the script close it Thanks usera