Solved

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

Posted on 2016-08-30
4
32 Views
Last Modified: 2016-09-10
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.
0
Comment
Question by:nav2567
4 Comments
 
LVL 21

Expert Comment

by:yo_bee
ID: 41777450
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
0
 

Author Comment

by:nav2567
ID: 41777458
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.
0
 
LVL 18

Expert Comment

by:Sushil Sonawane
ID: 41777513
check in event viewer related group policy error screenshot.
0
 
LVL 16

Accepted Solution

by:
Learnctx earned 500 total points
ID: 41778937
You're not being affected by this possibly?

https://support.microsoft.com/en-us/kb/2895815

It would be Windows 8.1+ that would be affected I suspect.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

My last post dealt with using group policy preferences to set file associations, a very handy usage for a GPP. Today I am going to share another cool GPP trick, this may be a specific scenario but I run into these situations frequently in my activit…
This is my first article in EE and english is not my mother tongue so any comments you have or any corrections you would like to make, please feel free to speak up :) For those of you working with AD, you already are very familiar with the classi…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now