Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3094
  • Last Modified:

Automatically copy files from a desktop folder to a network drive?

How do you automatically copy files from a desktop folder to a network drive? This is Windows XP with a 2003 Server.
1 Solution
You should not really keep stuff on the desktop !

You could use a logoff script something like

xcopy c:\Documents and Settings\Username\Desktop\folder \\servername\sharename /e /i /y

but why not just save the documents on the server in the first place ?
create a txt file by right clicking on the desktop.
 edit the text file and place this in there

xcopy c:\<the path to the files on computer> <network drive letter>

Save the file to something like copy_files.bat

then open your control panel and create a scheduled task with the time you want to associated the file to run.  
Now when that task runs, it will run that file, which then copies the files from your local computer to the network drive you specified.

Hope that helps
jmahlmannAuthor Commented:
an odd request from a client!
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Ah! clients - they do come up with some odd requests :-)
David Scott, MCSENetwork AdministratorCommented:
well, i always point the my documents folder on the desktop to the users home directory and tell them to save their files in my documents.  

of course the my documents folder contents won't be available offline unless offline files is enabled.  

that's a seamless way of files being copied from the desktop folder to a network share.
you could try relocating the users desktop to the server. via a GPO.

All our users desktops reside on the server so we don't have to worry about where they keep stuff.
Have you considered roaming profiles? This would not only make sure desktop items are backed up to the server, but users would be able to log on to any machine in your domain and get their own desktop, My Documents, etc loaded just like they were on their normal computer.
there are faster better ways to accomplish the same goal. They way I setup our network, users can login to any workstation and have access to their, my documents,  desktop, apps etc.

When I say faster I mean network performance.

If bandwidth is not an issue then roaming profiles is a good solution, but very demanding on network performance.

The other way I speak of requre's a lot of login scripting, GPO configuration and some trial and error.

Roaming profiles is much easier.
Ony feedback - what are you trying to achieve? Are you just wanting to sync a single folder to maintain a copy on the server or would roaming profile/redirected folder be more appropriate ?
Forced accept.

EE Admin

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now