We use a "Logon Batch file" that runs for all users when they login to the domain. It has a whole bunch of stuff in it, including a BUNCH of "ifmember statements" cascaded with "if not errorlevel 1 ...
I was just working on a ticket with one of our customer's administrators for login scripts not executing. They recently migrated from NT4.0 to our AD 2003 environment and still use a few dozen .bat ...
In an Active Directory environment, you can create a logon script that can be applied to user accounts that automatically goes to work once a user logs in. Logon scripts can be used to assign tasks ...