JSI Tip 0742. A better way to prevent users from aborting a logon script.

Jerold Schulman

September 30, 1998

1 Min Read
ITPro Today logo in a gray background | ITPro Today

In tip 438 we hid the logon script windows. Thanks to Jobst Schmalenbach, you can now use Launcher.

To paraphrase Jobst:

A user is able to interrupt the script by pressing CTRL+Break. Launcher simply executes this script and watches what the user does:

- If the user does not interrupt the sequence, nothing happens.

- If the user interrupts the login sequence s/he is logged out and the event is logged to the machine specified in the registry (NT only).

- If the user interrupts the login sequence and decides to press "NO" on batch file termination s/he is either logged out or warned depending on a registry entry and the event is logged to the machine specified in the registry (NT only).

Upon logon, the user first sees the Launcher.exe window, whichfills the entire desktop. It has NO SYSTEM menu nor other buttonsand does not respond to ANY keys or mouse events. Launcher then executes the script.

Jobst wrote:

I have tested this program on a NT network (I have no Windows clients)and it works for me very nicely, indeed. I would love to hear from some Windows9x and NT people!


Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like