Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

April 22, 2002 12:00 AM

Configuring Offline Files

Windows IT Pro
InstantDoc ID #24554
Rating: (2)
Help mobile users stay in sync

Windows 2000's Offline Files feature lets users who aren't connected to the network manipulate network-based files as if the users were connected. When the users log back on to the network, they can synchronize the changes they made locally so that the files on their local systems and on the network file share are identical. This capability is especially beneficial for mobile users and users who dial in from remote branch offices. To use Offline Files, you need to carry out two sets of configuration processes: one set on the server and one on the client computer.

Configuring the Server
To configure the server to use Offline Files, you must share the folder that holds the files you want to make available to offline users. Then, you must specify the way in which Win2K maintains those files on the server.

First, right-click the selected folder and choose Sharing from the context menu. This action takes you directly to the Sharing tab of the folder's Properties dialog box. Select the Share this folder option, as Figure 1 shows.

By default, Win2K gives the Everyone group Full Control permissions (i.e., permission to read, write, and modify) on shared folders. This setting usually is appropriate for file sharing because it permits all users to synchronize files they changed locally. To restrict access to files in the specified folder, you can substitute another group (or groups) for the Everyone group. Then, the users in the group that you specify are the only ones who can take advantage of Offline Files for this folder. If you want to change the permissions setting, click Permissions, then Add and Remove groups on the Permissions dialog box's Share Permissions tab.

Click Caching on the Sharing tab to open the Caching Settings dialog box, which Figure 2, page 90, shows. Select the Allow caching of files in this shared folder check box to make the files available for offline access. The options in the Setting drop-down list specify the way in which Offline Files will operate for the files in the specified folder. Choose one of the following caching settings: Manual Caching for Documents, Automatic Caching for Documents, or Automatic Caching for Programs.

Manual Caching for Documents. Manual Caching for Documents is the default setting and gives users offline access to any file in the folder. Users must select each file manually, and multiple users can access the same file for offline manipulation.

Automatic Caching for Documents. Automatic Caching for Documents automatically transfers any file a user opens to that user's local Offline Files folder. Users can't merely select a file for offline access; they must open the file.

Automatic Caching for Programs. Automatic Caching for Programs lets users access files for offline access but prevents synchronization of any changes that users make offline. In other words, a user can view a file, but when the user reconnects, Win2K doesn't upload any user changes. You can use this setting when a folder contains programs instead of (or in addition to) documents so that users can run the programs locally by transferring the executables to their local disks. However, be aware that many programs require additional files (e.g., DLLs) to run, so few programs can run in offline mode. Scripts and batch files are good candidates for this caching configuration option.

Some file types—primarily database data files—don't work properly (or at all) offline. By default, Win2K disables Offline Files for files with a .db?, .ldb, .mdb, .mde, .mdw, .pst, or .slm file extension. When you configure a folder that contains these file types to be available for Offline Files, Windows displays (for each ineligible file) the error message Unable to make file filename available offline on \\servername\sharename. Files of this type cannot be made available offline.

Configuring the Local Computer
To configure the local computer to use Offline Files, you must first confirm that the feature is enabled. (Offline Files is enabled by default on Win2K Professional systems but not on Win2K Server systems.) Open the Control Panel Folder Options applet or choose Tools, Folder Options from any Windows system window (e.g., My Computer, Windows Explorer, My Network Places) to open the Folder Options dialog box. Go to the Offline Files tab, which Figure 3 shows. Confirm that the Enable Offline Files check box is selected.

The other settings on the tab configure Offline Files' operation. The Synchronize all offline files before logging off option guarantees that users will get the most recent version of each offline-enabled file from the server when they log off. (Win2K automatically controls the synchronization process that occurs when users log on; you can't modify that process.)

The Enable reminders option controls the reminder balloon that appears over the taskbar system tray to help users remember that they're working offline. I suggest you select the Place shortcut to Offline Files folder on the desktop check box. Doing so provides a quick way for users to view their offline files. (Otherwise, users must navigate to the Folder Options' Offline Files tab and click View Files.)

Related Content:

ARTICLE TOOLS

Comments
  • Anonymous User
    7 years ago
    Feb 28, 2005

    I have access to a network drive which a I have set up to be available offline. Sychronisation occurs automatically when logging off. The problem I have is that when other users log onto to this machine, at logoff sychronisation is attempted for MY files, but fails because the netork drive is only available if logged in using my user name. Does anyone know how to avoid this. This could get very annoying if multiple users use offline files. Each user will have to see synchronisation fail for all other users.

  • Anonymous User
    7 years ago
    Jan 24, 2005

    Nice article!

    A problem for which I have yet to hear a (usable) solution:

    (Assuming the process of enabling offline files on the server as well as locally, as described in your article, has been properly completed:)

    Whenever something changes in a shared folder that has been made "available offline" (ie. copying, moving, creating, deleting or modifying a file or folder therein), not only the object(s) (files and/or folders) involved, but ALL folders along the path up to the "root" of the share as well, will automatically be tagged as "available offline".

    While it might make good sense for MS to adopt this "better safe than sorry" behaviour, there are numerous good reasons for not wanting things to work this way (the prime being that it tends to cause a lot of added storage usage, disk fragmentation, synchronisation delays and network traffic). Unfortunatly, it appears that MS didn't make it possible to (easily, at least) change or modify this behaviour?

    ... But I'm hoping that someone might know a usable "workaround" or something..?


    The behaviour I (and, I suspect, many others) need, would be something along these lines:

    - Existing shared files and folders should not be made available offline "automatically", unless when the status is currently "working offline", in which case it is necessary in order to allow files to be added or modified in a folder that is offline.

    - Files added to a shared folder should "inherit" the "available offline" status of the folder to which they are added, instead of always being set to "available offline" (ie. from the "immidiate" parent folder, as opposed to what I syspect is the current case, the "absolute" parent/shared/root folder.)


    In case anyone know how this (or something similar) can be achieved, please contact me on the following e-mail address (remembering to de-obfuscate my anti-spam measures):

    a:d;a:m;(amphersand):n;e:l;l:e;m:a;n:n;(dot):n;u


    Regards,

    Adam.

  • Mario
    8 years ago
    Jul 07, 2004

    As written in the text above:
    Some file types—primarily database data files—don't work properly (or at all) offline. By default, Win2K disables Offline Files for files with a .db?, .ldb, .mdb, .mde, .mdw, .pst, or .slm file extension. When you configure a folder that contains these file types to be available for Offline Files, Windows displays (for each ineligible file) the error message Unable to make file filename available offline on \\\\servername\\sharename. Files of this type cannot be made available offline.

  • Aseel A
    8 years ago
    May 17, 2004

    When i make offline file from mdb it show that Files of this type cannot be made available offline. Can anyone help?
    Thanks

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.