> For the complete documentation index, see [llms.txt](https://docs.plenit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.plenit.com/docs-en/support/tutorials/windows/como-actualizar-windows-server-2008-a-windows-server-2019.md).

# How to upgrade Windows Server 2008 to Windows Server 2019

In this tutorial we show you how to upgrade a server with **Windows Server 2008 or Windows Server 2008 R2 to Windows Server 2019** in an orderly and safe way. We will see which upgrade paths are possible, which preliminary steps are advisable before getting started, and how to complete the process by going through the necessary intermediate versions.

### Context: end of support for Windows Server 2008/2008 R2

The operating system **Windows Server 2008 or Windows Server 2008 R2** [stopped being supported in January 2020](https://learn.microsoft.com/en-us/troubleshoot/windows-server/windows-server-eos-faq/end-of-support-windows-server-2008-2008r2) and, therefore, it is more than necessary to **retire** all the [servers](https://jotelulu.com/servicios/servidores) that we have deployed with this version of the Redmond giant's server operating system.

The fact that these systems are no longer supported means that **there are no longer ongoing updates** for services, roles, etc., for this operating system, which leads to a major security threat, since security updates will be minimal, if not nonexistent, and instead **threats will grow.**

### Why upgrade to a newer version

For this reason, the **version upgrade** to an operating system with an “end of life” or “end of support” date as far away as possible must be done, whether we like it or not.

In this case, we are considering jumping to the penultimate version of Windows Server that has been released on the market, Windows Server 2019, since many technicians **usually stay one version behind to ensure a certain level of stability**, since they do not run into problems that have not yet been documented, that have not been detected, etc.

Windows Server 2019 is very mature, has **initial support until 2025** and an **extended support period until 2029,** with the possibility of being extended later, which would guarantee us 7 years of service under conditions of continuous updates, security patches, etc.

### Possible upgrade paths

The problem we have is that a direct jump from Windows Server 2008 to Windows Server 2019 cannot be made; instead, we will have to make at least one intermediate jump.

If, for example, we start from Windows Server 2008, we can jump to Windows Server 2012, from there jump to Windows Server 2016, and from this system jump to Windows Server 2019, which would be quite a journey.

In the case of jumping from Windows Server 2008 R2, we can jump to Windows Server 2012 R2 and from there jump to Windows Server 2019, which is the shorter path.

To illustrate this, and to know which route you should take to carry out the upgrade of your systems, we leave the following graphic that represents it in a very simple way and is created based on Microsoft's documentation.

<figure><img src="https://3894148717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxksPMyYRDCe4qKkhbpcY%2Fuploads%2FQ0XC22Xhi0YX464yX8fd%2Fwindows-server-upgrade-path.png?alt=media&amp;token=b6cfe913-7421-4bb5-9b6b-463ced232deb" alt="Gráfico de soporte de Windows Server de 2008 a 2019, con el soporte estándar, el soporte extendido y los saltos de actualización soportados entre versiones"><figcaption><p>Version jumps from Windows Server 2008 to Windows Server 2019</p></figcaption></figure>

### Previous recommendation: migration is better than upgrading

Taking advantage of the fact that we are going to move on to another section, I am going to allow myself the freedom to recommend that, whenever possible, an upgrade should not be performed, but rather a migration to a new server. In this way we make sure that there will be no service compatibility issues (or there should not be), that there will be no service outage problems (since we will be able to perform all the necessary tests), and finally, we will put the new server into production just as we shut down the old one. Lastly, we will also not run into the upgrade process leaving residual files and other junk within the file system.

### How do you upgrade your Windows Server 2008 servers to Windows Server 2019?

#### Prerequisites or preconfiguration

To successfully complete this tutorial and be able to **upgrade your Windows Server 2008 servers to Windows Server 2019**, you will need:

* **A server** with Windows Server 2008 or Windows Server 2008 R2.
* **License for the** operating systems used.
* **Images of the** installation CD/DVDs to be installed.
* **Backups** of the server to be upgraded in case we need to roll back the process.

#### Step 1. Preparing the upgrade

The **installation process** is actually **quite simple**, but like anything we want to do in the world of computing, it requires some points that w**e need to plan and prepare** so we don't have any surprises during the process.

The first thing we need to check is whether we are going to have any **compatibility issues with the services and applications** we use. For this, we can review the manufacturer's documentation, although it is always advisable to do a **pilot test** with a development or pre-production server to see that everything goes according to the documentation.

Of course, we must **check that the operating system specifications** to which we are going to upgrade support all the hardware we have, and that we have the CPU, RAM, or disk space needed to run the system without problems.

The next point is **to have updated backups**s. In fact, I would have a couple of them, one from a few days before and another from just before performing the upgrade, because we all know the saying, “better safe than sorry.”

Lastly, we should **extract information about the system**, including the current system version, network settings, etc. All of this will help us reconfigure the system in case any parameter becomes misconfigured during the upgrade process.

In addition, **the current system query will tell us which jumps we need to make**, although by now we should have that more or less clear.

To check the operating system installed, we can do it in several ways, but I personally prefer to do it from the command line. Therefore, we should **go to a CMD console and run “systeminfo”** (1).

As can be seen in the screenshot, **the system returns the “operating system name”** (2), which will indicate the full version, which in this example is “Windows Server 2008 R2 Standard”.

<figure><img src="https://3894148717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxksPMyYRDCe4qKkhbpcY%2Fuploads%2Fgit-blob-d75d278923f6f39a959d6e3a5963e2415460e01f%2Fimage.png?alt=media" alt=""><figcaption><p>Step 1. We check the operating system version we have on the machine</p></figcaption></figure>

Once we have this information, we move on to collect information about the system configuration and the network interface configuration.

We will do this operation from CMD in this case, but in the next jump we will see how to do it from PowerShell to see both options.

To carry out this option **the following commands must be run (3)**:

```cmd
mkdir c:\info
systeminfo > c:\info\systeminfo.txt
ipconfig /all > c:\info\ipconfig.txt
```

Once this is done, we must **go to the folder** (4) to check that the files have been created and **check the contents of the files** (5) to see whether the information has been collected correctly.

<figure><img src="https://3894148717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxksPMyYRDCe4qKkhbpcY%2Fuploads%2Fgit-blob-9c69f2e5388a91359859847f0e77773becdc7bc6%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3894148717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxksPMyYRDCe4qKkhbpcY%2Fuploads%2Fgit-blob-686538cbbc8af664bee8e28547d593acc916d59a%2Fimage.png?alt=media" alt=""><figcaption><p>Step 1. We extract information from the operating system and the network</p></figcaption></figure>

Personally, I recommend taking this information to another server to have an external copy.

#### Step 2. Upgrading from Windows Server 2008 R2 to Windows Server 2012 R2

Now we must **start the upgrade process** from Windows Server 2008 R2 to Windows Server 2012 R2.

The first thing to do is **mount the system image** or insert the CD/DVD into the server's optical drive, and then **launch the installation manually** (6) and **click on “Install now”** (7) when the setup program starts.

<figure><img src="https://3894148717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxksPMyYRDCe4qKkhbpcY%2Fuploads%2Fgit-blob-9c69f2e5388a91359859847f0e77773becdc7bc6%2Fimage.png?alt=media" alt=""><figcaption><p>Step 2. We launch the installation of Windows Server 2012 R2</p></figcaption></figure>

At this point **the setup program starts**, which will take some time to copy temporary files and load an image for installation. This process may vary in duration depending on the server's characteristics (RAM, CPU, drive used, disk, etc.).

<figure><img src="https://3894148717-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxksPMyYRDCe4qKkhbpcY%2Fuploads%2Fgit-blob-4a1a3d30e510ce19c0c18633d93bb41086b9db7d%2Fimage.png?alt=media" alt=""><figcaption><p>Step 2. We wait while the temporary files are loaded</p></figcaption></figure>

The first thing the setup program will show is a window asking whether we want to use the updates available online for this system.

This window also asks whether we want to **help the installation process** of Windows, in which case we should **select a checkbox**. Personally I like to tick these boxes because Microsoft collects telemetry data from systems, installations, failures, etc., which then leads to improvements in the systems.

I recommend **selecting the option “Connect to get updates now (recommended)”**.

When we select this option, the software installation will continue.

{/\* 📸 PENDING IMAGE · Image caption: Step 2. We select connect to obtain system updates \*/}

After this, if connecting to updates has been selected, the system will connect to Microsoft's network and spend some time downloading packages. If this option has not been selected, it will move directly to the next window in the installation process.

{% hint style="info" %}
We may find that, even after selecting the update option, the system has trouble connecting and ends up skipping the step. If that happens, nothing is wrong, since we can update later.
{% endhint %}

In the next window, you are asked to **select** the operating system you want to install, which in our case will be **“Windows Server 2012 R2 Standard (GUI installer)”**.

This is the case here because we started from a Windows Server 2008 R2 Standard, but **if starting from a Datacenter edition, Datacenter Edition should be selected.**

Another important point is to keep in mind that from **Windows Server 2012 onward, it is possible to install Windows Server operating system without a graphical environment**, which is called a “**Server Core**”, designed to work from the command line. That is why care must be taken not to choose this by mistake, since at first it will be difficult to operate with it, although there is a possible solution for cases where we have accidentally installed one of these distributions.

Once this is done, you must **click “Next**”.

{/\* 📸 PENDING IMAGE · Image caption: Step 2. We select the Windows 2012 R2 version we want to upgrade to \*/}

The next window shows **the license terms**, which are actually an ultra-abridged version of them, so this time we have no excuse not to read it, and we can finally say that we have read an EULA, debunking that myth that computer people do not read the licenses of what we install.

To continue with the installation, we must **accept the license terms by checking the box**.

{/\* 📸 PENDING IMAGE · Image caption: Step 2. We review and accept the Windows Server 2012 R2 license terms \*/}

The next point is where you have to decide what **type of installation** you want, and there are only **two options:**

* **Upgrade:** Install Windows and keep files, settings, and applications.
* **Custom:** Install Windows only (advanced).

In this case, since what we want to do is an upgrade from Windows Server 2008 to Windows Server 2012 R2, we must s**elect the option “Upgrade: Install Windows and keep files, settings, and applications”** and with this selection the installation will continue automatically.

{/\* 📸 PENDING IMAGE · Image caption: Step 2. We select upgrade of the system to WS2012 R2 as the installation type \*/}

At this point, Microsoft has seen fit to include a small “**disclaimer**” about the “**Compatibility Report**”, which as it tells us has **been saved on the desktop**.

The system also recommends visiting the information page about [“installation, upgrade or migration to Windows Server”](https://learn.microsoft.com/en-us/windows-server/get-started/install-upgrade-migrate), where we can find additional information about the migration. This is not necessary in principle, because before starting, in Step 0, we are supposed to have done prior research and planning.

In this case, it will be enough to **click “Next”** to continue with the installation.

{/\* 📸 PENDING IMAGE · Image caption: Step 2. We review the notice about application compatibility in WS2012 R2 \*/}

From here on, the **Windows upgrade has already started** and, according to Microsoft, will be completed in five phases. The phases are:

* Copy Windows files.
* Gather files, settings, and applications.
* Prepare files for installation.
* Install features and updates.
* Finish migrating files, settings, and applications.

During these steps, the system will restart several times, and **nothing should be done**, leaving it to operate uninterrupted, and without loading the CD/DVD boot at any time, because otherwise, the installation will start again.

{/\* 📸 PENDING IMAGE · Image caption: Step 2. We wait while the WS2008 R2 to WS2012 R2 packages are updated \*/}

After a series of restarts, the **Windows Server 2012 R2 startup screen**will finally be visible. At this point we must **access the system** and prepare the upgrade to WS2019.

The first thing to do is **check that there are no problems**, that everything is properly configured, that the services are running correctly, etc. This will give us some assurance that everything goes well in the next step.

{/\* 📸 PENDING IMAGE · Image caption: Step 2. At this moment our new Windows Server 2012 R2 starts up \*/}

After checking that everything is okay, we must move on to the next point, the Windows Server 2012 R2 to Windows Server 2019 upgrade.

#### Step 3. Upgrading from Windows Server 2012 R2 to Windows Server 2019

{% hint style="info" %}
At this point, the mapped image must be changed to that of Windows Server 2019.
{% endhint %}

As was done before starting the upgrade from Windows Server 2008 R2 to Windows Server 2012 R2, the first thing to do is s**ave the system configurations**. In principle, this is a step we can skip, since we know where we are starting from, but it also serves to see the state we are currently in.

In this case we are going to do part of it with a couple of PowerShell commands to gradually get used to using it. **The commands to use will be**:

```powershell
Set-Location c:\info
Get-ChildItem
systeminfo > c:\info\systeminfo.txt
ipconfig /all > c:\info\ipconfig.txt
Get-Content .\ipconfig.txt
```

And this is how we present the PowerShell commands:

* **Set-Location:** equivalent to `cd` in CMD. Changes the working directory.
* **Get-ChildItem:** equivalent to `dir` in CMD. Lists the contents of the directory.
* **Get-Content:** equivalent to `cat` in CMD. Displays the contents of a file.

{/\* 📸 PENDING IMAGE · Image caption: Step 3. We extract configuration information from WS12 R2 before the upgrade \*/}

At this point the upgrade to Windows Server 2019 must be launched. To do this, **go to Windows Explorer, navigate to the drive** that has the image mapped and **double-click on it**.

{/\* 📸 PENDING IMAGE · Image caption: Step 3. We launch the Windows Server 2019 installer.jpg \*/}

This operation will cause **the Windows Server 2019 setup program to start**. Since the way the operating system is installed changed significantly from Windows Server 2016 onward, some differences will be visible. The first, for me, is **the improvement in deployment speed**. This is due to the way the binaries are packaged, which are copied compressed, decompressed on the destination machine and then configured, unlike in older versions where large numbers of small files were copied, resulting in slower copying.

At this point, there is nothing else to do but **wait for the packages to finish copying** and hand back control to us.

{/\* 📸 PENDING IMAGE · Image caption: Step 3. We wait while the setup program starts \*/}

Now we are once again offered **to get updates, drivers, and optional features** to optimize the installation process. As I mentioned previously, I prefer to **check the option “Download updates, drivers and optional features”**, which we can also see is marked as the recommended option. If the reader decides to select the second option “Not right now,” there will not be a major impact on the installation process, although it will require a bit more time in the post-installation process.

On this screen, as with the previous installer, you are offered to **help in the improvement program** of the installer; in our case, we are quite happy to contribute to this type of improvement since it translates into a better user experience in future versions. If this altruistic action is chosen, you must **check the box “I want to help improve Windows installation”**.

Once this is done, you can **click “Next”** to continue with the installation.

{/\* 📸 PENDING IMAGE · Image caption: Step 3. We select automatic download of updates \*/}

The next step to take is **select the image that will be deployed** on the server, which in this case should be consistent with the previous choice, so in this example you should **select the option “Windows Server 2019 Standard (Desktop Experience)”** and click “Next”.

{% hint style="warning" %}
**Important:** Server Core does not include a graphical environment. It is managed by command line and PowerShell. The installer selects it by default.
{% endhint %}

{/\* 📸 PENDING IMAGE · Image caption: Step 3. We select the Windows Server 2019 version we want to install \*/}

At this point we will once again encounter the **license terms and applicable notices**, and there will be nothing left to do but **click “Accept”** unless you want to interrupt the installation process.

{/\* 📸 PENDING IMAGE · Image caption: Step 3. We check the WS2019 license agreement terms and accept them \*/}

The next point is a **critical point for the process** that is being carried out, because it is the point at which you **must select “Keep personal files and applications”**. If you make a mistake and select the second option, everything will be deleted because it will format the system irrecoverably, forcing you to restore the backup made previously and start the whole process over.

Once the first option has been selected, you must **click “Next”.**

{/\* 📸 PENDING IMAGE · Image caption: Step 3. We select the option to preserve the files already on the computer \*/}

After this, the **update acquisition process**will begin, a time during which you must patiently wait for it to finish and return control to us.

{/\* 📸 PENDING IMAGE · Image caption: Step 3. We wait while the program downloads updates for the installation of WS2019 \*/}

After downloading the updated packages, the setup program is ready to begin deployment, but before doing so it gives us the opportunity to **review everything to see whether we agree** with the settings we previously chose.

The review is simple, since in reality there are two points to review:

* **Windows edition:** choose Standard or Datacenter. Both options include Desktop Experience and Server Core.
* **Keep personal files and applications:** keep existing files and applications during the upgrade.

Once we agree, we must **click “Install”**, otherwise click “Back” to change the necessary parameters.

{/\* 📸 PENDING IMAGE · Image caption: Step 3. We review the selected options before proceeding with the upgrade to WS2019 \*/}

At this point **the system starts installing packages** and will display certain windows where you can see how much has been installed to give us an idea of how much is left. These windows are of various kinds, but they are not included in the tutorial so as not to make it longer than necessary.

In addition, **will restart several times**, so if we want to keep up with all the changes, restarts, etc., it may be a good idea to connect to the server by console, although as I always say, it is the best time for a cup of hot and comforting coffee.

{/\* 📸 PENDING IMAGE · Image caption: Step 3. We wait while the WS2019 setup program installs the packages on the server \*/}

After a while, the server login screen will appear, where, as is logical, we will need to enter the administrator credentials to log in with all the necessary privileges.

{/\* 📸 PENDING IMAGE · Image caption: Step 3. And finally we can enjoy our brand-new Windows Server 2019 \*/}

Now it is time to review the system status, see that there are no problems with any application, role, or service we may have installed.

Likewise, it would be more than advisable to look for updates to make sure the system is fully up to date, and of course review firewall rules and other security measures.

### Conclusions

The **Windows Server 2008 or Windows Server 2008 R2 operating system** [stopped being supported in January 2020](https://learn.microsoft.com/en-us/troubleshoot/windows-server/windows-server-eos-faq/end-of-support-windows-server-2008-2008r2), and therefore all servers that have this version must be retired.

In this article we have reviewed the way in which it is possible to **perform the upgrade** both from Windows Server 2008 to Windows Server 2012 or from Windows Server 2008 R2 to Windows Server 2012 R2 and from there to Windows Server 2019, discussing both the way it would be done and small recommendations so that there are no problems during the process.

As has been seen, that process is relatively simple if an order is followed and the indicated guidelines are followed.

Thank you for joining us!

October 18, 2022


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.plenit.com/docs-en/support/tutorials/windows/como-actualizar-windows-server-2008-a-windows-server-2019.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
