====== Патч Windows ВМ при импорте из Xen ======
1) You can remove the Xen drivers via Recovery mode using something like:
Code:
''X:\> dism /Image:D:\ /Get-Drivers''
Then look for the Xen drivers - they'll be listed as something like **oem6.inf** etc etc. Remove them with:
Code:
''X:\> dism /Image:D:\ /Remove-Driver /Driver:oem6.inf''
Repeat this for all of the entries in Get-Drivers that mention Xen.\\
\\
2) Remove the '**xenfilt**' entries from the registry:
Code:
''X:\> regedit''
Click on "**HKEY_LOCAL_MACHINE**", then **File** -> **Load Hive**. Browse to **D:\Windows\System32\config\** and load **SYSTEM**. Call the import '**DSYSTEM**'.\\
\\
Run a search for '**xenfilt**' and remove all options that have the key name of '**UpperFilters**'.\\
\\
At the end of this, you'll see a number of Xen entries for VIF, SCSI etc etc - you can delete these entire keys.\\
\\
Save the modified hive via **File** -> **Unload Hive**.\\
\\
3) You can optionally install the KVM VirtIO drivers using the Add-Driver method to dism as documented here:\\
[[https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/dism-driver-servicing-command-line-options-s14|https://docs.microsoft.com/en-us/wi...ism-driver-servicing-command-line-options-s14]]