https://www.nirsoft.net/utils/run_as_date.html [nirsoft2] [INS::INS] Main Page RunAsDate v1.37 - Run a program with the [runasdate_] specified date/time Blog Copyright (c) 2007 - 2019 Nir Sofer Search See Also FAQ * AdvancedRun - Run application as system user or without elevation or as user of another process or TOP 10 with specific environment variables. * NirCmd - Do many useful tasks from command-line, Pad Files without displaying any user interface. Contact Description About... RunAsDate is a small utility that allows you to run a program in the date and time that you specify. This Donate utility doesn't change the current system date and time of your computer, but it only injects the date/time that All Utilities you specify into the desired application. You can run multiple applications simultaneously, each Password Tools application works with different date and time, while the real date/time of your system continues to run normally. System Tools [runasdate] Browser Tools How does it work ? Programmer Tools RunAsDate intercepts the kernel API calls that returns Network Tools the current date and time (GetSystemTime, GetLocalTime, GetSystemTimeAsFileTime, NtQuerySystemTime, Outlook/Office GetSystemTimePreciseAsFileTime), and replaces the current date/time with the date/time that you specify. 64-bit Download System Requirements Panel RunAsDate works under Windows 2000, Windows XP, Windows Forensics Server 2003, Windows Server 2008, Windows Vista, Windows 7, Windows 8, and Windows 10. Older versions of Windows Pre-Release Tools are not supported. There is also x64 version available in a separated download, for using with x64 applications. Articles Important Notice !! I get many email messages that say something like "I tried to extend the trial period of xyz software with RunAsDate and it didn't work". Running a software with different date/time can be used for many legitimate purposes and for these purposes RunAsDate was created. I have never said implicitly or explicitly that RunAsDate can be used for extending the trial period of a software. For some shareware programs, RunAsDate might really work, but many shareware creators are smart enough to detect that the date/time was modified and when they detect the time change, they end the trial period immediately. Please don't bother yourself to send me a question about extending the trial period of a software, because these kind of messages are simply deleted without answering. Versions History * Version 1.37: + Fixed bug: RunAsDate failed to work properly when using the 32-bit and the 64-bit versions in the same time. + Also, the DLL file of RunAsDate is now deleted automatically when you close the main window of RunAsDate (If it's not locked). * Version 1.36: + Added 'Run As Administrator' button to easily run RunAsDate as Administrator. You have to run RunAsDate as Administrator when the program you want to run with RunAsDate requires elevation. * Version 1.35: + RunAsDate now displays an error message if you try to run 32-bit program with 64-bit version of RunAsDate or 64-bit program with 32-bit version of RunAsDate. + RunAsDate now displays an error message if it fails to run the specified .exe file. + RunAsDate now also intercepts the NtQuerySystemTime and GetSystemTimePreciseAsFileTime API functions. + RunAsDate now also intercepts the date/time functions on kernelbase.dll (in addition to kernel32.dll). This change solves the issue with cmd.exe on Windows 10 (it uses the APIs on kernelbase.dll ) * Version 1.31: + Fixed bug: When a program executed with RunAsDate requested to get the current time in GMT (GetSystemTime and GetSystemTimeAsFileTime API), RunAsDate provided the wrong time with a difference of one hour if the computer date was in summer (With daylight saving time) but the selected RunAsDate date was in winter (Without daylight saving time) and vice versa... * Version 1.30: + Added option to set the date/time relative to the current time. You can add (positive number) or subtract (negative number) the following time units: seconds, minutes, hours, days, months, and years. + Added 'Start in folder' option. + RunAsDate now saves the last settings to config file (RunAsDate.cfg) * Version 1.21: + Fixed bug with 'Move the time forward according to the real time' option: After around 7 minutes from the time that the application was started, RunAsDate failed to calculate the time properly. * Version 1.20: + Added 'Return to the current date/time after xx seconds' option. * Version 1.16: + Fixed bug: RunAsDate removed a quote character when using it in the {Program parameters} section of the command-line string. * Version 1.15: + Fixed RunAsDate to work properly on Windows 8 64-bit. * Version 1.11: + Added Drag & Drop support: You can now choose the .exe file to run by dragging it from Explorer into the main window of RunAsDate. * Version 1.10: + Added auto complete support in the filename field. + Added x64 version. * Version 1.05: + Fixed bug: When using 'Create Desktop Shortcut', the /immediate and /movetime options were not added to the shortcut's command-line * Version 1.04: + The main dialog-box is now resizable. * Version 1.03: + Added 'Immediate Mode' - Change the date immediately when the program starts. * Version 1.02: + New option: Move the time forward according to the real time. * Version 1.01: + New option: Create a shortcut on your desktop that will run a program with the date/time that you specify. + When you don't specify the time in the command-line, the current time will be used, instead of 00:00:00. * Version 1.00 - First release. Using RunAsDate RunAsDate doesn't require any installation process or additional DLL files. In order to start using it, simply copy the executable file (RunAsDate.exe) to any folder you like, and run it. In the main window of RunAsDate, select the desired date and time and the application that you want to run. Optionally, you can also specify the command-line parameters to run the program. Press the "Run" button to start the application with the specified date/time. Immediate Mode In versions prior to 1.03, RunAsDate always waited until the kernel was fully loaded, and only then injected the desired date/time. This mean that some programs that get the date/time im very early stage, received the real current date/time, instead of the fake date/time of RunAsDate. Starting from version 1.03, when the 'Immediate Mode' is turned on, RunAsDate inject the date/ time immediately when the process starts, without waiting to the kernel loading. However, this mode can also cause troubles to some applications, especially if they were written in .NET If executing an application from RunAsDate cause it to crash, you should turn off the 'Immediate Mode'. Using RunAsDate from Command-Line You can also use RunAsDate from command-line, with the following syntax: RunAsDate.exe {/immediate} {/movetime} {/startin [folder]} {/returntime [seconds] } [dd\mm\yyyy] {hh:mm:ss} [Program to run] {Program parameters} Examples: RunAsDate.exe 22\10\2002 12:35:22 "C:\Program Files\ Microsoft Office\OFFICE11\OUTLOOK.EXE" RunAsDate.exe 14\02\2005 "c:\temp\myprogram.exe" param1 param2 RunAsDate.exe /movetime 11\08\2004 16:21:42 "C:\Program Files\Microsoft Office\OFFICE11\OUTLOOK.EXE" RunAsDate.exe /movetime /returntime 15 10\12\2001 11:41:26 "c:\temp\myprogram.exe" RunAsDate.exe Hours:-10 "C:\Program Files\Microsoft Office\OFFICE11\OUTLOOK.EXE" RunAsDate Limitations * RunAsDate will not affect applications that take the current date/time from another source. For example: application that loads the current date from remote server. Translating RunAsDate To Another Language RunAsDate allows you to easily translate all dialog-boxes and other strings to other languages. In order to do that, follow the instructions below: 1. Run RunAsDate with /savelangfile parameter: RunAsDate.exe /savelangfile A file named RunAsDate_lng.ini will be created in the folder of RunAsDate utility. 2. Open the created language file in Notepad or in any other text editor. 3. Translate the dialog-boxes and string entries to the desired language. 4. After you finish the translation, Run RunAsDate, and all translated strings will be loaded from the language file. If you want to run RunAsDate without the translation, simply rename the language file, or move it to another folder. License This utility is released as freeware. You are allowed to freely distribute this utility via floppy disk, CD-ROM, Internet, or in any other way, as long as you don't charge anything for this. If you distribute this utility, you must include all files in the distribution package, without any modification ! Be aware that selling this utility as a part of a software package is not allowed ! Disclaimer The software is provided "AS IS" without any warranty, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The author will not be liable for any special, incidental, consequential or indirect damages due to loss of data or any other reason. Feedback If you have any problem, suggestion, comment, or you found a bug in my utility, you can send a message to nirsofer@yahoo.com. Don't send me any question or request about extending the trial period of a software, this kind of message is simply deleted without answering. Download RunAsDate Download RunAsDate for x64 --------------------------------------------------------- [INS::INS] --------------------------------------------------------- RunAsDate is also available in other languages. In order to change the language of RunAsDate, download the appropriate language zip file, extract the 'runasdate_lng.ini', and put it in the same folder that you Installed RunAsDate utility. Language Translated By Date Version 07/ Filipino Paolo Rodriguez 11/ 1.0.0.201311061300 2013 26/ Afrikaans Bezman 12/ 1.0 2011 mjd lHsyn Magid 02/ Arabic Hussein 10/ 2007 19/ Bosnian Max 06/ 1.10 2010 Brazilian 30/ Portuguese Paulo Guzman 03/ 1.16 2013 16/ Bulgarian Georgi Tsvetanov 07/ 1.35 2017 02/ Czech Milan Maly 07/ 1.37 2019 03/ Dutch Jan Verheijen 04/ 1.37 2019 Dutch - by Egbert van 03/ Dutch den Bosch 01/ 1.0 2010 06/ Farsi PDN 11/ 2009 22/ Finnish Olli 10/ 2007 10/ French Eric FICHOT 10/ 1.30 2014 https:// 23/ French www.leblogduhacker.fr 04/ 1.37 2019 Xose Anton Vicente 07/ Galician Rodriguez 04/ 2008 <> auf 25/ German WinTotal.de 03/ 1.37 2019 15/ Greek geogeo.gr 12/ 1.36 2017 Basiles Kosmides 31/ Greek (SkyHi) 12/ 2008 27/ Hindi VASEEM AKRAM 02/ 1.30 2021 22/ Hungarian La_Valse 11/ 1.36 2018 31/ Italian BubuXP 03/ 1.37 2020 11/ Italian theReAcE 01/ 1.31 2017 20/ Japanese coolz 03/ 1.30 2016 07/ Latvian Nizaury 02/ 2011 26/ Lithuanian Gintarmixas 03/ 2013 08/ Polish Netgrafik Design 11/ 2015 10/ Portuguese Neliton P. 05/ 2008 Portuguese 18/ Brasil Cristiano Prates 10/ 2008 05/ Romanian Jaff (Oprea Nicolae) 02/ 1.30 2016 08/ Romanian Jaff (Oprea Nicolae) 12/ 1.11 2011 19/ Russian Dmitry Yerokhin 11/ 1.36 2018 Simplified 12/ Chinese ZXH 10/ 1.31 2016 Simplified 20/ Chinese phantasy.leo 10/ 1.35 2017 Simplified 09/ Chinese syshut 01/ 1.36 2018 17/ Serbian Vladimirom Zrnicem 05/ 1.30 2015 26/ Slovak Frantisek Fico 03/ 1.37 2019 15/ Slovenian Erik Klavora 03/ 2008 26/ Spanish Mr. Brazzi 11/ 1.21 2013 22/ Spanish NewAge 03/ 1.30 2016 10/ Swedish Goran Helsingborg 07/ 1.31 2019 Traditional 17/ Chinese Danfong Hsieh 01/ 1.36 2018 24/ Thai E b o k 11/ 1.05 2008 24/ Turkish Berk Yenal 04/ 2019 22/ Valencian vjatv 06/ 1.10 2009 14/ Vietnamese Bui Nguyen Phuong Duy 01/ 2015