Scripts Thread, Mass Copy of Files and Folders in Coding and Web Development; Hi, I was wondering does anyone have a script which can help me on my vanilla Windows Server 2003 R2 ...
-
2nd October 2007, 11:32 AM #1 Mass Copy of Files and Folders
Hi, I was wondering does anyone have a script which can help me on my vanilla Windows Server 2003 R2 Network. What I need is a script that will copy the files from a mandatory user profile to a set of folders (named after each user). In my setup each user has their own profile so Favourites, History etc. is carried around wherever they go. However it is bit of a chore manually copying and pasting the profile files for all the users, is there a script available that will do it for me.
Also, when I create a user's home directory I then paste in a copy of My Music, My Pictures, My Settings (Application Data), and My Videos (all with appropiate icons) into each one to ensure they are made correctly, and would also need a script to paste those into each users folderHope this is clear, Thnx in advance
-
-
IDG Tech News
-
2nd October 2007, 11:47 AM #2 Re: Mass Copy of Files and Folders
Why not just place it in the NETLOGON share?
-
-
2nd October 2007, 11:58 AM #3 Re: Mass Copy of Files and Folders
Would that then distribute it to all users made, existing and new? Never thought of that, but am at school so can't get at my server now to try it out :x
-
-
2nd October 2007, 12:00 PM #4
- Rep Power
- 12
Re: Mass Copy of Files and Folders
You wont' need to create subfolders for My Pictures, My Music, etc. Providing they have a drive mapped to their home directory, and appropriate folder redirection (changed in the registry for their profile or via policies) these folders will get created automatically when an application tries to access them.
Rather than giving all users their own profile, have you considered sticking with a generic mandatory profile but just redirecting favourites to a folder with in their home directory? Might be easier to manage this way.
-
-
2nd October 2007, 12:07 PM #5 Re: Mass Copy of Files and Folders
Hmmm, then I'd need to tighten up my GPOs and stop documents, recently used programs etc from being saved and I liked the personalisation. I know I do at the network I use at school. I'm a student btw - setup a mini network at home. I did try the Favourites re-direction .adm template available on this site somewhere but It just made a folder in my GPO but no settings :s
-
-
2nd October 2007, 12:13 PM #6
- Rep Power
- 12
Re: Mass Copy of Files and Folders
You don't have to use GPOs to do folder redirection. Just open the user profile's registry hive (ntuser.dat or .man) in regedit and modify the values under HKCU\software\microsoft\windows\current version\explorer\shell folders.
-
-
2nd October 2007, 12:16 PM #7 Re: Mass Copy of Files and Folders
OK WIll give that a go, still have the user that I made the template from on. Been that to that section of the registry lately to modify the contents of Folder Options, removing Show Hidden Files and Folders etc.
I guess it should be something like:
\\server\share\%USERNAME%\Favourites <Wouldn't I still need to create a folder in each users documents for it to direct to?
-
SHARE: 
Similar Threads
-
By Dos_Box in forum Learning Network Manager
Replies: 13
Last Post: 12th April 2007, 10:42 AM
-
By dezt in forum How do you do....it?
Replies: 7
Last Post: 5th July 2006, 11:43 AM
-
By fooby in forum Windows
Replies: 1
Last Post: 14th June 2006, 02:18 PM
-
By browolf in forum Scripts
Replies: 1
Last Post: 28th November 2005, 10:28 AM
-
By tosca925 in forum Windows
Replies: 6
Last Post: 20th October 2005, 06:48 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules