Update windows server 2016 to 2019

В Windows Server 2016 существует возможность апгрейта (обновления) до Windows Server 2019, все настройки и файлы при этом сохраняются.
  • 06.09.2019

В Windows Server 2016 существует возможность апгрейта (обновления) до Windows Server 2019, все настройки и файлы при этом сохраняются. Установка Windows Server 2019 возможна так же к примеру из под Windows 10, но в этом случае сохранить личные файлы при данном способе обновления будет невозможно.

1) Прежде чем приступить к обновлению убедитесь в следующих важных аспектах:

1. Не обслуживает ли сторонняя компания данный сервер? У них могут быть свои ньюансы, уточните пожалуйста, если Вы не главный администратор данного сервера.
2. Не защищены ли диски данного сервера шифрованием BitLocker? Иначе при обновлении необходимо будет их расшифрование.
3. Не является ли сервер одной частью отказоустойчивого кластера?
4. Есть ли свободное место на жестком диске для обновления (Минимум 8гб HDD).
5. Обязательно сделайте резервное копирование данного сервера.
6. Убедитесь, что сервер полностью исправлен. Настоятельно рекомендуется, что бы на данном сервере как железо, так и с софтверной частью все корректно работало.

2) Скачайте и запустите установочный файл Windows Server 2019. Скачать можете на следующей странице.

3) Рекомендуется загрузить обновления сразу, так же загрузятся автоматически драйверы и дополнительные функции.

4) Программа установки проверит конфигурацию Вашего компьютера (сервера).

5) На следующем этапе в зависимости от Вашей исходной операционной системы у Вас может запросить лицензионный ключ активации для Windows Server 2019, что бы продолжить дальше.

6) На данном этапе Вам предложат выбрать нужную Вам редакцию Windows Server 2019.

7) Принимаете лицензионное соглашение.

8) Выбираете первый вариант для сохранения личных файлов и приложений при обновлении.

9) Устанавливаем обновление. Сервер несколько раз перезагрузится до завершения обновления.

После установки и завершения обновления, зайдите в свойства системы и убедитесь, что обновление произведено до Windows Server 2019.

Задача: Проработать обновление Windows Server 2016 до Windows Server 2019

Как по мне использовать обновление серверной операционной системы Windows с одного релиза на другой с установленными сервисами – это обрекать себя на получение дополнительных проблем и порой не понимания, а почему сервисы перестали работать. Уж лучше развернуть их заново с нуля по своим наработкам, да долго и время, но так Вы будете уверены, что работает как нужно. Я хочу в тестовых условиях под Debian 10 + Proxmox 6 проработать процедуру обновления виртуальной машины Windows Server 2016 Standard установленной из образа: SW_DVD9_Win_Server_STD_CORE_2016_64Bit_English_-4_DC_STD_MLF_X21-70526.ISO. Возможно и буду использовать данную заметку, а возможно и нет, все решит случай.

Требования:

  • RAM: не менее 4Gb
  • HDD: на логическом диске C: должно быть свободно не менее 40Gb
  • Eth: потребуется выход в интернет или доступ к WSUS сервису для выкачивания обновлений.
  • Права локального администратора в системе
  • Служба Windows Updates должна быть включена

Шаг №1: Запускаю VM srv-s2016 под Debian 10 + Proxmox 6

Шаг №2: Копирую дистрибутив Windows Server 2019 в систему.

У меня в моей локальной сети есть ресурс где лежат книги, программы, образа. С этого ресурса копирую образ Windows Server 2019 Std (SW_DVD9_Win_Server_STD_CORE_2019_1809.18_64Bit_English_DC_STD_MLF_X22-74330.ISO)

Шаг №3: Проверяю, что VM той редакции, которая нужна:

C:Windowssystem32>reg query «HKLMSOFTWAREMicrosoftWindows NTCurrentVersion» /v EditionID

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

    EditionID    REG_SZ    ServerStandard

C:Windowssystem32>systeminfo | findstr /I «OS Name»

Host Name:                 WINAAURVT4CB0C

OS Name:                   Microsoft Windows Server 2016 Standard

OS Version:                10.0.14393 N/A Build 14393

OS Manufacturer:           Microsoft Corporation

OS Configuration:          Standalone Server

OS Build Type:             Multiprocessor Free

BIOS Version:              SeaBIOS rel1.14.00g155821a1990bprebuilt.qemu.org, 4/1/2014

Time Zone:                 (UTC+03:00) Moscow, St. Petersburg, Volgograd

                                 Connection Name: Ethernet

Все правильно.

Шаг №4: Распаковываю образ Windows Server 2019 Std, понадобится архиватор 7zip и запускаю процедуру обновления:

Запускаю C:SoftSW_DVD9_Win_Server_STD_CORE_2019_1809.18_64Bit_English_DC_STD_MLF_X22-74330setup.exe – Run as Administrator — выбираю вариант "Download updates, drivers and optional features (recommended) / Скачать обновления, драйверы и дополнительные компоненты (рекомендуется)"

I want to help make the installation for Windows better Privacy statement: снимаю галочку

Запускаю процедуру обновления

И нажимаю Next

Выбираю выпуск Windows Server 2019 который в итоге будет, для меня это Windows Server 2019 Standard (Desktop Experience) и нажимаю Next

Выбираю систему на которую буду производить обновление

Нажимаю Accept

Choose what to keep: выбираю Keep personal files and apps (Сохранить личные файлы и приложения)

Сохраняю личные файлы

И нажимаю Next

Ожидаю, идет проверка

Getting updates

This may take a few minutes.

Ожидаю, идет проверка перед обновлением

В итоге проверка завершается успешно, и установщик готов приступить

Ready to install

You won’t be able to use your PC while Windows installs. Save and close your files before you begin.

To recap, you’ve chosen to:

В итоге проверка завершается успешно, и установщик готов приступить

И нажимаю Install

Система по завершении самостоятельно отправится в перезагрузку

Вот что я получил в консоли Proxmox по этой VM, когда наблюдал за процессом обновления, но после снова продолжился процесс обновления как ни в чем не бывало.

В процесс отвалился QEMU Guest Agent на виртуальной машине, но все в порядке

Шаг №5: Система загрузилась, и я проверяю какая сейчас редакция:

C:UsersAdministrator>systeminfo | findstr /I «OS Name»

Host Name:                 WINAAURVT4CB0C

OS Name:                   Microsoft Windows Server 2019 Standard

OS Version:                10.0.17763 N/A Build 17763

OS Manufacturer:           Microsoft Corporation

OS Configuration:          Standalone Server

OS Build Type:             Multiprocessor Free

BIOS Version:              SeaBIOS rel1.14.00g155821a1990bprebuilt.qemu.org, 4/1/2014

Time Zone:                 (UTC+03:00) Moscow, St. Petersburg

                                 Connection Name: Ethernet

Отлично в тестовых условиях процесс обновления прошел успешно, а что до боевого, ну знаете я, пожалуй, пасс. Лучше работающий сервис чем после обновления не работающий вовсе. На этом заметка завершена, с уважением автор блога Олло Александр aka ekzorchik.


In this blog I am sharing how I upgraded my Windows Server 2016 Hyper-V host that been running an Intel NUC for a solid 3 years now to Windows Server 2019. Before anything else I’m taking my collecting my current server info (reference link: here)

  • Open a command prompt and type systeminfo.exe.

  • Copy, paste the info to a notepad or OneNote save to another device or storage other than the machine that will be upgrading.
  • Type ipconfig /all and take note of the IP settings.
  • Open the Registry Editor this this hive: HKLMSOFTWAREMicrosoftWindows NTCurrentVersion and take note the Windows Server BuildLabEx (version) and EditionID (edition).

It’s also worth the trouble to that we backup the operating system, apps, and virtual machines.

As you can see above, we can’t have any virtual machines running during the in-place upgrade process, so we have to make sure that they are turned off.

Now, after this checklist are met, it’s time to launch the Windows Server 2019 installer.

If you are prompted a UAC – click Yes.

The next screen will ask for either Download updates, drivers and optional features (recommended) or Not right now options, if your device is internet-connected you may select the first option and then select Next.

Enter your Windows Server 2019 Product, in this example I have a Standard License (you won’t see any Datacenter options here).

I selected the Windows Server 2019 Standard (Desktop Experience) then clicked Next.

Select Accept to accept the terms of your licensing agreement

On the next screen you may select to Keep your personal files and apps or just wipe everything, I have chosen the keep my files, then I clicked Next.

The setup will then analyzes the device and will call your attention if needed (same in the example above of the running VMs), once all is good to go it will prompt you to proceed with the Installation.

Click install to proceed.

After the upgrade is completed, verify that the upgrade to Windows Server 2019 was successful by going the the System Properties.

Now this Windows Server 2019 is ready.

The Windows Server 2016 is a cloud-ready operating system that delivers new layers of security and Azure-inspired innovation for the applications and infrastructure. If you would like to try this out in a lab environment, download it here. In some of my other posts, We have gone through the installation of Windows Server 2016 and the installation of Windows Server 2019. Also, I have configured and deployed Windows 10 via Windows Deployment Services (WDS).

See these guides for more information on how to set up a VM via PXE boot on a Generation 1 VM and how to set up a VM via PXE boot on a Generation 2 VM. Note: You can do an in-place upgrade from Windows Server 2012 R2 to Server 2019.

On my Windows Server 2016 lab VM. I mounted the Windows Server 2019 iso file, so let’s upgrade. In my next article, I will be demonstrating how a server can be upgraded from WS 2012 to 2019. As you can see below, we are currently running Windows Server 2016, Datacenter Evaluation Edition.

Here are the Windows Server 2019 Install Options;
– Server Core: It’s a smaller installation that includes the core components of Windows Server and supports all server roles, but does not include a graphical user interface (GUI).
– Server with Desktop Experience: This is the complete installation and includes a full GUI for customers.

Windows Server 2016 requires a direct upgrade process unlike Windows Server 2012. We will be proceeding with the installation as shown below.
– Mount the WS 2019 ISO Image on WS 2016 VM as shown below. Download Virtual Clone in order to do this.

Double click on the mounted ISO in order to continue the setup

This will open up the Windows Server 2019 setup as shown below
– Click on Download Updates, drivers and Optional features (recommended).
– Click on Next

This will check for updates and also check your PC

This will launch the setup “Select Image” window as shown below
– Click on Next

Accept the License as shown below

This will open up a new window instructing you on what to keep. I will go with “Nothing”
– Click on Next

When you choose nothing, this will prompt you to select yes in order to be very sure you want to continue

Windows will collect updates and when prepare the system for installation.

This will make sure your system has enough space to install the Operating System and ensure everything is ok.

This will prompt the Read to Install Window as shown below
– Click on Install as shown below.

Now the server upgrade process begins as shown below. This can take a while!

The following windows below show Windows Server 2019 is still installing.
– Note: Your server will restart multiple times.

Let customise the server by entering the following information as it relates to you.
– When you are done, click on Next

Enter the password to your Administrators account as shown below
– This step will finalise the Windows Server 2016 to Windows Server 2019 Upgrade

When Windows is done applying settings, you can now log on to your server a shown below.

Now we are logged on to the server, lets access the server system properties as shown below.

Now we are done upgrading to Windows Server 2019. You can install additional roles and features needed to make this server operational. For some examples, see the following links below. how to set up a Domain Controller, how to add a second Domain Controller to your environment, how to install and configure Active Directory Federation Service (ADFS) in Windows Server, and how to install Dynamic Host Configuration Protocol on Windows Server 2019.

Here you can have a look at the basic settings such as the time zone, ITÉ security setting, firewall, and Remote Desktop, etc. For the configuration of a new server, see this guide “Post-installation of this server“.

To ensure everything was successfully upgraded, we need to access the registry.

On the server, run RegEdit. Check the value of the HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsNTCurrentVersion hive. The version should show Windows Server 2019. See the following articles below for more information about the Windows registry.

  • How to search through the Windows registry.
  • For what Registry Editor is and how to access the registry hives.

I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.

It is always a good idea to start a new Windows Server 2016 / 2019 installation on a new slate. However, in some instances, you may be working on a site that will force you to upgrade from the current installation to the latest version.

The routines described here apply to the server versions of Windows 2016 and 2019. This article describes moving to Windows Server 2016 / 2019 from different lower server platforms.

The path to the new Operating System (OS) depends on the current system and configurations that you are running.

That being the case, the following terms define activities you are likely to encounter when deploying the 2016 Server.

Installation

The simplest way of installing a new OS to work on your hardware, and get a clean installation, demands that you delete the previous Operating System.

Migration

To move system settings to the new Windows Server using a virtual machine is what we call migration. The process also varies depending on the roles and system configurations already running.

Cluster OS Rolling Upgrade

This feature is new in Windows Server 2016, and its role is to make sure the Administrator can upgrade the Operating System of all nodes running Windows Server 2012 R2 to Windows Server 2016, without interfering with the Hyper-V or Scale-Out File Server workloads.

The feature also helps in reducing downtime, which may affect Service Level Agreements.

License Conversion

Some Operating Systems use releases that allow the conversion of one edition to another without so much struggling.

What you need is a simple command issued alongside a license key, and you end doing the license conversion.

Upgrade

When you want to use the latest software that comes with the newer versions, then you have to do an upgrade.

In-place upgrades mean using the same hardware for installing the new Operating System. For example, you can upgrade from evaluation to retail version or from a volume license to an ordinary retail edition.

NOTE 1: An upgrade will work well in virtual machines if you do not need specific OEM hardware drivers.

NOTE 2: Following the Windows Server 2016 release, you can only perform an upgrade on a version installed using the Desktop Experience (not a server core option).

NOTE 3: If you use NIC teaming, disable it before you perform an upgrade; and when the upgrade is complete, re-enable it.

Upgrade Retail Versions of Windows Server to Windows Server 2016 / 2019

Note the following general principles:

  • Upgrading a 32-bit to 64-bit architectures is not possible. Note that all Windows Server 2016 versions are only available in 64-bit.
  • You cannot upgrade from one language to another.
  • If you are running a domain controller, make sure you can handle the task, or read the following article: Upgrade Domain Controllers to Windows Server 2012 R2 and Windows Server 2012.
  • You cannot upgrade from a preview version.
  • You cannot switch from Server Core installation to a Server with a Desktop installation.
  • You cannot upgrade from a Previous Windows Server installation to an evaluation copy of Windows Server.

You can read from the table below that shows a summary of Windows Operating Systems available for upgrade. If you are unable to upgrade your current Windows version, then upgrading to Windows Server 2016 is impossible

Current Windows Edition Possible Upgrade Edition
  • Windows Server 2012 Standard
  • Windows Server 2016 Standard or Datacenter
  • Windows Server 2012 Datacenter
  • Windows Server 2016 Datacenter
  • Windows Server 2012 R2 Standard
  • Windows Server 2016 Standard or Datacenter
  • Windows Server 2012 R2 Datacenter
  • Windows Server 2016 Datacenter
  • Windows Server 2012 R2 Essentials
  • Windows Server 2016 Essentials
  • Windows Storage Server 2012 Standard
  • Windows Storage Server 2016 Standard
  • Windows Storage Server 2012 Workgroup
  • Windows Storage Server 2016 Workgroup
  • Windows Storage Server 2012 R2 Standard
  • Windows Storage Server 2016 Standard
  • Windows Storage Server 2012 R2 Workgroup
  • Windows Storage Server 2016 Workgroup

Per-Server-Role Considerations for Upgrading

It’s important to consider server roles before performing an upgrade.

For example, some server roles are part of the newer Windows versions and may only need additional preparation or actions to get the desired intent.

Converting Current Evaluation Version to Current Retail Version

It is possible to convert the trial version of Windows Server 2016 Standard to a Data 2016 Standard Server or a Datacenter version. The two conversions can be retail versions. You can also convert Windows Server 2016 Datacenter to the retail version.

Before making any conversion attempts to the retail version, ensure that your server is running an evaluation version; you can confirm this by following these steps:

  • From the administrator’s command prompt, run
slmgr.vbs /dlv;
  • The evaluation versions will include “EVAL” as the output
  • Open the control panel
  • Then click on System and Security
  • Click on System
  • View the activation status found on the activation area of the System page
  • Click view details, and you will see more information on your Windows Status
  • If your Windows is activated, you will see information showing the remaining time for the evaluation period.

If you are running a retail version, you will see the “Upgrading previous retail versions of Windows Server 2016” message prompting you to upgrade to Windows Server 2016.

In Windows Server 2016 Essentials, the conversion to retail version is possible if you have a retail volume license or OEM key in the command slmgr.vbs

In case you are running an evaluation version of Windows Server 2016 Standard or Windows Server 2016 Datacenter, the following conversions can help you:

  • If the server is a domain controller, it cannot change to the retail version. First, install another domain controller on a server that runs a retail version and remove the AD DS from the domain controller that has the evaluation version.
  • Read the license terms
  • From the administrator’s command prompt, enter this command to get the current edition:
DISM /online /Get-CurrentEdition

Note the edition ID, the abbreviation form of the edition name, and then run the following command:

DISM /online /Set-Edition:<edition ID> /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula

Once you get the ID and product key, the server should restart twice.

You can convert the evaluation version of Windows Server 2016 Standard to the retail version of Windows Server 2016 Datacenter using the same command and product key.

Converting Current Retail Edition to a Different Current Retail Edition

After successful installation of Windows Server 2016, you can run setup to repair the installation using a process called “repair in place” that converts it to a different edition.

In case of Windows Server 2016 Standard, you can convert the system to Windows Server 2016 Datacenter by:

  • From the administrator’s command prompt, use the following command to determine the existing edition:
DISM /online /Get-CurrentEdition
  • Run this command to get the ID of the edition you want to upgrade to:
DISM /online /Get-TargetEditions
  • Note the ID edition, the name of the edition, and then run this command:
DISM /online /Set-Edition:<edition ID> /ProductKey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX /AcceptEula
  • Once you get the ID and product key, the server should restart twice.

Converting Current Retail Version to Current Volume Licensed Version

Once you have Windows Server 2016 running, you can convert it to a retail version, an OEM version, or a volume-licensed version. The edition will not change.

If the starting point was an evaluation version, change it to retail version and then do as follows:

  • From the administrator’s command, run this command:
slmgr /ipk <key>
  • Insert the appropriate volume license, OEM or retail key instead of <key>

Conclusion

Upgrading Windows Server is a complicated process; therefore, Microsoft suggests that you migrate all roles and settings to Windows Server 2016 to avoid costly mistakes.

У Microsoft есть документация по обновлению Windows Server 2016 до версии 2019, но она содержит общие сведения и рекомендации. Данную заметку я публикую на основе собственного опыта с конкретными практическими рекомендациями и обращаю особое внимание на те места, которые могут препятствовать успешному обновлению, с чем, собственно говоря, мне пришлось столкнуться.

Теперь по порядку:

  • Сохранить важные для вас параметры сервера, включая сетевую конфигурацию, список ПО и ролей. Если сервер в домене и большинство параметров конфигурируются групповыми политиками — за них можно не переживать. Вообще, ничего не должно пропасть, но, как известно, береженого бог бережет.

Список установленных ролей, например, можно собрать такой powershell командой:

Get-WindowsFeature | ? installed -match 'true'

  • Обеспечить достаточность свободного места на системном диске. Сам установщик не даст начать обновление, если свободного места менее 10 ГБ, но на практике нужно иметь не менее 20 ГБ (10ГБ места мне просто не хватило — обновление прервалось).
  • Создать резервную копию или снепшот диска для возможности отката, если что-то пойдет не так.
  • В случае терминального сервера, а особенно, при использовании профильных дисков, — удалить «огрызки» старых профилей и вообще все лишние профили. В случае профильных дисков, информацию о профилях нужно удалить из этой ветки реестра:

КомпьютерHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionProfileList

и удалить остатки папок профилей.

Иначе это может помешать обновлению:

Будьте осторожны: не удалите локальные профили, т.к. потеряете пользовательские данные. Речь здесь идет больше об остатках профилей при использовании технологии профильных дисков.

  • Теперь можно запускать обновление (подключить ISO-образ, если вы еще этого не сделали). Выбрать вариант сохранения данных и ПО (думаю, это основной сценарий, т.к. в противном случае проще развернуть новый сервер, чем пытаться что-то обновлять). Здесь будет два этапа: проверка готовности к установке обновления и непосредственно сам апгрейд.

Если программа установки вылетела после проверки готовности к установке, то просто запустить установку повторно — она уже пойдет без дополнительной проверки:

После выполнения обновления (возможные проблемы)

Еще раз перезагрузите сервер — это поможет решить ряд проблем.

Убедитесь, что новая версия все-таки установлена:

Далее проверяйте функционал сервера:

  • конфигурацию сервера и список ролей
  • список и работоспособность установленного софта
  • корректность работы основных служб
  • работу меню ПУСК и поиска в нем
  • лицензии программных продуктов

Categories

  • Transfer Programs from C Drive to D Drive
  • Transfer Installed Software to New PC
  • Transfer Files from Old PC to New PC
  • Transfer Microsoft Office
  • Find Office Product Key
  • Move User Folder
  • Move Google Chrome Bookmarks

This article covers in-place server upgrade solutions and Server data migration from an old PC to a new PC. Figure out your target first:

If you want to start an in-place upgrade from Windows Server 2016 to Server 2019 or 2022, and keep all existing apps and files, locate Part 1.

If you want to change old devices and plans to migrate applications, databases, domain accounts, user profiles from one server to another, see Part 2. 

Workable Solutions Step-by-step Troubleshooting
Part 1. How to Upgrade Windows Server to 2019/2022 Start Server setup > Click setup.exe…Full steps
Part 2. How to Migrate Server 2016 to 2019 of 2022 Download EaseUS Todo PCTrans > Click «Backup»…Full steps

According to Microsoft, Windows Server 2016 will continue to update until Jan 12, 2027. And the end of life for Windows server 2019 is Jan 9, 2029. Windows Server 2022 has released in Sep 2021.

Even though Windows Server 2016 still acts as the main workhorse on many companies, we recommend upgrading to the latest version due to the new security function and better performance.

Comparison of Windows Server 2016 vs. 2019

Windows 2019 updates storage migration service, Kubernetes platform support, unified management, virtual network peering, enhanced Windows Defender ATP, etc. However, Window Server 2016 has removed iSNS, business scanning, remote desktop connection broker, remote desktop virtualization host, print components, and more.

Read Microsoft guide about editions comparison window server 2019.

Comparison of Windows Server 2019 vs. 2022

Server 2022 unveils four advanced functions of improved security: Hypervisor-based code integrity, secured-core server, hardware-enforced stack protection, and transport Layer Security (Enable TLS 1.3). 

It also provides better platform flexibility, a new Windows admin center, upgraded Hyper-V Manager, Hybrid Cloud Support, and Enhanced Kubernetes Experience. 

Learn more: check editions comparison server 2022.

Part 1. How to Upgrade Windows Server to 2019/2022

A step-by-step guide to performing In-Place Server Upgrade:

Phase 1: Start Server setup.

Step 1. Go to the Windows Server 2019 setup media, and then click setup.exe.

Step 2. Click Yes to Confirm the setup process.

Step 3. Then you can see the windows of «Get updates, drives, and optional features.» Select «Download updates, drivers and optional features (recommend)» and then click «Next.»

Windows update setup - 1

Step 4. Wait for setup to check the device configuration. When it finishes, select «Next.»

Step 5. Enter the Server license key to continue. (If you are confused about finding the Windows server product key, you can check this guide.) 

Step 6. Select the wanted Windows Server 2019 image and then choose «Next.»

Step 7. Click «Accept» to agree with the Applicable notices and license terms.

Windows update setup - 2

Step 8. Choose what to keep and click Next:

Please choose «Keep personal files and apps» to keep data. 

«Nothing» will cause all data to be deleted, including files, apps, and settings.

Windows update setup - 3

Step 9. After analyzing finish, you can click «Install» to prompt.

Phrase 2: Check whether the system is successfully upgraded.

Type Registry Editor on the search box and click to open it:

Follow the path to see ProductName: ComputerHKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion

check Windows OS

Your ProductName should be Windows Server 2019. Remember to check all applications are running well. If apps or files are lost, EaseUS Todo PCTrans can help you create image files to keep everything.

If you find Windows Server goes wrong, you can follow the path (C:WindowsPanther) and zip the files. Then, contact Microsoft to help you.

Part 2. How to Migrate Server 2016 to 2019 of 2022

If the in-place upgrade is not your option, please shed light on Server Migration to move data quickly. For Server users, it is a headache to find a cost-effective and flexible method to transfer files and data, even users’ accounts and domain accounts, to a new PC. 

This part will give you another choice to migrate all programs, files, and settings — Download the Windows Server migration tool. Advanced Windows Server PC transfer utility — EaseUS Todo PCTrans Technician is capable of Windows Server transfer solution between Server 2003/2008/2012/2016/2019/2022.

EaseUS Todo PCTrans Technician

☆ Deploy & install Todo PCTrans on multiple PCs.
Transfer unlimited files, programs, apps between Servers.
Transfer account, domain account, and settings.
Data rescue, find product key of installed programs.
One license for multiple PCs.

Still, hesitate to use EaseUS Todo PCTrans? Check the video guide. Get more info about this advanced Windows Server file & app transfer software.

Steps about migrating to Windows Server 2019/2022:

Step 1. Launch EaseUS Todo PCTrans on your source and target computers, connect both PCs via the internet.

1. At the «PC to PC» section, click «PC to PC» to continue. 

select pc to pc

2. Select your target computer via its device name, then enter its account password or verification code and select the transfer direction. Then click «Connect» to continue.

You can check the verification code on the right top of «PC to PC» mainscreen on the target computer.

connect the two pcs

Step 2. Select the categories Applications, Files, and Accounts to transfer via the internet.

If you want to transfer data selectively, click «Edit» under each category, and choose the specific items.

select applications, files or accounts

Step 3. Click «Transfer» to start transferring your apps/files/accounts from one computer to another computer via the Internet.

transfer applications, files or accounts via internet

Final Thoughts

This post provides two parts in Server upgrade and Server migration. If you focus on upgrading Windows Server 2016 to 2019 or 2022, a Windows built-in method is enough to complete the task. One more important thing — here is a case that in-place upgrade turns to wrong and your data lost. So, to protect your data, we recommend making a backup image by EaseUS Todo PCTrans.

In addition, data transfer also becomes the client’s purpose. Therefore, you can enjoy the direct migration to Server 2019 or 2022.

In this article, I’ll show you how to do an In-place upgrade to from Windows Server 2016 to Windows Server 2019 using the new In place feature. place Upgrade

Windows Server 2019 comes with a new In place upgrade feature that was released with build 17639 and allows upgrade from Windows Server 2012 R2 and Windows Server 2016 with the ability to retain settings and Installed features.

supported Versions:
  • Windows Server 2012 R2 Standard and Datacenter
  • Windows Server 2016 Standard and Datacenter

Get Started

In my case, I’m doing an in-place upgrade from Windows Server 2016 to 2019.

Below you can see the ISO image for Server 2016 In my D drive.

When starting the upgrade process, we have the option to either download the latest updates before starting the actual upgrade.

Next, I’ll enter the license key

In the select image page, I have the option to either upgrade to the same version with the desktop experience or without it which will use server core.

In the screen below, I’ll select to keep all files and apps

I also have the option to select what to keep and confirm

In the upgrade process will 10 – 15 minutes and at the end the server will reboot

Once done, My server has the latest Windows Server 2019 build

What’s new In Windows Server 2019

Performance history for Storage Spaces Direct – Data available via Project Honolulu

Shielded virtual machines: Offline mode, Alternate HGS, VMConnect and Shielded Linux support

Failover Cluster removing the use of NTLM authentication – Failover Clustering will use Kerberos and Certificate-based authentication

Windows Defender ATP Exploit Guard – new host intrusion prevention capabilities

Windows Defender Advanced Threat Protection – Provide deep platform sensors, visibility to memory and kernel level attacker protection

Extending your Clusters with Cluster Sets – New Clustering In the cloud technology

Long and Semi-Annual Channel

As Announced back In early 2017, Windows Server will be available in two release modules.

  • Long-Term Servicing channel – This Is the current and most familiar module where a new operating system version is released every 2-3 years with 5 years support cycle.
  • Windows Server 2019 will be released as part of the Long-Term Channel.
  • Semi-Annual Channel – This new module will offer two new releases every year with new features and roles, support will be available for 18 months.

Windows Server 2019 should be available in barely two months. So, first migration will start shortly after. From experience, I know that the  first feature customers ask for migrating is Active Directory. Therefore, I wanted to try In-Place Upgrade, which has been improved in Windows Server 2019. To try this feature, I upgraded a forest that is handled by two domain controllers running on Windows Server 2016. It was not a “click and fun” process, but Microsoft has really improved In-Place Upgrade. Let’s take a look at how to migrate Windows Server 2016 DC to 2019.

Pre-Migration Steps

Firstly, check the backup of your domain controller before migrating it. A consistent backup enables you to rollback quickly. This step is often forgotten but it is really important. The following screenshot is a backup of a domain controller by using Veeam.

wp-image-9790

Then, run the following cmdlet to check where FSMO roles are located. I don’t want to upgrade a DC that owns FSMO roles. The schema master role owner should be noted because later we will run some adprep cmdlet against this server.

GetADDomain | SelectObject InfrastructureMaster, RIDMaster, PDCEmulator

GetADForest | SelectObject DomainNamingMaster, SchemaMaster

wp-image-9791

Then, double check the health of your domain controllers. Check that replication is working fine, DCs are healthy and so on. You can use the respective commands, such as dcdiag, repadmin or the event viewer.

wp-image-9792

For the migration (and only during the migration), add your Active Directory account to Enterprise Admins and Schema Admins groups. It is required by the adprep cmdlet. When the migration is finished, remove your account from these groups.

wp-image-9793

And now for the fun part. Currently there is a bug in the adprep command from Windows Server 2019 17338 build. A certificate must be installed on all servers in order for adprep to run. Mount the Windows Server 2019 ISO on a machine with a GUI. Navigate to <ISO Drive>:Supportadprep. Right click on schupgrade.cat and select properties. Then open Digital Signatures tab and click on Details. Next, click on view certificate. Click on Certification Path and select the Root CA certificate (the top one). Click on View Certificate.

wp-image-9794

In the Details tab, click on Copy to file. Save the certificate in a location of your choice.

wp-image-9795

Then, add the certificate to trust root certification authorities store of each domain controller. I used the MMC because my domain controllers are installed in Core edition. You can also use Windows Admin Center or PowerShell.

wp-image-9796

Don’t forget: this part should be applied for Windows Server 2019 preview and should be resolved with the final release.

Prepare the Forest and the Domain

Mount the ISO of Windows Server 2019 on the Schema Master owner. Then, navigate to <ISO letter>:supportadprep. Run the following command:

wp-image-9797

Once the schema is upgraded, run the following command (this command should be run on all domain controllers):

wp-image-9798

Migrate First Domain Controllers

Connect to a domain controller that doesn’t own any FSMO roles. Then, mount the ISO and run setup.exe.

wp-image-9799

Next, choose whether download updates right now or not.

wp-image-9800

Then, enter the product key.

wp-image-9801

Select the Windows Server 2019 edition you want (Core edition or not).

wp-image-9802

Accept the license agreement and click on Next.

wp-image-9803

Next, keep personal files and apps to run an In-Place upgrade.

wp-image-9804

When the wizard has checked prerequisites, it should allow you to update your operating system.

wp-image-9805

To upgrade the first DC, the process took almost 30min.

wp-image-9806

wp-image-9807

Migrate Second Domain Controllers

Now that the first DC is upgraded, I’m going to transfer the FSMO role to this last one. To transfer the role, I run the following script from a DC:

$Server = GetADDomainController Identity «VMADS02»

MoveADDirectoryServerOperationMasterRole Identity $Server OperationMasterRole SchemaMaster,DomainNamingMaster,PDCEmulator,RIDMaster,InfrastructureMaster

Then, mount the ISO on the DC and run setup.exe. Follow the same procedure applied to the first domain controller.

wp-image-9808

Once the migration is finished, you can transfer again the FSMO role to the original owner:

$Server = GetADDomainController Identity «VMADS01»

MoveADDirectoryServerOperationMasterRole Identity $Server OperationMasterRole SchemaMaster,DomainNamingMaster,PDCEmulator,RIDMaster,InfrastructureMaster

Don’t forget to remove your account from Enterprise Admins and Schema Admins groups.

Functional Level

Currently, there is no Windows Server 2019 functional level. At present, I don’t know if Microsoft has anything planned for a Windows Server 2019 functional level.

VSAN from StarWind is software-defined storage (SDS) solution created with restricted budgets and maximum output in mind. It pulls close to 100% of IOPS from existing hardware, ensures high uptime and fault tolerance starting with just two nodes. StarWind VSAN is hypervisor and hardware agnostic, allowing you to forget about hardware restrictions and crazy expensive physical shared storage.

Build your infrastructure with off-the-shelf hardware, scale however you like, increase return on investment (ROI) and enjoy Enterprise-grade virtualization features and benefits at SMB price today!

Flight Signing Issue

I had an issue that prevented to migrate the second domain controller. If something prevents the in-place upgrade, you can open the folder c:$Windows~BTSourcesPanther. In this folder, there is a file called ScanResult.xml. When I opened this file, I saw the following:

wp-image-9809

Microsoft PM told me how to resolve this issue. To resolve this issue, run the following commands:

bcdedit.exe /set flightsigning on

bcdedit /set {bootmgr} flightsigning on

Then, start the setup.exe again.

  • Windows Server 2019 Insider Preview Build 17709: A Brief Features Overview
  • Why you should consider Storage Spaces Direct in Windows Server 2019

This post will help you if you are planning to perform Windows Server 2019 in-place upgrade. We know that Windows Server 2019 is released and organizations are now looking to upgrade server OS to Windows Server 2019. In my previous post, I covered the steps to deploy Server 2019 using SCCM.

Scenario – We have SCCM 1810 setup with multiple distribution points across globe. Most of the distribution points are running on Windows Server 2012 R2. A very few DP’s are running on Windows Server 2016. I am picking one of the DP running on Server 2016 for upgrade. Ensure you go through Windows Server 2019 system requirements once.

So I will be doing an in-place upgrade of Windows Server 2016 to Server 2019. The distribution point server is running on a VM and I have a full backup of the server. Just in case something goes wrong, I can restore the backup.

PatchMyPC HorizontalAD

Patch My PC Sponsored AD

Most of all the In-place upgrade is supported for Windows Server 2016 on physical hardware and Virtual Machines. But what if the VM is not on-prem and hosted in cloud ?. Well, as per Microsoft you must first check with your cloud provider about the upgrade options.

You can perform direct in-place upgrade to Windows Server 2019 from either of these server OS :-

  • Windows Server 2012 R2
  • Windows Server 2016

Prior to 2012 R2 OS, no other server OS supports “direct” in-place upgrade to Windows Server 2019. Here is some more information about upgrade process to Windows Server 2019.

Current Server OS Upgrade To How to
Windows Server 2008 R2 WS 2019
  1. First upgrade to Windows Server 2012
  2. Upgrade Server 2012 to Server 2016
  3. Upgrade from 2016 to 2019
Windows Server 2012 WS 2019
  1. Upgrade to Windows Server 2016
  2. Direct upgrade from 2016 to 2019
Windows Server 2012 R2 WS 2019 Single/Direct upgrade process
Windows Server 2016 WS 2019 Single/Direct upgrade process

Windows Server 2019 Install Options

  • Server Core – It’s a smaller installation that includes the core components of Windows Server and supports all server roles, but does not include a local graphical user interface (GUI).
  • Server with Desktop Experience – This is the complete installation and includes a full GUI for customers.

Windows Server 2019 Edition In-place upgrade supported paths

So now you might be thinking about supported paths for Windows Server 2019 in-place upgrade. This is important because you might be running either standard or datacenter edition of server. The below table will help you in understanding the right upgrade paths.

Current Operating System Upgrade Version and Edition
Windows Server 2012 R2 Standard Windows Server 2019 Standard or Datacenter
WS 2012 R2 Datacenter WS 2019 Datacenter
Windows Server 2016 Standard Windows Server 2019 Standard or Datacenter
WS 2016 Datacenter WS 2019 Datacenter

Features removed from Windows Server 2019

We have seen this in the past that Microsoft removes certain features and adds new features to the new builds. Here are the list of features and functionalities that’s removed in Windows Server 2019.

  • Business Scanning (Distributed Scan Management)
  • Internet Storage Name Service (iSNS)
  • Print components
  • Remote Desktop Connection Broker and Remote Desktop Virtualization Host in a Server Core installation

Before proceeding with In-place Upgrade

The process to perform server in-place upgrade is easy however there are many things a system admin needs to look into before upgrading. Microsoft has also listed some important checks that can be checked prior to server upgrade. You must collect the information about all the below listed points and then decide to upgrade.

  1. Check if the server is a production-critical server – Good to find out how critical is the server. What all is running on this server and can there a downtime approved for this server.
  2. Find out the maintenance window for upgrading this server – This is really important because you can’t perform the upgrade while the server is being used. This might affect the applications hosted on the server plus the users who are connected to the server.
  3. Perform test upgrade on similar non-production server – This might give you a fair idea on how well the upgrade goes before actually performing on production server.
  4. Find the Server Usage – You must find out who is using this server. It could be internal users, external users, or even both.
  5. Find Roles, Features, Applications running on the production server.
  6. BitLocker encryption – Log in to the server and check if the disks are encrypted.
  7. Is the server part of a Failover Cluster ? – If yes, the good news is cluster OS rolling upgrade can be used to upgrade Server 2016 to Server 2019.
  8. Server backups – Find out backup strategy. Were those backups successful at-least since a month. As an admin you also have the responsibility to find if backups have ever been successfully restored to the server or applications.
  9. Power Supply – Ensure there is no interruption in power supply during the upgrade. If you are performing the server OS upgrade on physical hardware, check if you have backup power supply.
  10. Is the server patched –  Check if the server is patched before you begin the server OS upgrade.

Prepare your Server for In-place Upgrade

In addition to the points mentioned above, always check the Server edition first. As mentioned earlier, the distribution point is running on Windows Server 2016 Standard edition. During the upgrade, I will entering a key that will allow me to upgrade Windows Server 2016 Standard to Windows Server 2019 Datacenter edition.

Perform Windows Server 2019 In-Place Upgrade

Patch your server with latest update. This holds true for any in-place upgrades that you perform.

Perform Windows Server 2019 In-Place Upgrade

Perform the Windows Server 2019 In-Place Upgrade

We will perform the Windows Server 2019 in-place upgrade. Mount the Windows Server 2019 ISO file. Run the Setup and wait for the setup screen to appear. You see two options.

  • Download updates, drivers and optional features
  • Not right now

Select the first option. Click Next.

Windows Server 2019 Upgrade Options

I am using MSDN copy of Server 2019, hence I need to enter the product key. Click Next.

Windows Server 2019 Upgrade Options

Select Windows Server 2019 Datacenter (Desktop Experience). Click Next.

widows server desktop experience

Accept the license terms.

server 2019 license terms

Among the two options, go with the first option, keep personal files and apps. Click Next.

Server 2019 upgrade

The server upgrade process begins once you click Install.

Server 2019 upgrade

The time required to upgrade the server varies. So have patience while the upgrade process is running. Expect multiple restarts during this process.

Server 2019 upgrade

Post Server Upgrade

Finally the server upgrade is successful. The distribution point is now running fine on Windows Server 2019 Datacenter.

in-place Windows Server 2019 upgradeAn alternate method to find out the successful upgrade is using registry. On the server, run RegEdit. Check the value of the HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsNTCurrentVersion hive. The version should show Windows Server 2019.

Avatar photo

Prajwal Desai is a Microsoft MVP in Enterprise Mobility. He writes articles on SCCM, Intune, Configuration Manager, Microsoft Intune, Azure, Windows Server, Windows 11, WordPress and other topics, with the goal of providing people with useful information.

Like this post? Please share to your friends:
  • Update windows server 2012 to 2019
  • Update windows 2003 to windows 2008 r2
  • Update windows 10 using media creation tool
  • Update windows 10 1809 to 1909
  • Update troubleshooter windows 10 скачать бесплатно