I'm updating a file in every user profile. The location is fairly deep \profiles\\appdata\roaming\microsoft\imagelogo.jpg and I'm replacing it with a newer file of the same name. I would like to do this for all profiles. Is there a good way to replace all files based on filename?
A way of doing this in one swoop would be as follows:
Despite this, I'd use with Judaslscariot's answer for the following reason:
If a user is logged on when you run this, the image currently in that user's roaming profile will overwrite the image you've just copied, when they log off.
Create a simple batch script (.bat) to copy the file from a central share to the current users profile:
Assign it as a logon script for all users via Group Policy