Copyright ©2001 Tapani J. Otala
Last modified 2001/04/24
This application is a tiny Windows 9x/NT/2000 utility that allows you to synchronize the clock of your desktop PC with the clock of your mobile PC (i.e. PocketPC, Palm-size PC, etc.)
| Desktop PC | Mobile PC |
|---|---|
| Dell Dimension XPS T700r Microsoft Windows 2000 (5.00.2195, Service Pack 1) |
Compaq iPAQ H3630 (ROM v1.69) Microsoft Windows CE for PocketPC (3.0.9348, Build 9616) |
By default, ActiveSync will synchronize your mobile PC clock with the desktop PC's clock every time you connect them. This is the opposite case from this application's intended usage, so you should probably disable that feature as shown below:
Once this is done, anytime your mobile PC is connected to your desktop PC you can manually synchronize the desktop PC's clock to the mobile PC's clock by launching this application. You can also configure ActiveSync to automatically launch this application upon connecting to the device. Simply launch this application with the following command line:
ClockSync /register
If you want to discontinue the use of automatic synchronization, launch ClockSync again with the following command line:
ClockSync /unregister
ClockSync supports a few more command line flags as listed below.
Unless otherwise specified, you can use one or more of these command line flags, provided that they are separated with at least one space character.
| Flag | Description |
|---|---|
/register |
Registers ClockSync with ActiveSync so that it is automatically launched
every time the mobile PC is connected to the desktop PC. This flag is mutually exclusive with the /unregister flag. |
/unregister |
Unregisters ClockSync from ActiveSync so that it is no longer automatically
launched every time the mobile PC is connected to the desktop PC. This flag is mutually exclusive with the /register flag. |
/confirm |
Causes ClockSync to prompt you before setting the desktop PC clock. |
/verbose |
Causes ClockSync to display the mobile PC time and date before setting the desktop PC clock. |
| Message | Description | Solution |
|---|---|---|
| Failed to synchronize clocks due to insufficient access rights. | You are running Microsoft Windows NT or Windows 2000 on your desktop PC. You must have administrator access rights in order for ClockSync to change the system time. | This behavior is by Microsoft design. The only workaround is to increase your access rights. |
| Failed to initialize ActiveSync, reason 0xXXXXXXXX. | Your mobile PC is not connected to the desktop PC, or the connection has failed for some reason. ClockSync will only wait for 5 seconds to establish the connection. | Check your connection and try again. |
| Failed to synchronize clocks, reason 0xXXXXXXXX. | You have launched multiple copies of ClockSync simultaneously. Each copy attempts to create a temporary file on the mobile PC, and there is a minuscule chance that they might attempt to create the same file at the same exact time. | Try again at a later time. |
This software is freeware. This means that you can make as many copies of it as you like. You can also give copies of it to anyone else as long as you do not charge any money for it, except for nominal fees for distribution media. In addition, you must retain the original copyright text without modifications.
This software is provided to you as-is without any implied or explicit warranties. While I am reasonably certain it is free of defects, I take absolutely no responsibility for any damage it may cause to your desktop PC or your mobile PC. Use it at your own risk.
Microsoft, Windows, and ActiveSync are registered trademarks of Microsoft Corporation.
Tapani J. Otala
tapani@tjotala.com