Currently I have a logon.bat script that runs when users logon to a computer with their domain account. The problem is only users with the logon script specified in their profile (user’s properties -> Profile -> Logon script) actually run the script. Needless to say, I forget to specify the logon and newly created users. How do I set it so that the scripts runs when ANY user logs on whether they have the script specified or not?
It would probably be better to set it through group policy as a logon script in the user section of the GPO. You can set it at the domain level so everyone within the domain no matter what gets it.
For future use: Create one (or more) users in AD and fill in their generic values. Then copy that user when you create a new account. This will save you a lot of work if you need to create new accounts and makes it harder to forgot fields.
As for the question: You can select multiple users in AD and add the login script to them, all at once. If you need to add user specific stuff (such as homedirs) then you can user $username and it will be filled in with the right value per user. This should allow you to fix it all in one go (assuming they all forgotten users use the same login script)
E.g. ( fileservernamemy_homedirs$username ).