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
+33-6Lines changed: 33 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,22 +25,22 @@ Before you begin an in-place upgrade:
25
25
26
26
- Upgrade options for Windows Server 2022 from Windows Server 2016 or Windows Server 2019
27
27
28
-
- Verify the operating system disk has enough [free space to perform the in-place upgrade](/windows-server/get-started/hardware-requirements#storage-controller-and-disk-space-requirements). If additional space is needed [follow these steps](./windows/expand-os-disk.md) to expand the operating system disk attached to the VM.
28
+
- Verify the operating system disk has enough [free space to perform the in-place upgrade](/windows-server/get-started/hardware-requirements#storage-controller-and-disk-space-requirements). If more space is needed [follow these steps](./windows/expand-os-disk.md) to expand the operating system disk attached to the VM.
29
29
30
30
- Disable antivirus and anti-spyware software and firewalls. These types of software can conflict with the upgrade process. Re-enable antivirus and anti-spyware software and firewalls after the upgrade is completed.
31
31
32
32
33
-
## Upgrade VM to volume license (KMS server activation)
33
+
## Upgrade VM to volume license (KMS server activation)
34
34
35
-
The upgrade media provided by Azure requires the VM to be configured for Windows Server volume licensing. This is the default behavior for any Windows Server VM that was installed from a generalized image in Azure. If the VM was imported into Azure, then it may need to be converted to volume licensing to use the upgrade media provided by Azure. To confirm the VM is configured for volume license activation follow these steps to [configure the appropriate KMS client setup key](/troubleshoot/azure/virtual-machines/troubleshoot-activation-problems#step-1-configure-the-appropriate-kms-client-setup-key). If the activation configuration was changed, then follow these steps to [verify connectivity to Azure KMS service](/troubleshoot/azure/virtual-machines/troubleshoot-activation-problems#step-2-verify-the-connectivity-between-the-vm-and-azure-kms-service).
35
+
The upgrade media provided by Azure requires the VM to be configured for Windows Server volume licensing. This is the default behavior for any Windows Server VM that was installed from a generalized image in Azure. If the VM was imported into Azure, then it might need to be converted to volume licensing to use the upgrade media provided by Azure. To confirm the VM is configured for volume license activation follow these steps to [configure the appropriate KMS client setup key](/troubleshoot/azure/virtual-machines/troubleshoot-activation-problems#step-1-configure-the-appropriate-kms-client-setup-key). If the activation configuration was changed, then follow these steps to [verify connectivity to Azure KMS service](/troubleshoot/azure/virtual-machines/troubleshoot-activation-problems#step-2-verify-the-connectivity-between-the-vm-and-azure-kms-service).
36
36
37
37
38
38
39
-
## Upgrade to Managed Disks
39
+
## Upgrade to Managed Disks
40
40
41
41
The in-place upgrade process requires the use of Managed Disks on the VM to be upgraded. Most VMs in Azure are using Managed Disks, and retirement for unmanaged disks support was announced in November of 2022. If the VM is currently using unmanaged disks, then follow these steps to [migrate to Managed Disks](./windows/migrate-to-managed-disks.md).
42
42
43
-
## Create snapshot of the operating system disk
43
+
## Create snapshot of the operating system disk
44
44
45
45
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).
46
46
@@ -154,7 +154,7 @@ Attach the upgrade media for the target Windows Server version to the VM which w
154
154
155
155
156
156
157
-
## Perform in-place upgrade
157
+
## Perform in-place upgrade to Windows Server 2016, 2019, or 2022
158
158
159
159
To initiate the in-place upgrade the VM must be in the `Running` state. Once the VM is in a running state use the following steps to perform the upgrade.
160
160
@@ -176,6 +176,33 @@ To initiate the in-place upgrade the VM must be in the `Running` state. Once the
176
176
177
177
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).
178
178
179
+
## Perform in-place upgrade to Windows Server 2012 only
180
+
181
+
To initiate the in-place upgrade the VM must be in the `Running` state. Once the VM is in a running state use the following steps to perform the upgrade.
182
+
183
+
1. Connect to the VM using [RDP](./windows/connect-rdp.md#connect-to-the-virtual-machine) or [RDP-Bastion](../bastion/bastion-connect-vm-rdp-windows.md#rdp).
184
+
185
+
1. Determine the drive letter for the upgrade disk (typically E: or F: if there are no other data disks).
186
+
187
+
1. Start Windows PowerShell.
188
+
189
+
1. Change directory to the only directory on the upgrade disk.
190
+
191
+
1. Execute the following command to start the upgrade:
192
+
193
+
```powershell
194
+
.\setup.exe
195
+
```
196
+
197
+
1. When Windows Setup launches, select **Install now**.
198
+
1. For **Get important updates for Windows Setup**, select **No thanks**.
199
+
1. Select the correct Windows Server 2012 "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).
200
+
1. On the **License terms** page, select **I accept the license terms** and then select **Next**.
201
+
1. For **What type of installation do you want?" select **Upgrade: Install Windows and keep files, settings, and applications**.
202
+
1. Setup will product a **Compatibility report**, you can ignore any warnings and select **Next**.
203
+
1. When complete, the machine will reboot and you will automatically be disconnected 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).
204
+
205
+
179
206
## Post upgrade steps
180
207
181
208
Once the upgrade process has completed successfully the following steps should be taken to clean up any artifacts which were created during the upgrade process:
0 commit comments