February 12, 2008
5:15 pm

Just like Windows Vista, Windows Server 2008 features the Windows Software Licensing Management Tool. Installed without a product key, Windows Server 2008 offers a default activation grace period of 60 days. In an elevated command prompt window enter “slmgr.vbs -dli” in order to display the number of days the server platform still has until the end of the 60-day evaluation period. In order to prolong the activation period, all you have to do is enter “slmgr.vbs –rearm” and hit Enter. After you restart Windows Server 2008, you will find that the re-arm command has prolonged the activation grace period by another 60 days. In this manner, you will be able to use Windows Server 2008 for a total of 240 days.

Microsoft also revealed that there is a way to automate the extension of Windows Server 2008's evaluation period:

“You may want to set up a process that automatically resets the evaluation period every 60 days. One way to automate this process is by using the Task Scheduler. You can configure the Task Scheduler to run the Slmgr.vbs script and to restart the server at a particular time. To do this, follow these steps:
1. Click Start, point to Administrative Tools, and then click Task Scheduler.
2. Copy the following sample task to the server, and then save it as an .xml file. For example, you can save the file as Extend.xml.

<?xml version="1.0" encoding="UTF-16"?>
<task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<registrationinfo>
<date>2007-09-17T14:26:04.433</date>
<author>Microsoft Corporation</author>
</registrationinfo>
<triggers>
<timetrigger id="18c4a453-d7aa-4647-916b-af0c3ea16a6b">
<repetition>
<interval>P59D</interval>
<stopatdurationend>false</stopatdurationend>
</repetition>
<startboundary>2007-10-05T02:23:24</startboundary>
<endboundary>2008-09-17T14:23:24.777</endboundary>
<enabled>true</enabled>
</timetrigger>
</triggers>
<principals>
<principal id="Author">
<userid>domainalias</userid>
<logontype>Password</logontype>
<runlevel>HighestAvailable</runlevel>
</principal>
</principals>
<settings>
<idlesettings>
<duration>PT10M</duration>
<waittimeout>PT1H</waittimeout>
<stoponidleend>true</stoponidleend>
<restartonidle>false</restartonidle>
</idlesettings>
<multipleinstancespolicy>IgnoreNew</multipleinstancespolicy>
<disallowstartifonbatteries>true</disallowstartifonbatteries>
<stopifgoingonbatteries>true</stopifgoingonbatteries>
<allowhardterminate>true</allowhardterminate>
<startwhenavailable>false</startwhenavailable>
<runonlyifnetworkavailable>false</runonlyifnetworkavailable>
<allowstartondemand>true</allowstartondemand>
<enabled>true</enabled>
<hidden>false</hidden>
<runonlyifidle>false</runonlyifidle>
<waketorun>true</waketorun>
<executiontimelimit>P3D</executiontimelimit>
<deleteexpiredtaskafter>PT0S</deleteexpiredtaskafter>
<priority>7</priority>
<restartonfailure>
<interval>PT1M</interval>
<count>3</count>
</restartonfailure>
</settings>
<actions context="Author">
<exec>
<command>C:WindowsSystem32slmgr.vbs</command>
<arguments>-rearm</arguments>
</exec>
<exec>
<command>C:WindowsSystem32shutdown.exe</command>
<arguments>/r</arguments>
</exec>
</actions>
</task>

3. In the sample task, change the value of the following "UserID" tag to contain your domain and your alias:
domainalias
4. In the Task Scheduler, click Import Task on the Action menu.
5. Click the sample task .xml file. For example, click Extend.xml.
6. Click Import.
7. Click the Triggers tab.
8. Click the One Time trigger, and then click Edit.
9. Change the start date of the task to a date just before the end of your current evaluation period.
10. Click OK, and then exit the Task Scheduler.

Source:→ Softpedia

Microsoft, Windows Vista, Service Pack, SP1, Vista SP1, Windows Server 2008, WS2008, Hack, Code

Pages: 1 2

Loading

Contextual Related Posts:

No followup yet

Leave a Response

Comment Preview
« Microsoft confirms wait for first Internet Explorer 8 beta is overWindows Server 2008: Show last logon info at logon screen »
Feed Icon

Subscribe via RSS or email: