When exactly would this script run?

Would it not be easier to just force authentication when logging into Windows 9x computers?
_________________________
There are two types of vessels, submarines and targets.