I created 2 .bat files for capturing log on/log information.
The scripts themselves work beautifully.
I want to apply these to the group policy so when users log on and off, the scripts are run and the information is logged.
I moved the scripts to the correct policy folder on the DC.
I opened the mmc, add the snapin for default domain policy.
Under User configuration i clicked windows settings, then scripts(logon/logoff).
I applied the correct .bat file each setting.
After applying this, I logged off and logged back on. My log file that captures the data didn't show anything.
Am I missing something?