How to execute a batch file each time a user logins?
- by user841923
I've written a batch script which copies of some files in the CommonAppData folder (C:\ProgramData) to the logged in User's Local AppData. What I would like to do is to execute this script for every user every time they login. I found many articles talking about the execution of batch files on startup but I would like to know how to do the same on each login.
I've a written a batch file and copied it in :
C:\Windows\System32\GroupPolicy\User\Scripts\Logon
But it does not seem to be working.