Skip navigation

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

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, which fills the entire desktop. It has NO SYSTEM menu nor other buttons and 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!


Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish