Easy-GPU-PV
Easy-GPU-PV copied to clipboard
Get-WmiObject : Invalid namespace "ROOT\virtualization\v2"
help. what should i do?
I'm having this issue as well, did you figure it out?
have you enabled hyperv in control panel?
I'm getting this issue as well. Hyper-V is enabled in Control Panel.
PS C:\Users\USER\Desktop\Easy-GPU-PV-main> .\PreChecks.ps1 System Compatible Printing a list of compatible GPUs...May take a second Copy the name of the GPU you want to share... Get-WmiObject : Invalid namespace "root\virtualization\v2" At C:\Users\USER\Desktop\Easy-GPU-PV-main\PreChecks.ps1:49 char:17
- ... $Devices = (Get-WmiObject -Class "Msvm_PartitionableGpu" -ComputerNam ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidArgument: (:) [Get-WmiObject], ManagementException
- FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
@anthonyhrebel , it's working now. Try rebooting your system a couple of times.
running this command fixed it for me
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
I did that but it did not fix the problem. Still getting Invalid namespace "rootvirtualizationv2"
Are you running a WIndows virtual machine? Because I get the same problem on WIndows running on Proxmox with GPU passthrough