Home > Windows Server Tips > Windows Systems and Network Administration > Use RunAsDate freeware to set system time and date for programs
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS SYSTEMS AND NETWORK ADMINISTRATION

Use RunAsDate freeware to set system time and date for programs


Serdar Yegulalp, Contributor
06.06.2007
Rating: --- (out of 5)


Expert advice on Windows-based systems and hardware
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


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.

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.

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


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Windows Systems and Network Management Tools and Techniques
Top five Server Core management tips for Windows 2008
Top free tools for Windows server administration
A first look at Internet Information Services 7.0
Windows registry hack improves offline file access for mobile users
Reducing the size of network backups in Windows
Monitor network bandwidth with CyberGauge
How to format NTFS: More tricks to improve file system performance
Key enhancements to SCCM give admins more control over assets, licensing
Archiving information with New-Item in Windows PowerShell
Debugging Userenv issues using Windows new event viewer

Windows Systems and Network Administration
Common causes of Windows server security vulnerabilities
Cutting the cost of Windows identity and access management
Using NTFS on a non-Windows OS with NTFS-3G
Group Policy Object modeling simplifies network security
Implementing simple Network Access Protection for Windows Server 2008
Immediate steps for Windows disaster recovery
Tips for Windows domain controller optimization
Quick hits: Troubleshooting service account failure, batch job execution
Case Study: Troubleshooting Windows service dependency failures
Troubleshooting common Windows service failures

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


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.

Rate this Tip
To rate tips, you must be a member of SearchWindowsServer.com.
Register now to start rating these tips. Log in if you are already a member.




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.



Server Room Design - Planning, Cooling, Maintenance
HomeTopicsBlogsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts