Library

The library contains the knowledge base and administration guides. The administration guides will open in a new window or tabpage.

Skip Navigation Links.
Q200070 HOWTO: Perform full home directory synchronization for laptop users

This article describes how to perform full home directory synchronization from a network share (Homedrive) to a local drive on a user`s laptop.

Cause 1
HOWTO: Perform full home directory synchronization for laptop users.
Solution 1.1 - HOWTO: Perform full home directory synchronization for laptop users (RES PowerFuse 2008 and earlier)
95% probability.
RES PowerFuse supports full home directory synchronization for laptop users. With pwrsync.exe as an external task during logon and logoff, the network-based home directory of the user can be fully synchronized to a local directory, and changes to files can be fully synchronized back to the network location. The pwrsync.exe executable is used to perform the synchronization.

Usage:

pwrsync.exe /fullsync <sourcepath> <targetpath> [/confirmdelete] [/online] [/noignoreerror] /maxsizemb=n] [/maxsizekb=m] [/title="put a title here"]

<sourcepath> and <targetpath> should be enclosed in quotes if they contain spaces and they can contain environment variables.

/log: Creates a log file of the home directory synchronization process at "c:\local laptop DB\Watch" The file is named fullsync_DomainName#MachineName.log

/online: indicates that synchronization should only be performed when the computer is online.

/noignoreerror: indicates that errors during synchronization should not be ignored, so synchronization should be aborted if errors occur. By default, errors during synchronization will be ignored and synchronization will continue.

/maxsizemb=n, /maxsizekb=m: determines the maximum size of files to be synchronized, either in MB or in KB.

/title="<put a title here>": lets the administrator determine the title of the synchronization progress dialog.

/confirmdelete: files that are no longer on the source location, but are still present on the target location, will also be deleted on the target location, because apparently these files have been deleted by the user. This option determines whether the user should confirm this action.

In PowerLaunch, a SUBST needs to be made of H: to C:\OFFLINE\%username%. This folder needs to be created manually.
Create two external tasks in PowerLaunch:

External task at logon:
pwrsync.exe /fullsync "C:\OFFLINE\%username%\" "H:\" /online /title="Homedrive synchronization, one moment please..."

External task at logoff:
pwrsync.exe /fullsync "H:\" "C:\OFFLINE\%username%\" /online /title="Homedrive synchronization, one moment please..."

Applies to RES PowerFuse Series 7 and RES PowerFuse 2008 (all Service Releases).
Solution 1.2 - HOWTO: Perform full home directory synchronization for laptop users (RES PowerFuse 2010 and later)
5% probability.
RES PowerFuse/RES Workspace Manager supports full home directory synchronization for laptop users. With build in Folder Synchronization functionality (during Logon, Logoff, Refresh, Reconnect and/or Interval) it is possible to keep a local folder in sync with a remote folder, based on the Microsoft Sync Framework.

An example of such a Folder Synchronization task is:

Local Folder: "C:\Offline\%username%"
Remote Folder: "\\servername\sharename\%username%"
Run at: Logon and Logoff
Enable "Wait for task to finish before continuing"
Required connection state: "Online Connection"

To give the user access to the same data in online (remote folder) and offline (local folder) state, configure a substitute (Composition -> Files and Folders) to "C:\Offline\%username%", pointing to the same drive letter as the homedrive is configured.

Additionally. configure some filters to exclude specific type of files and/or folders.

Applies to RES PowerFuse 2010 (all Service Releases), RES Workspace Manager 2011 and later.