Offline Files is another in the long list of new features Microsoft boasts of in the Windows XP documentation. Many admins of XP, and some users, remain unaware of what it is, how it works, and how it can benefit them. In this Daily Drill Down, we’ll introduce you to the Windows XP Offline Files feature, an integral component of the multilayered IntelliMirror technology that allows administrators to exercise more control over network resources and provides users with convenient ways to work with network data and programs.

Offline Files allows you to keep using network files, folders, and applications when disconnected from the network. To users, this is transparent; offline, they’ll have the same access permissions to the files and folders that are available when they’re connected to the network. Best of all, when they reconnect, all the changes they’ve made to those files will be made to the files on the network, via offline file synchronization. Any file or folder that is shared on a Microsoft network can be made available offline, as long as the computer on which it’s stored supports SMB-based file and printer sharing (this includes all Windows 9x/NT4/2000/XP computers).

Benefits of Offline Files for mobile users
The biggest beneficiaries of the Offline Files feature are mobile computer users who frequently connect and disconnect from the network to work at home or on the road. Now mobile users can be assured that they’re working with the most up-to-date versions of network files, navigate through mapped network drives even when disconnected, and easily synchronize changes with the network when they plug back into the network.

Because mobile users often have to contend with disk-space limitations on laptops or notebooks, the Offline Files feature allows you, as the administrator, to specify the amount of space that can be used for automatic caching of offline files on the local computer. (This doesn’t limit the ability to store additional offline files manually.) We’ll discuss how to configure cache limits later in this Daily Drill Down. The default configuration settings for Offline Files are, in general, optimized for the needs of mobile users.

Configuring Offline Files in Windows XP Professional
Three steps are involved in setting up your or your user’s Windows XP Professional computer to use Offline Files:

  1. Enable the Offline Files feature.
  2. Make one or more files or folders available offline.
  3. Configure Offline Files settings to control caching options and disconnection response.

Enabling Offline Files
Before you can make any content available offline, you must enable the use of Offline Files on your computer. To do so, click on the Start button and open My Computer. Select the Tools menu at the top of the window and choose Folder Options. In the tabbed dialog box, select the Offline Files tab, as shown in Figure A.

Figure A
The first step in using Offline Files is to enable the feature on your computer.


Before you begin Offline File configuration, ensure that Fast User Switching is disabled on the client. To do so, open the Control Panel and select User Accounts. From the list of tasks presented, choose Change The Way Users Log On Or Off and clear the Use Fast User Switching check box.

Check the box to enable Offline Files. This page is also used to configure Offline Files settings, which will be discussed in the next section.

Configuring Offline Files settings
On the Offline Files page, in addition to enabling Offline Files, you can also specify:

  • Whether the system should synchronize all offline files before logging on to the computer.
  • Whether the system should synchronize all offline files before logging off when you log off, restart, or shut down the computer. This will ensure that you have the most up-to-date versions of the files you have designated to be available offline.
  • Whether to enable reminders, which will cause a notification balloon to appear over the system tray when a computer goes offline. If you select this option, you can also specify, in minutes, how often the reminder balloon should be displayed after the computer goes offline.
  • Whether a shortcut icon for the Offline Files folder should be created on the desktop.
  • Whether to encrypt offline files as an extra security precaution for the user who has sensitive data on his or her hard drive.
  • The amount of disk space allocated for storing offline files that are automatically cached because an administrator has specified that they be made available offline. This does not affect the files that the user has made available offline.

You can also use these buttons:

  • Delete Files: Use this button to remove selected offline files from the local computer. (This doesn’t delete those files from the network location.)
  • View Files: Use this to view the contents of the Offline Files folder, which shows all files that have been made available offline, along with their type, synchronization information, availability, access, location, size in KBs when last modified, and the status of the server.
  • Advanced: With this, you can choose what will happen if you’re working online (connected to the network) and the connection is lost. Your choices are to have the system notify you that you’re offline and allow you to continue working with network resources offline, or to never allow the computer to go offline, as shown in Figure B.

Figure B
You can specify what will happen when your connection to a network computer is lost.

Click on the Advanced button on the Offline Files tab to reach the Advanced Settings page, where you can create an exception list and designate the behavior when a particular server gets disconnected. For example, in Figure B, the default behavior when a network connection is lost is to notify and begin working offline, but if a connection to the computer named Godot is lost, the setting specifies that this computer should not go offline.

Making files and folders available offline
To make a file or folder available offline, it must first be shared. To do so, right-click it and select the Sharing option from the pop-up menu. Click on the Share This Folder radio button to create the share. It’s important to note that you cannot share an individual file—you must share a folder or drive. However, when you share a folder, the files inside that folder are shared, and you can then individually make any of those files available offline.

After enabling Offline Files, all you have to do is navigate to the selected shared file or folder in My Computer or My Network Places, highlight the file or folder name, either select the File menu or right-click the file or folder, and choose Make Available Offline, as shown in Figure C.

Figure C
You can make a shared file or folder available offline once Offline Files is enabled.

Setting caching options on shared folders
Offline Files works by creating a cache on the computer’s local hard disk and storing the shared network files that are designated as offline files in this cache. You configure the caching options for each shared folder made available offline. The caching options are set from the Shared Folders node in the Computer Management MMC (accessed by right-clicking My Computer and selecting Manage). Right-click the shared folder for which you want to set caching properties and select Properties. On the General tab, click the Caching button. The Caching Settings properties box is shown in Figure D.

Figure D
Caching properties are set for each shared folder individually.

Enable caching of the shared folder by selecting the check box. Three options are available to control how the files in the folder will be cached:

  • Manual Caching For Documents: With this option, the only documents that will be cached are those that the user specifically designates to be available offline.
  • Automatic Caching For Documents: With this option, when a user opens a file in this shared folder, it will be automatically downloaded and made available offline without the user specifying that it be an offline file. Older copies of a file will be deleted automatically to make room for files that have been accessed more recently. With this option, a file that the user has not opened while online will not be available offline.
  • Automatic Caching For Programs: All files in the folder will be made available offline. This option is used when the data in the folder is read-only, as with shared network applications. It shouldn’t be used if users will change the data in the folder.


The default caching setting is Manual Caching For Documents.

Using Offline Files
After you’ve set up the computer to enable Offline Files and made the selected files or folders available offline, other users can connect to the offline files and work with them over the network and then continue working with them after the connection between your computer and theirs is broken.

Working offline
If Offline Files is configured to display a balloon notification, when the network connection is broken, the user will see an Offline Files icon appear in the status area to the right of the taskbar buttons on the Windows XP taskbar.

When the network connection is restored (for example, when you plug your laptop back into the docking station or plug a live Ethernet cable into its PC Card NIC), the status-bar information will change, and modifications that you have made to offline files since the disconnection will be updated to the network files automatically.

Synchronizing Offline Files
You can synchronize offline files manually. You can also schedule them to be synchronized at a specified time with the Synchronization Manager.

The two types of synchronization are:

  • Full synchronization: A full sync takes more time, but it ensures that every file made available offline is the most up-to-date version.
  • Quick synchronization: A quick sync will provide you with a full version of each offline file, but it may not be the most up-to-date version. It is, however, much faster to perform.

To open the Synchronization Manager, select Start | All Programs | Accessories | Synchronize. The Synchronization settings that can be configured when you click the Setup button include:

  • Items that should be synchronized when you log on or off. You can specify that this occur automatically or that the system prompt you before synchronizing.
  • Items that should be synchronized when the computer is idle. Using the Advanced button on this tab, you can set an idle time (in minutes) when synchronization should occur and how often it should take place while the computer remains idle, as shown in Figure E.

Figure E
You can control how idle-time synchronization takes place.


Check the last box on the Idle Settings dialog box to prevent synchronization from occurring while your portable computer is running on battery power, to avoid draining the batteries.

  • Using the Scheduled Synchronization tab, you can set times for synchronization to occur automatically. Clicking the Add button on this tab will invoke the Scheduled Synchronization Wizard, shown in Figure F.
  • Figure F
    The Scheduled Synchronization Wizard helps you set up automatic synchronization.

    With the wizard, you can select a time and day when you want the synchronization to start and how often synchronization should occur. You’ll then be asked to give the synchronization job a name, and it will be entered into the list of current synchronization tasks.


    You can manually synchronize an individual file or folder by selecting it in Windows Explorer or My Computer and selecting Tools | Synchronize.

    Understanding and resolving file conflicts
    If more than one person works with the same offline files, the possibility of file conflicts arises. There can be differing versions of the file to which different modifications have been made. When you synchronize files, those that you have modified since disconnecting from the network will be compared to the versions of those same files on the network server. Your changes will be copied to the network versions—if no one else has modified the network files while you were working offline.

    If someone else did change the files during that time, a file conflict arises. Which version should be kept on the network—the one copied to the network while you were offline or the one containing the modifications you made while offline? You’ll be asked to choose one of the following:

    • Keep Your Version Of The File
    • Keep The Version On The Network
    • Keep Both Versions

    If you elect to keep both versions, you’ll need to give your version a different name. Both versions will be saved to your local disk and the network server.

    Offline Files makes life easier for users who must frequently connect to and disconnect from the network, such as mobile users. Offline Files also gives administrators more control over user data, because they can specify that certain files be automatically made available to users offline. The Synchronization Manager makes it easy to keep offline files updated, and the Synchronization Wizard allows you to schedule synchronization tasks to occur whenever you specify. In this Daily Drill Down, we’ve provided an overview of what Offline Files is, how it can benefit you, and how to enable, configure, and use Offline Files on a Windows XP Professional computer.