Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to clean up our Office Templates directory as it's gotten a bit overcrowded and needs a bit of a trim. I've initially written a batch file to copy the Templates directory and its contents over from the Default User.V2 on the DC each time a user logs in but this doesn't remove the folder and its contents ready for a fresh copy. I also don't want the deletion to happen all the time, as users will create their own templates in the future.

Obviously we have a few users profile folders that need their Templates folder removed and replaced with this new Template folder and I'm wondering what the best way to go about it en masse.

This is the UNC: \\server\profiles$\firstname.lastname.V2\AppData\Roaming\Microsoft\Templates with firstname.lastname.V2 being the stickler.

Is batch file / VBS the best way here?

share|improve this question

1 Answer 1

You could make it so that at logout a backup script occurs. So, login, delete local template folder, copy from DC. Logout, copy template folder back to DC.

This should preserve changes they make.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.