Link to home
Start Free TrialLog in
Avatar of nav2567
nav2567Flag for United States of America

asked on

Batch file being specify in GP logon does not run right after user logon.

I specify a batch file under USER CONFIGURATION /POLICIES/WINDOWS SETTINGS/SCRIPT/LOGON of my GP to copy an ini file to a folder in users' roaming file.  

For some reason, the file does not show up until 3 mins after the user logon.  

Please advise where I should check.

Thanks.
Avatar of yo_bee
yo_bee
Flag of United States of America image

Have you tried using Group Policy Preferences to push your file?
I would look into this method.

This is a Document published by MS on GPP.
https://www.microsoft.com/en-us/download/confirmation.aspx?id=24449
Avatar of nav2567

ASKER

Yes, I have been trying GPP - FILE update but I am not seeing the file is being copied to the destination.  I use GPP - Registry update for other configurations and it does work.  

I specified \\server2\profiledir\%username%\appdata\roaming\vlc\vlc-qt-interface.ini in the destination of the GPP and the user login has r/w access.

The destination folder VLC is not created in \\server2\profiledir\%username%\appdata\roaming folder until the user launch VLC Player software the first time.  

Even the VLC folder is created in the roaming folder, I still do not see the file being copied after logout and log back in.   This is why I am going back to the legacy way and it works.
check in event viewer related group policy error screenshot.
ASKER CERTIFIED SOLUTION
Avatar of Aard Vark
Aard Vark
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial