Expiration Date v2.4 for BartPE
by John Tait (john925)
December 5, 2004

What does Expiration Date do?

Expiration Date lets you set a Start Date and End Date for a BartPE CD.  If someone tries to boot a system outside of the Start Date - End Date range the boot will be prevented in one of several ways described below.  Obviously the system date can be changed in the BIOS to make the CD boot so this is not fool-proof protection.  It works best as protection in "Hang the system." mode or in combination with a plugin like Viceroy's Secure Screen.

Install Expiration Date.

Setup Expiration Date using the GUI interface.

Note:  You MUST download Paraglider's Shutdown Plugin and copy "shutdown.exe" from it to the Expiration Date plugin's "files" folder before you can save the "Shutdown w/ notification." or "Shutdown immediately." mode.  Trying to save either mode without doing so results in an error message and the radio button selection is reset to "Hang the system."

Setup Expiration Date using the Command Line interface.

The start date and end date can be set from a command prompt or using a batch file.  The syntax is:

SetExpirationDate /x

The start date is set to the system's current date and the end date is set "x" number of days later.  For example, if today is December 4, 2004 and you run "SetExpirationDate /4", then the start date will be set to December 4, 2004 and the end date will be set to December 8, 2004.

Notes:

Enable Expiration Date

Expiration Date is not enabled when you first download it so be sure to enable it in the plugin list when you run PEBuilder.

Using Expiration Date in combination with Viceroy's Secure Screen plugin.

Secure Screen, by Viceroy, is a well thought out password protection plugin for Bart PE.  It includes the following features.

The last item makes it possible to integrate Expiration Date with Secure Screen using the following steps.

Using Expiration Date in combination with Sherpya's Xpe Explorer plugin

;0x1,"Microsoft\Windows\CurrentVersion\RunOnceEx\409","100","||xpeinit.exe -f xpr.exe"

It becomes:

0x1,"Microsoft\Windows\CurrentVersion\RunOnceEx\409","100","||xpeinit.exe -f xpr.exe"

Requirements

Thanks