How to Seamlessly Extend the Windows Server Trial to 240 Days

how-to-seamlessly-extend-the-windows-server-trial-to-240-days photo 1

The Microsoft evaluation releases of their products are incredibly valuable and useful tools as they allow you to have an unlimited number of test, demo and development environments to work with at no cost. The only catch is evaluation releases are time limited, so the more time you can squeeze out of them, the more useful they can be.

Here we are going to show you how to extend the usage time of the Windows Server 2008 R2 evaluation release to its maximum.

how-to-seamlessly-extend-the-windows-server-trial-to-240-days photo 2

How it Works

Once activated the Windows Server 2008 R2 evaluation (or trial) lasts for 180 days, after which you must either enter a valid license key or the server will shut itself down after one hour of use.

With most every Microsoft product which requires activation, there is a grace period of several days in which the product can be used (unrestricted) before activation is required. In the case of Windows Server 2008 R2 evaluation, this grace period is 10 days which can be reset (or re-armed) 5 times before activation is required. When fully utilized, gives an extra 60 days of usage time.

To put your mind at ease, this practice is completely legal and actually promoted by Microsoft. We are simply approaching this with an automated “set it and forget” it process.

Rearming the Grace Period

Our first task, “Reset Activation Timer” takes advantage of all 5 of each of the 10 day grace periods. Each instance of this task is a one time, date specific call. The first call should be set to 10 days from the first system boot with each subsequent call set 10 days after the previous one.

Note: We have included tools to calculate this information for you which we discuss later in the article.

how-to-seamlessly-extend-the-windows-server-trial-to-240-days photo 3

The actual command is a call to the “slmgr.vbs” script with the -rearm parameter followed by a system reboot.

how-to-seamlessly-extend-the-windows-server-trial-to-240-days photo 4

The result is the task will reset the number of days left for activation…

Note: The screenshot below shows 8, but in practice the countdown would reach 0.

how-to-seamlessly-extend-the-windows-server-trial-to-240-days photo 5

…back to 10.

how-to-seamlessly-extend-the-windows-server-trial-to-240-days photo 6

Activating the Server

Once we have used up all the reset/rearm commands, we have to actually activate the server. This is done in the “Activate Server” task.

This task should be set 10 days from the last call to the “Reset Activation Timer” task.

how-to-seamlessly-extend-the-windows-server-trial-to-240-days photo 7

The actual command again calls the “slmgr.vbs” script but with the -ato parameter (which performs the activation) followed by a reboot.

how-to-seamlessly-extend-the-windows-server-trial-to-240-days photo 8

The end result is the 180 day time limited server activation.

how-to-seamlessly-extend-the-windows-server-trial-to-240-days photo 9

Importing the Scheduled Tasks

While you can create the appropriate scheduled tasks manually, for your convenience we have included the tasks in importable XML format (see the links section at the bottom).

To import these, simply open Task Scheduler, right click on the Task Scheduler Library item and select Import Task.

how-to-seamlessly-extend-the-windows-server-trial-to-240-days photo 10

Browse to the extracted Tasks folder and select one.

Once selected for import, you will need to change the account the task runs as to be consistent with your server. In the Create Task dialog (which opens after picking a task to import), click the Change User or Group button.

how-to-seamlessly-extend-the-windows-server-trial-to-240-days photo 11

Enter “administrator” and click Check Names followed by OK.

how-to-seamlessly-extend-the-windows-server-trial-to-240-days photo 12

You should see the Administrator account respective to your machine as the effective account.

how-to-seamlessly-extend-the-windows-server-trial-to-240-days photo 13

When you apply the settings of the task, you will be prompted for the Administrator password.

how-to-seamlessly-extend-the-windows-server-trial-to-240-days photo 14

Repeat these steps for each of the XML task files.

Configuring the Scheduled Tasks

Setting the Dates

The most notable change you will need to make is to update the respective dates of the scheduled tasks. To make this easy, we have included a tool as part of our download package which will calculate the exact dates for each task. Simply run ActivationDates_RunMe.bat from the extracted zip file and you will see output like the sample below.

Update the dates of the respective scheduled task accordingly to maximize the usage time.

how-to-seamlessly-extend-the-windows-server-trial-to-240-days photo 15

Expiration Warning Emails

After 240 days, the server activation will expire. While you can view the time remaining by logging into the server, after 8 months it can be easy to forget to do this. So to automate the process of reminding you of the impending expiration, we have included a scheduled task which will automatically warn you via a daily email as the expiration approaches.

how-to-seamlessly-extend-the-windows-server-trial-to-240-days photo 16

In order for this to work, however, you must have Blat (a command line email tool) configured on your system.

The configuration is simple, just download Blat and extract it to your C:\Windows directory (or another location set in your PATH variable) and from the command line, set the send properties:

BLAT -install

For example, to configure Blat to send email through the server “smtp.myemail.com” using the email “notify@myemail.com“, the command would look like this:

BLAT -install smtp.myemail.com notify@myemail.com

Once Blat is configured, under the Actions tab the task, edit the action.

how-to-seamlessly-extend-the-windows-server-trial-to-240-days photo 17

Under the Add arguments line, scroll to the end and update the value following the -to parameter to the email address the warnings should be sent to. Additionally, if you want to edit the message body and/or subject of the resulting email, you can do that here as well.

how-to-seamlessly-extend-the-windows-server-trial-to-240-days photo 18

Once you apply your settings, you can test the email task by viewing the main Scheduled Task Library, right-clicking on the email warning task and selecting Run.

how-to-seamlessly-extend-the-windows-server-trial-to-240-days photo 19

If everything is working, you should receive an email at the address you specified earlier.

how-to-seamlessly-extend-the-windows-server-trial-to-240-days photo 20

Again, by default, this action will run daily starting 10 days before the server expires.

Links

Download Server Activation Tools from How-To Geek (includes Scheduled Task XML files and date calculation tools)

Download Windows Server 2008 R2 Evaluation from Microsoft

Download Blat Command Line Email Tool

More stories

How to Shut Down a Windows PC Without Installing Updates

You’re working on your laptop and you realize that it’s time to go. So, you shut down your laptop, but Windows insists on updating. Ten minutes later, you’re still waiting for Windows to update and you’re going to be late.

Beginner Geek: Do I Need a Graphics Card in My PC?

There’s always a lot of chatter about computer graphics cards, thanks to bigger and better models every few months. It’s not always clear who actually needs one, though. Let’s take a look at what they are, and whether or not they’re a good fit for your PC.

Why Your Photos Don’t Always Appear Correctly Rotated

Ever wonder why some photos look correct in some programs, but appear sideways or upside down in others? That’s because there are two different ways a photo can be rotated, and not every program is on the same page.

How to Benchmark Your Android Device: 5 Free Apps

Why guess at the performance of your device when you can run some tests and get detailed statistics? These apps test your device’s CPU, GPU, and other hardware components – in addition to your browser.