Windows Server version update failed

|
  • 112
  • 5

Issue Description

Existing Windows server VM failed to upgrade to newer version.
In this case, upgrade from Windows server 2012 to 2016/2019 failed.

Error/Warning Information

The upgrade will stuck at 70%/85% and failed after awhile.

Handling Process

1. After uninstall vmtools, the VM can be upgrade successfully.
2. Suspect it is vmtools issue.
3. As per further checking, the problem caused by the viostor.inf registry.

Root Cause

When installing vmtools, a abnormal/wrong registry has been written to the system and cause parsing failed when enumerating third-party drivers.

Solution

1. Take a snapshot for the Windows VM.
2. Download and copy the psexec.exe to the Windows VM which failed to upgrade.
3.. Run the command prompt as Administrator.
4. Go to the path where the psexec.exe located at and enter the following command.
Cmd: psexec.exe -i -s regedit
5. After the Registry Editor has been prompt, go to the following path HKEY_LOCAL_MACHINE\SYSTEM\DriverDatabase\DriverPackages\ and delete the viostor.inf which do not have any suffix behind.
6. Retry upgrade after the viostor.inf has been deleted from registry.

PsExec.exe

815.37 KB, Downloads: 6

Faisal Piliang Posted 29 May 2023 10:59
  
Last edited by Faisal Piliang 29 May 2023 11:00.

Thank you very much for the information
Farina Ahmed Posted 29 May 2023 13:47
  
Thanks for the useful information
Farina Ahmed Posted 29 May 2023 13:47
  
I really like this use case.
Zonger Lv4Posted 29 May 2023 14:45
  
Thanks for sharing
Newbie517762 Lv5Posted 29 May 2023 16:00
  
Thanks for your useful information.

I want to write a case
Doc ID: 8591
Author: CTI TF
Updated: 2023-05-29 09:41
Version: