We are trying to push a login script using the GPO. The script is to copy the default folder of Google from the roaming profile to the local AppData. It is an Xcopy command. I have converted it into a batch file and copied the batch file to the netlogon and sysvol folder. The GPO is applied but does not run the batch file.
The batch file works by itself and also when we copy the batch file to the startup folder in roaming profile it works. All the other policies are working except this.
We use windows 10 and Server 2012 r2
Please provide any advise.