adameye Posted February 25, 2010 Posted February 25, 2010 hi forum really need the batch command script that lets you copy a network profile form a server to the local dektop machines on startup copying from \\server1\profiles\students to C:\Profiles\Students its called xcopy or something. thanks.
cookie_monster Posted February 25, 2010 Posted February 25, 2010 (edited) Robocopy is what we use get a copy of robocopy.exe and place it in the same folder as the script. This one copies a Default User profile from netlogon over the local Default User profile. The R: switch is the number of retries and W: is the wait time between tries, it then logs to the C: drive so you can see any errors. \\domain.sch.uk\NETLOGON\robocopy\robocopy "\\domain.sch.uk\NETLOGON\Profiles\Default User" "C:\Documents and Settings\Default User" /E /PURGE /V /NP /R:10 /W:30 >C:\robolog.txt You can download it here http://www.microsoft.com/downloads/details.aspx?FamilyID=9D467A69-57FF-4AE7-96EE-B18C4790CFFD&displaylang=en http://www.mydigitallife.info/2007/05/07/robocopy-syntax-command-line-switches-and-examples/ Edited February 25, 2010 by cookie_monster 1
p858snake Posted February 25, 2010 Posted February 25, 2010 By profile you mean user profiles? If you are using vista or seven you also need registry edits as well (apparently). Shouldn't this be happening automatically when the user logs in anyway?
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