You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/windows-in-place-upgrade.md
+8-20Lines changed: 8 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,12 +11,14 @@ ms.author: cynthn
11
11
12
12
# In-place upgrade for VMs running Windows Server in Azure
13
13
14
-
An in-place upgrade allows you to go from an older operating system to a newer one while keeping your settings, server roles, and data intact. This article will teach you how to move your Azure VMs to a later version of Windows Server using an in-place upgrade. Currently, upgrading to Windows Server 2019 and Windows Server 2022 is supported.
14
+
An in-place upgrade allows you to go from an older operating system to a newer one while keeping your settings, server roles, and data intact. This article teaches you how to move your Azure VMs to a later version of Windows Server using an in-place upgrade. Currently, upgrading to Windows Server 2016, Windows Server 2019 and Windows Server 2022 are supported.
15
15
16
16
Before you begin an in-place upgrade:
17
17
18
18
- Review the upgrade requirements for the target operating system:
19
19
20
+
- Upgrade options for Windows Server 2016 from Windows Server 2012 or Windows Server 2012 R2
21
+
20
22
- Upgrade options for Windows Server 2019 from Windows Server 2012 R2 or Windows Server 2016
21
23
22
24
- Upgrade options for Windows Server 2022 from Windows Server 2016 or Windows Server 2019
@@ -28,8 +30,6 @@ Before you begin an in-place upgrade:
28
30
## Windows versions not yet supported for in-place upgrade
29
31
For the following versions, consider using the [workaround](#workaround) later in this article:
30
32
31
-
- Windows Server 2012 Datacenter
32
-
- Windows Server 2012 Standard
33
33
- Windows Server 2008 R2 Datacenter
34
34
- Windows Server 2008 R2 Standard
35
35
@@ -47,7 +47,7 @@ The in-place upgrade process requires the use of Managed Disks on the VM to be u
47
47
48
48
## Create snapshot of the operating system disk
49
49
50
-
We recommend that you create a snapshot of your operating system disk and any data disks before starting the in-place upgrade process. This will enable you to revert to the previous state of the VM if anything fails during the in-place upgrade process. To create a snapshot on each disk, follow these steps to [create a snapshot of a disk](./snapshot-copy-managed-disk.md).
50
+
We recommend that you create a snapshot of your operating system disk and any data disks before starting the in-place upgrade process. This enables you to revert to the previous state of the VM if anything fails during the in-place upgrade process. To create a snapshot on each disk, follow these steps to [create a snapshot of a disk](./snapshot-copy-managed-disk.md).
51
51
52
52
53
53
## Create upgrade media disk
@@ -56,11 +56,11 @@ To start an in-place upgrade the upgrade media must be attached to the VM as a M
56
56
57
57
| Parameter | Definition |
58
58
|---|---|
59
-
| resourceGroup | Name of the resource group where the upgrade media Managed Disk will be created. The named resource group will be created if it doesn't exist. |
60
-
| location | Azure region where the upgrade media Managed Disk will be created. This must be the same region as the VM to be upgraded. |
59
+
| resourceGroup | Name of the resource group where the upgrade media Managed Disk will be created. The named resource group is created if it doesn't exist. |
60
+
| location | Azure region where the upgrade media Managed Disk is created. This must be the same region as the VM to be upgraded. |
61
61
| zone | Azure zone in the selected region where the upgrade media Managed Disk will be created. This must be the same zone as the VM to be upgraded. For regional VMs (non-zonal) the zone parameter should be "". |
62
62
| diskName | Name of the Managed Disk that will contain the upgrade media |
63
-
| sku | Windows Server upgrade media version. This must be either: `server2022Upgrade` or `server2019Upgrade`|
63
+
| sku | Windows Server upgrade media version. This must be either: `server2016Upgrade` or `server2019Upgrade` or `server2022Upgrade`|
64
64
65
65
### PowerShell script
66
66
@@ -177,19 +177,7 @@ To initiate the in-place upgrade the VM must be in the `Running` state. Once the
177
177
.\setup.exe /auto upgrade /dynamicupdate disable
178
178
```
179
179
180
-
1. Select the correct "Upgrade to" image based on the current version and configuration of the VM using the following table:
181
-
182
-
| Upgrade from | Upgrade to |
183
-
|---|---|
184
-
| Windows Server 2012 R2 (Core) | Windows Server 2019 |
185
-
| Windows Server 2012 R2 | Windows Server 2019 (Desktop Experience) |
186
-
| Windows Server 2016 (Core) | Windows Server 2019 -or- Windows Server 2022 |
187
-
| Windows Server 2016 (Desktop Experience) | Windows Server 2019 (Desktop Experience) -or- Windows Server 2022 (Desktop Experience) |
188
-
| Windows Server 2019 (Core) | Windows Server 2022 |
189
-
| Windows Server 2019 (Desktop Experience) | Windows Server 2022 (Desktop Experience) |
190
-
191
-
192
-
180
+
1. Select the correct "Upgrade to" image based on the current version and configuration of the VM using the [Windows Server upgrade matrix](/windows-server/get-started/upgrade-overview).
193
181
194
182
During the upgrade process the VM will automatically disconnect from the RDP session. After the VM is disconnected from the RDP session the progress of the upgrade can be monitored through the [screenshot functionality available in the Azure portal](/troubleshoot/azure/virtual-machines/boot-diagnostics#enable-boot-diagnostics-on-existing-virtual-machine).
0 commit comments