# Run this in host OS $vm = "windowsvm" Add-VMGpuPartitionAdapter -VMName $vm Set-VMGpuPartitionAdapter -VMName $vm -MinPartitionVRAM 80000000 -MaxPartitionVRAM 100000000 -OptimalPartitionVRAM 100000000 -MinPartitionEncode 80000000 -MaxPartitionEncode 100000000 -OptimalPartitionEncode 100000000 -MinPartitionDecode 80000000 -MaxPartitionDecode 100000000 -OptimalPartitionDecode 100000000 -MinPartitionCompute 80000000 -MaxPartitionCompute 100000000 -OptimalPartitionCompute 100000000 Set-VM -GuestControlledCacheTypes $true -VMName $vm Set-VM -LowMemoryMappedIoSpace 1Gb -VMName $vm Set-VM –HighMemoryMappedIoSpace 32GB –VMName $vm # With the VM running, copy the following files: # - C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_* # --> C:\Windows\System32\HostedDriverStore\FileRepository\ # - C:\Windows\System32\nv* # --> C:\Windows\System32\ # # If using command line, Guest Services must be enabled for guest OS Copy-VMFile "windowsvm" -SourcePath "C:\Windows\System32\nvapi64.dll" -DestinationPath "C:\nvapi64.dll" -CreateFullPath -FileSource Host