burgemaster Posted November 18, 2011 Posted November 18, 2011 Hi all, I have recently excluded several folders from getting copied back to the server in roaming profiles. The reason being that some software was bloating the roaming profile and was rarely needed to roam with the user... these folders were all in the "application data" folder... I now need to make sure that the server copies of their roaming profiles do not already have these folders in there or they will simply get copied back each time... Does anyone know of a script that will run and delete selected folders from all of the user profiles without me making a huge bat script please? e.g. need folder "Dreamweaver" deleted from 300 roaming profiles from the Application data folder. delete \\server\staff_profiles$\user1\application data\Dreamweaver delete \\server\staff_profiles$\user2\application data\Dreamweaver delete \\server\staff_profiles$\user3\application data\Dreamweaver so that I wouldn't have to copy 300 staff names down into a BAT script to delete them from all the profiles. Thanks in advance!
mattianuk Posted November 21, 2012 Posted November 21, 2012 Why not look to switching to redirected app data folders through folder redirection then stuff like this is not downloaded every time? Know that does not fix your actual issue though.
burgemaster Posted November 22, 2012 Author Posted November 22, 2012 Thanks mate, but in the end I found out that when a folder is "excluded from roaming" it actually deletes the server copy of that folder in the roaming profile when they log off. But... If appdata is redirected to the NAS server means it doesn't get copied to the machine on logon, that will definitely reduce logon times.
mattianuk Posted November 22, 2012 Posted November 22, 2012 Glad to hear it. I switched to redirected app data the other day. Everything is redirected here now, so profiles are tiny. It halved login times to 7 seconds
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now