Printer Friendly Version      Send     
Click to Rate and Give Feedback
Related Articles
Waka wakka wakka! ...

Read more!

Make a new tip by beating yourself in the head with a keyboard ...

Read more!

You know what ...

Read more!

Active Directory, why it rocks! ...

Read more!

This Tip will explain how to send email from Exchange ...

Read more!

Also by this Author

Joshua Hoffman

TechNet Magazine November 2008

...

Read more!

Joshua Hoffman

TechNet Magazine January 2008

...

Read more!

Joshua Hoffman

TechNet Magazine April 2008

...

Read more!

Joshua Hoffman

TechNet Magazine July 2008

...

Read more!

A great deal of time is often invested in determining the best ways to keep an infrastructure current, and rightfully so. In this month’s Utility Spotlight I take a look at a great way to make sure that desktops are as current as possible from the day they are deployed.

Joshua Hoffman

TechNet Magazine November • December 2005

...

Read more!

Popular Articles

User Account Control, or UAC, is one of the most misunderstood new features in Windows Vista. But its goal—to enable users to run with standard user rights—can solve many security issues. Get an inside look at the problems UAC is designed to address and see exactly how this new feature works.

Mark Russinovich

TechNet Magazine June 2007

...

Read more!

Far too often, people who are not trained database administrators somehow end up responsible for a database. They lack the proper training and knowledge to maintain their database, and problems begin to develop. Here’s a primer for all those involuntary DBAs who need a crash course in database maintenance best practices.

Paul S. Randal

TechNet Magazine August 2008

...

Read more!

How do you secure the desktop against malicious ActiveX controls without limiting application compatibility? We’ll take you on a tour of the ActiveX Installer Service (AxIS) in Windows Vista that addresses this issue with a new way to manage ActiveX controls.

Rob Campbell and Joel Yoker

TechNet Magazine July 2007

...

Read more!

Windows Server 2008 and the new Windows Server Backup utility bring many changes and welcome enhancements to backing up. Here is an in-depth guide to backing up and restoring Active Directory in the new server OS.

Gil Kirkpatrick

TechNet Magazine May 2008

...

Read more!

Backup is something many people ignore until it’s too late. But there’s no excuse for this, especially now that the new Windows Vista Backup and Restore Center offers a variety of features that make it easy to protect your data against most forms of data loss. Find out how you can plan a complete recovery strategy with Windows Vista.

Christine Fok

TechNet Magazine September 2007

...

Read more!

Our Blog

Proxy authentication lets users perform a simple bind to an Active Directory Lightweight Directory Services instance but still have an association to an Active Directory account. This can be very useful: it gives developers full access to a user object without giving them access to the Active Directory account, and it allows products that require the X.500 format to be used with Active Directory. ...

Read more!

In this month’s TechNet Magazine, you’ll find the second of a series of Field Notes columns written by Romi Mahajan, Chief Marketing Officer of Ascentium Corporation. As an early innovator in the field of electronic ...

Read more!

The December 2008 issue of TechNet Magazine is now available online. And it's filled with information about interop.

Find out how to integrate Linux clients with ...

Read more!

The latest installment of our online-only Sustainable Computing column is now available.

Find out how you can:

Bring Windows Server 2008 and Windows Vista Power Management Settings into Compliance Bring Windows Server 2003 and Windows XP Power Management Settings into Compliance Enforce Energy-Efficient Architectures ...

Read more!

"For developers, one difficult problem in SQL Server is tracking what data has changed in a database. An even greater challenge is architecting a simple solution that doesn’t heavily impact workload performance and isn't difficult to create, implement, and manage. So why go to all the trouble to track changes? Is tracking changes really worth all this effort? Two commonly cited examples are to support updates to a data warehouse and to support the synchronization of heterogeneous, occasionally connected systems." ...

Read 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