Terminalservice All

8
http://admin-pains.com TERMINAL SERVICES UNLIMITED VER: 1.0 Frane Borozan [email protected] UNLIMITED TERMINAL SERVICES CONNECTIONS IN WINDOWS TERMINAL SERVICES 2000 AND 2003

description

Configuração TS 2003

Transcript of Terminalservice All

  • http://admin-pains.com

    TERMINAL SERVICES UNLIMITED

    VER: 1.0

    Frane Borozan

    [email protected]

    UNLIMITED TERMINAL SERVICES CONNECTIONS IN WINDOWS TERMINAL SERVICES 2000 AND 2003

  • http://admin-pains.com Page 1

    CONTENTS

    1. INTRODUCTION .............................................................................................2

    2. UNLIMITED TERMINAL SERVICES CONNECTIONS IN WINDOWS 2000...................3

    3. UNLIMITED TERMINAL SERVICES CONNECTIONS IN WINDOWS 2003...................5

    4. GENERATING PERMAMENT LICENSES .............................................................7

  • http://admin-pains.com Page 2

    1. INTRODUCTION

    Welcome to Terminal Services Unlimited.

    This document aims to help you get Microsoft Windows 2000 and Windows 2003 terminal services unlimited connections at unlimited time. Please note that this is not crack for windows or anythig like that. Nevertheless, to completely prepare your server, I recommend that you begin by taking the step by step as it is covered in this document.

    I also recommend that you install, configure terminal services and terminal services licensing for running.

    I have tested this solution with clients Windows 2000 Pro, Windows XP, Windows 2000 Server, various Windows 2003 servers and PocketPC and also I have feedback that this is also working on thin clients.

  • http://admin-pains.com Page 3

    2. UNLIMITED TERMINAL SERVICES CONNECTIONS IN WINDOWS 2000

    Acording to Microsoft it is not ilegal to use terminal server with temporary licenses. There is a paragraph that says: " There is no provision in the EULA for accessing a terminal server without the appropriate licenses". Get back on my site if you are interested and read paragraph in EULA that is covering this question.

    Note that I have tested this mode to work only in licensing per device. In order to bypass this evaluation period to unlimited licence follow next steps:

    1. SERVER - Stop the terminal license server in services

    2. SERVER - Go to the %systemroot%\windows\system32\lserver\

    3. SERVER - Backup both files edb.chk and TLSLic.edb in case method fails (microsoft holds licence information database in these files)

    4. SERVER - Delete both files edb.chk and TLSLic.edb from the directory

    5. CLIENT - Go the client that has expired terminal evaluation period

    6. CLIENT - Run registry editor

    7. CLIENT - Go to the following key "HKEY_LOCAL_MACHINE\Software\Microsoft\MSLicensing\"

    8. CLIENT - Note there are two subkey named "Store" and "HardwareID"

    9. CLIENT - Delete both subkeys

    10. DO NOT connect yet to the terminal server with the client!

    11. SERVER - Change the date on the server to lets say year 2014 (this is used to change expiration day so you don't need to repeat following steps every 90 days)

    12. SERVER - Start the terminal licensing service

    13. CLIENT - Connect the client to the server

    14. CLIENT - Note that windows recreated new key in

    "HKEY_LOCAL_MACHINE\Software\Microsoft\MSLicensing\". This new key holds new expiration date on year what you choose to licence expire.

    15. SERVER - Go to the Terminal server licensing in Administrative Tools

    16. SERVER - Note that temporary licence now expires on year 2014. Issue date is also at year 2014 but information is not importat for clients to function. Server just saves expiration date on client.

    17. SERVER - Return date on server to today date

    18. You have Terminal Licence that expires at date that is long in future :)

  • http://admin-pains.com Page 4

    Note that this day hack works only when date is changed on server. It means that client will get "long" expiration date only if date on server is changed. I recommend that you change date on server and leave it for few days, or how long is needed for all clients to connect to server. When all clients connect in few days return date on server to today and all clients will have date that will expire in 10 or 15 years or whatever year you choose.

  • http://admin-pains.com Page 5

    3. UNLIMITED TERMINAL SERVICES CONNECTIONS IN WINDOWS 2003

    To maximize Windows 2003 evaluation, do not deploy a license server until the grace period is about to expire. For Windows Server 2003, you receive a maximum of 210 days for evaluation (a grace period of 120 days plus a temporary token of 90 days). For Microsoft Windows 2000, you receive maximum of 180 days for evaluation (a grace period of 90 days plus a temporary token of 90 days).

    Recreating Licence database in Windows 2003 is quite similar to the Windows Server 2000 but there is single step that is required to reset licence. If you try windows 2000 steps on windows 2003 note that server would not recreate database, it will serve you old expired database.

    Note that I have tested this mode to work only in licensing per device. In order to bypass this evaluation period to unlimited licence follow next steps:

    1. SERVER - Stop the terminal license server in services

    2. SERVER - Go to the %systemroot%\windows\system32\lserver\

    3. SERVER - Backup both files edb.chk and TLSLic.edb in case method fails (microsoft holds licence information database in these files)

    4. SERVER - Delete both files edb.chk and TLSLic.edb from the directory

    5. SERVER - Run registry editor

    6. SERVER - Go to the following key "HKEY_LOCAL_MACHINE\Software\Microsoft\MSLicensing\"

    7. SERVER - Note there is subkey named "Parameters"

    8. SERVER - Delete subkey (I have noticed that if I don't delete this key license server returns old database)

    9. CLIENT - Go the client that has expired terminal evaluation period

    10. CLIENT - Run registry editor

    11. CLIENT - Go to the following key "HKEY_LOCAL_MACHINE\Software\Microsoft\MSLicensing\"

    12. CLIENT - Note there are two subkeys named "Store" and "HardwareID"

    13. CLIENT - Delete both subkeys

    14. DO NOT connect yet to the terminal server with the client!

    15. SERVER - Change the date on the server to lets say year 2014 (this is used to change expiration day so you don't need to repeat following steps every 90 days)

    16. SERVER - Start the terminal licensing service

    17. CLIENT - Connect the client to the server

  • http://admin-pains.com Page 6

    18. CLIENT - Note that windows recreated new key in

    "HKEY_LOCAL_MACHINE\Software\Microsoft\MSLicensing\". This new key holds new expiration date on year what you choose to licence expire.

    19. SERVER - Go to the Terminal server licensing in Administrative Tools

    20. SERVER - Note that temporary licence now expires on year 2014. Issue date is also at year 2014 but information is not importat for clients to function. Server just saves expiration date on client.

    21. SERVER - Return date on server to today date

    22. You have Terminal Licence that expires at date that is long in future :)

    Note that this day hack works only when date is changed on server. It means that client will get "long" expiration date only if date on server is changed. I recommend that you change date on server and leave it for few days, or how long is needed for all clients to connect to server. When all clients connect in few days return date on server to today and all clients will have date that will expire in 10 or 15 years or whatever year you choose.

    For any extra info please contact me at [email protected]

  • http://admin-pains.com Page 7

    4. GENERATING PERMAMENT LICENSES

    Please note to use these licenses only for educational and testing use.

    For generating permament licenses please follow these steps:

    1. Install Windows 2003 Server without TS

    2. Install SP1 and all Windows Updates

    3. Start > Control Panel > Add or Remove Programs > Add or Remove Windows Components'. Add "Terminal Server" & Terminal Server Licensing" Choose licensing per device for terminal services licensing under licensing properties

    4. Start Terminal Server Licensing (Start > Control Panel > Administrative Tools > Services >Terminal Server Licensing) if it is not started

    5. Go to the Terminal Server Licensing, Right-click on Terminal Server > Properties > Installation Method: Select Installation Method "Web Browser"

    6. Go to next tab "Required Information". Fill all 4 fields with some none important information. Write somewhere TS ID on the bottom of that window

    7. Right-click on Terminal Server and select Activate Server. Terminal Server License Server Activation Wizard will start. Read > press next

    8. Select activation method "Web Browser" press next

    9. Go to https://activate.microsoft.com/ to get license server ID

    10. Select "Activate a license server" press next

    11. Fill out required fields with some information that makes sense. Product ID use from step 6, press next on the bottom

    12. If you did every thing right then you gonna get license server ID key (enter this information in your terminal server activation window), but do not close window we will need this for client access licenses (CALs). If everything is OK you will now have Terminal Server License Server Activated.

    13. Next in the "Do you wish to install license tokens at this time?" select "Yes"

    14. Fill out the required fields. License Server ID get from Terminal Server CAL Installation Wizard. Important is to set License Program to "Other agreement".

    15. Fill quantity (I put around 100) and Agreement Number 6565792

    16. Press next and you are gonna get your license key pack ID what you need to insert to Terminal Server CAL Installation Wizard > press next

    That should be it!

    IF you have any problems with this HOWTO or any other questions please free to contact me at [email protected] and I will gladly try to help you.