Click to Rate and Give Feedback
Tips
SQL Server PowerShell includes new cmdlets designed specially for working with SQL Server 2008. Here's a look at what's new, and what you can do. ...

Read more!

Do you know what tools you'll need to use to prepare and deploy Windows Vista to systems throughout your environment? Here's an overview of the tools you'll need, and the ones you can forget about. ...

Read more!

Are you familiar with the Wbadmin Backup Command Line Utility? Wbadmin is the command-line counterpart to Windows Server Backup. You use Wbadmin to manage all aspects of backup configuration that you would otherwise manage in Windows Server Backup. For more info, read on. ...

Read more!

You can use Ocsetup.exe to install or remove roles, role services, and features on Server Core. Note that the Ocsetup.exe syntax is case sensitive so you must type package names exactly as shown in this list. ...

Read more!

Here are a few examples of how you can use Windows PowerShell scripts to manage virtual machines running on a Server Core installation. Note that these scripts are presented as samples and may need to be customized to work in your environment. ...

Read more!

Related Articles

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.

Michael Murgolo

TechNet Magazine June 2008

...

Read more!

Delprof is a command-line utility that lets you free up disk space by deleting user profiles that are no longer required on both local or remote computers.

Lance Whitney

TechNet Magazine May 2009

...

Read more!

Is your infrastructure ready for virtualization? The Microsoft Assessment and Planning Toolkit, a network-wide infrastructure assessment tool, can help you better understand your IT infrastructure and determine whether your systems are ready for upgrade or migration to a variety of technologies, including virtualization.

Jay Sauls and Baldwin Ng

TechNet Magazine October 2008

...

Read more!

Virtual machines that are stored offline don’t automatically receive the necessary updates to keep them safe and compliant. This, in turn, can pose a risk to your entire IT environment. Find out how the free Offline Virtual Machine Servicing Tool lets you automate the process of updating virtual machines.

Peter Skjøtt Larsen and Suveen Kumar Reddy Vuppala

TechNet Magazine October 2008

...

Read more!

RichCopy is a powerful, multi-threaded alternative to the popular RoboCopy file copy utility. Take a look at how this free tool can significantly improve file copy performance.

Joshua Hoffman

TechNet Magazine April 2009

...

Read more!

Also by this Author

This column describes what’s new in version 2 of SyncToy, a utility that helps you keep your files in sync across computers and external drives.

Jay Munro

TechNet Magazine December 2008

...

Read more!

Popular Articles

Why do attachment sizes increase when sending and receiving e-mail messages? How can you ensure databases on a passive node in a CCR cluster are defragmented during online maintenance? Can you use an external trust between forests? We answer these questions and more.

Henrik Walther

TechNet Magazine January 2009

...

Read more!

Project Server 2007 delivers significant enhancements, not only to the features and functionality for users but also for administrators. Alan Maddison explores some of the most significant new features and walks you through the installation and configuration of Microsoft Office Project Server 2007.

Alan Maddison

TechNet Magazine January 2009

...

Read more!

Raymond Chen explains why it is often the developers who have their acts together who end up checking in the final bug fixes to products.

Raymond Chen

TechNet Magazine January 2009

...

Read more!

Learn how you can implement error-handling in Windows PowerShell.

Don Jones

TechNet Magazine January 2009

...

Read more!

Greg Steen discusses recovering from system crashes with Replay RA - Recovery Accelerator, managing compressed archives with WinRAR, using TortoiseSVN to simplify source control, measuring disk I/O with Iometer, as well as rebooting servers remotely with the APC Switched Rack PDU, and looks at the book "Windows Group Policy: Windows Server 2008 and Windows Vista".

Greg Steen

TechNet Magazine January 2009

...

Read more!

Our Blog

NAP monitors the health of specified computers when they attempt to connect to a network and includes a number of mechanisms to enforce health requirements. In this article, Geek of All Trades Greg Shields gives readers an overview of these enforcement mechanisms and, as an example, takes a closer look at setting ...

Read more!

Use Windows PowerShell to Manage Virtual Machines Here are a few examples of how you can use Windows PowerShell scripts to manage virtual machines running on a Server Core installation. Note that these scripts are presented as samples and may need to be customized to work in your environment.

Create a New ...

Read more!

Disabling an Unused Part of Group Policy Objects One way to disable a policy is to disable an unused part of the GPO. By disabling part of a policy that isn’t used, the application of GPOs and security will be faster.

Administer Windows Server 2008 Server Core from the Command Prompt ...

Read more!

In the August 2008 issue of TechNet Magazine, Paul Randal wrote an article Top Tips for Effective Database Maintenance.  It was geared toward "involuntary  DBAs" (IT pros who inadvertently wind up responsible for a SQL Server instance).  The article had a great response from our readers so Paul has written another ...

Read more!

Microsoft Forefront is designed to deliver an integrated security solution that makes it much easier to deploy and manage security across an organization’s IT infrastructure. In this, our annual security issue, we feature two articles that describe how Forefront Security protects instant messaging and e-mail.

Protect ...

Read more!

Utility Spotlight SyncToy
Jay Munro

Download the code for this article: SynctToy (971KB)

A HEADACHE THAT plagues IT pros, network admins, and Help Desk staff alike is the call from a user whose computer went south without a backup. Getting even the savviest folks to save their work to the network rather than just locally can be difficult. SyncToy can help.
Originally designed to synchronize digital photographs between camera, computer, and external drives, SyncToy is a flexible and reliable way to backup almost any kind of file. Running on Windows Vista™, as well as Windows® XP and Windows Server® 2003, SyncToy works with local, external, or USB drives, as well as network or workgroup shares.
SyncToy uses a paired-folder architecture where you specify a left and a right directory. You can create as many folder pairs as you want and synchronize one or all with a single button click. To create a folder pair, you walk through a quick four-step wizard where you type or paste a path, or browse to a location for the left and right folders. SyncToy understands UNC file naming (such as \\MyServer\Joe_smith\backup\) as well as local drive mappings and paths (E:\doc_backup). Once paths are entered, you choose one of five actions that SyncToy will perform when comparing the folders.
Sync Copies new and updated files in both directions. If you rename or delete a file in one folder, that action is replicated in the other.
Echo Copies new and updated files, and performs deletes and renames only from the left folder to the right.
Subscribe Copies updated files from right to left, and only if the file already exists on the left. Changes made on the left will not be replicated to the right.
Contribute Copies new and updated files on the left to the right, while ignoring deletions.
Combine Keeps multiple machines in lockstep by copying files that exist on one side but not the other. Files that are deleted or renamed on either side are not affected or replicated.
Once you select the action, pick a friendly name for the folder pair, and you're finished. SyncToy currently does not let you edit paths or change the name once you create a folder pair, so if you make a mistake, select the folder pair, click delete, and create it again. You can set options including which files and subdirectories to include and whether to save overwritten files to the Recycle Bin (on by default).
Synchronizing files with SyncToy(Click the image for a larger view)

The main SyncToy dialog box displays folder pairs on the left, along with the paths, options, and actions for the selected pair. The All Folder Pairs option lists all your folder pairs, and you can do a Preview or Run All on the checked pairs. As you'd expect, Preview goes through the motions as if actually performing the sync, but makes no changes. This is definitely worth doing if you're going to schedule unattended syncs. Preview displays a report, which tells you what operations it would have done. If all looks good, click Run.
Scheduling is not built-in, though the Help file has a fairly good walk-through for both Windows Vista and Windows XP schedulers. Non-technical users might need help setting this up, but you only have to do it once, as all changes to folder pairs, actions, and options are done in SyncToy itself.
Like all Power Toys, SyncToy, while written to the same standards as regular shipping software, is not supported by Microsoft, but rather through community forums and documentation. So you're on your own. The Help file is written for all use levels and covers the features quite extensively. The UI is intuitive enough that you get the basics the first time around.
So download SyncToy and show your users how to back up files. You'll all sleep better.

Jay Munro is a writer on the Win­dows User Assistance team at Microsoft, specializing in Internet Explorer. Previously, he was a project leader with PC Magazine labs.
© 2008 Microsoft Corporation and CMP Media, LLC. All rights reserved; reproduction in part or in whole without permission is prohibited.
Page view tracker