Hi!
I have a win10 guest on a win10 host. Sharing GPU worked for a while but now my RTX3070 driver updated. I read that I have to run this script again to update the driver on the guest too, but I get this error when I run the Update-VMGpuPartitionDriver.ps1:
New-Item : Cannot find drive. A drive with the name 'H G' does not exist.
At C:\hyperv-GPUpartitiondriver\Add-VMGpuPartitionAdapterFiles.psm1
:68 char:21
+ ... New-Item -ItemType Directory -Path $Destination -Force | ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (H G:String) [New-Item], DriveNotFoundException
+ FullyQualifiedErrorId : DriveNotFound,Microsoft.PowerShell.Commands.NewItemCommand
I don't have 2 drives in the guest. I only have C:\ inside the guest, and there is only one vhdx file attached in the settings.
When I run the script I can see the 2 drives attached to the host (while the script is running). The first one is the "system reserved".
I use these parameters: -VMName "hyper-v-win10" -GPUName "AUTO" and I think they are correct.
Could anyone help me what did I do wrong? Thank you.
Hi! I have a win10 guest on a win10 host. Sharing GPU worked for a while but now my RTX3070 driver updated. I read that I have to run this script again to update the driver on the guest too, but I get this error when I run the Update-VMGpuPartitionDriver.ps1:
I don't have 2 drives in the guest. I only have C:\ inside the guest, and there is only one vhdx file attached in the settings. When I run the script I can see the 2 drives attached to the host (while the script is running). The first one is the "system reserved".
I use these parameters: -VMName "hyper-v-win10" -GPUName "AUTO" and I think they are correct.
Could anyone help me what did I do wrong? Thank you.