Printer Friendly Version      Send     
Click to Rate and Give Feedback
Related Articles
See how this free utility can help you determine whether problems you are experiencing while running Windows are caused by faulty memory.

By Lance Whitney (September 2008)
Leftover Windows Installer configuration information can cause problems when you try to update or uninstall an application. You can solve the problem using the Windows Installer CleanUp utility, which can help you remove an application’s Windows Installer information and then reinstall the app.

By Lance Whitney (August 2008)
Looking for a way to quickly collaborate with someone located in another city? Take a look at out how Microsoft SharedView, a free utility, lets you easily share documents and screens with members of a small group, even across physical boundaries.

By Greg Steen (July 2008)
Michael Murgolo is back with an update to his Elevation PowerToys. You'll find enhanced Run as Administrator functionality that works with third-party scripting tools, a way to replace a handy Windows XP feature removed from Windows Vista, and many more useful tools.

By Michael Murgolo (June 2008)
More ...
Articles by this Author


By Joshua Hoffman (September 2008)


By Joshua Hoffman (August 2008)


By Joshua Hoffman (July 2008)


By Joshua Hoffman (June 2008)


By Joshua Hoffman (May 2008)


By Joshua Hoffman (April 2008)


By Joshua Hoffman (March 2008)


By Joshua Hoffman (February 2008)
More ...
Popular Articles
Security by obscurity involves taking measures that don't remove an attack vector but instead conceal it. Some argue that this is a bad practice while others claim that as part of a larger strategy, every bit counts. The debate is quite heated, and some of our finest security experts face off, explaining security by obscurity and presenting both sides of the debate.

By Jesper M. Johansson and Roger Grimes (June 2008)
Users have complained for years that clustering in Windows Server is too complicated. With the release of Windows Server 2008, clustering received a complete facelift. Explore some of the most significant advancements found in the new Failover Clustering, and see how this new implementation makes clusters much easier to set up and maintain.

By Chuck Timon (July 2008)
While locking is essential to support concurrent read and write activities on a database, blocking can adversely affect system performance. Learn how to optimize your SQL Server database to minimize blocking, and see how you can monitor the system to better understand how locking impacts performance.

By Cherié Warren (April 2008)
Many businesses still rely on Microsoft Access. Fortunately, Microsoft Office SharePoint Server 2007 allows you to integrate legacy Access data. Explore how you can use these tools to build new solutions for your organization.

By Peter Serzo (April 2008)
More ...
Read the Blog
David Tesar recently posted an interview with Mark Russinovich. In the interview, Mark discusses joining ...
Read more!
In his third installment on Windows Deployment Services, Wes Miller explores features that enhance performance and scalability, logging, and command-line automation. Notable in this column are the powerful new command-line utility for management, WDSUtil.exe, and the WDS Image ...
Read more!
In the September 2008 issue of TechNet Magazine,  Raymond Chen reflects on how some left over diagnostic code unexpectedly Read more!
As the Scripting Guy notes, the old phrase "you can run but you can't hide" was never more true than it is today— when even your toaster can be Internet-enabled. But disconnection happens, and then what do you do? We—or rather the scripting guys—are ...
Read more!
Pav Cherny discusses the limitations of the built-in Directory Management Service in SharePoint and explains how you can replace this component with a custom solution that lets you synchronize SharePoint recipient information with other directory solutions. In particular, he ...
Read more!
"One of the common things that administrators must deal with on an ever-increasing basis is the regular changing of the password for shared and privileged accounts, such as the built-in administrator or root account, a firecall account, or perhaps even a process account." In the Read more!
More ...
Utility Spotlight Robocopy GUI
Joshua Hoffman

Download the code for this article: UtilitySpotlight2006_11.exe (1052KB)

IT'S FUNDAMENTAL. Try to think of a time when, either as an IT professional or even as just the user of a home computer, you didn't need to copy files. Whether you're building a master image for desktop deployment, publishing new pages to a Web server, or just backing up or reorganizing your own documents and photos, copying files is one of those core operations you are bound to perform in your daily interaction with a PC.
But there's a problem. The traditional "copy and paste" functionality that is built into Microsoft® Windows® has limitations. It works well enough for simple tasks (moving a document from one directory to another, and so on), but it lacks the advanced functionality an IT professional needs in the workplace. For example, the copy and paste operation doesn't include any kind of advanced resiliency that would allow it to recover from a brief network disruption. It's also an all-or-nothing proposition, particularly when copying complete directories. Through the UI, you can't choose to copy only those files which are new or have been updated. You either copy individual files, entire directories, or nothing at all.
Enter Robocopy. This powerful tool, included with the Microsoft Windows Server® 2003 Resource Kit Tools, allows for all of those advanced functions and more. Robocopy enables the more serious file replication tasks that can really simplify your job. The biggest benefit I think you'll find is the ability to create full mirror duplicates of two file structures (including all subdirectories and files, if you choose) without copying any unnecessary files. Only the files that are new or have been updated in the source location will be copied. Robocopy also allows you to preserve all of the associated file information, including date and time stamps, security access control lists (ACLs) and more.
Of course, we all like to work in different ways. Some people prefer the command line and for those people, the Robocopy tool as it ships is great. However, others are more point-and-click oriented, and for that crowd, there's Robocopy GUI. This welcome add-on to Robocopy comes to us from Derk Benisch, a systems engineer with the MSN Search group at Microsoft. Derk's utility allows users to customize their Robocopy scripts using a simple and very familiar-looking graphical interface (see Figure 1).
Figure 1(Click the image for a larger view)
Robocopy GUI lets you specify your source and target paths, as well as any custom options or filters you'd like to apply, whether or not you'd like to create a drive mapping, where you'd like to store the resulting logs, and so on. These are all features you can certainly execute with traditional Robocopy command line functionality, but for many, having the options consolidated in a graphical interface may really simplify the process.
Robocopy GUI also extends the functionality of the existing Robocopy tool in some very interesting ways. For example, this tool is multithreaded, allowing you to create a Robocopy script, execute it, and begin creating another one while your first script is still running. It also allows you to save your scripts (even if you don't actually execute them) so that you can create a library of common scripts or share them with your colleagues. And most importantly, Robocopy GUI allows you to save your default settings so you don't have to start from scratch every time.
Robocopy GUI includes a help file of its own, as well as an embedded copy of the full Robocopy reference guide. This reference includes a full index of all of the Robocopy commands and syntax to help you determine which settings you'd like to take advantage of.
With all of these useful features, Robocopy GUI makes a great addition to any IT professional's toolbox. You'll find a copy of Robocopy GUI in the downloads section of our Web site.

Joshua Hoffman is the Technical and Acquisitions Editor for TechNet Magazine.
© 2008 Microsoft Corporation and CMP Media, LLC. All rights reserved; reproduction in part or in whole without permission is prohibited.
Page view tracker