Use RunAsDate freeware to set system time and date for programs

The free utility RunAsDate lets you run any other program as if the system time and date were set to something different.

One of the newest applications from freeware author Nir Sofer, RunAsDate is simple to use.

    Requires Free Membership to View

  • Unpack it anywhere (no installation is needed),
  • Point to an application somewhere.
  • Provide the date and time to use for the program, supply any optional command-line parameters.
  • Click Run.

From that point on, any kernel API calls made by that program will be intercepted and replaced with the date and time you've described.

More system administrative freeware tools

Learn how to fix inconsistent time or time-zone settings.

Visit our topical resource center and discover what freeware tools can help admins with system management tasks.
One possible use for RunAsDate is as a debugging measure—to determine if a given application is attempting to retrieve its time information from an external server rather than from the system clock. Another possible use for RunAsDate is to check if a program behaves bizarrely on leap days or during Daylight Saving Time periods. Such times might affect an internally developed application that hasn't been subjected to the same level of debugging as a commercial application.

I should mention that one obvious abuse for RunAsDate (one to look out for if your organization is trying to observe software-licensing restrictions) would be to use it to cheat programs that have trial versions that time out after a certain number of days. However, simply using RunAsDate will generally not work for such a program for several reasons, one being that the system date and time are not the only metrics used to determine how much time has elapsed since the program was first run. It might be possible to use RunAsDate in conjunction with other programs or techniques to cheat such copy protection, but that's not something you can do casually. (Or should.)

Note: The program only works for 32-bit Windows programs—16-bit DOS applications and 64-bit Windows apps will not work here.

About the author:Serdar Yegulalp is editor of the Windows Insight, (formerly the Windows Power Users Newsletter), a blog site devoted to hints, tips, tricks and news for users and administrators of Windows NT, Windows 2000, Windows XP, Windows Server 2003 and Vista. He has more than 12 years of Windows experience under his belt, and contributes regularly to SearchWinComputing.com and SearchSQLServer.com.

This was first published in June 2007

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.