CategoryInfo : InvalidOperation: (:) [Get-WmiObject],ManagementException
wmailn opened this issue · 1 comments
Hi:
When I use it, I get the following error,My system is WIN11.
PS C:\Users\wmln\Desktop\Easy-GPU-PV-main> .\1.ps1
Windows(R) Image to Virtual Hard Disk Converter for Windows(R) 10
Copyright (C) Microsoft Corporation. All rights reserved.
Version 10.0.14278.1000.amd64fre.rs1_es_media.160201-1707
INFO : Opening ISO zh-cn_windows_11_business_editions_version_23h2_updated_june_2024_x64_dvd_d5833049.iso...
INFO : Looking for J:\sources\install.wim...
INFO : Looking for the requested Windows image in the WIM file
INFO : Image 3 selected (Professional)...
INFO : Creating sparse disk...
INFO : Mounting VHDX...
INFO : Initializing disk...
INFO : Creating EFI system partition... INFO : Formatting system volume... INFO : Setting system partition as ESP... INFO : Creating MSR partition... INFO : Creating windows partition... INFO : Formatting windows volume...
INFO : Windows path (L:) has been assigned.
INFO : Windows path (L:) took 1 attempts to be assigned.
INFO : System volume location: K:
INFO : Applying image to VHDX. This could take a while...
INFO : Image was applied successfully.
INFO : Applying unattend file (autounattend.xml)...
INFO : Making image bootable...
INFO : Drive is bootable. Cleaning up...
INFO : Finding and copying driver files for NVIDIA GeForce RTX 4080 to VM. This could take a while...
Get-WmiObject : 正在关闭
所在位置 C:\Users\wmln\Desktop\Easy-GPU-PV-main\Add-VMGpuPartitionAdapterFiles.psm1:46 字符: 21
- ... DriverFiles += Get-WmiObject Win32_PNPSignedDriverCIMDataFile | where ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidOperation: (:) [Get-WmiObject],ManagementException
- FullyQualifiedErrorId : GetWMIManagementException,Microsoft.PowerShell.Commands.GetWmiObjectCommand
INFO : Setting up Parsec to install at boot
INFO : Dismounting VHDX...
INFO : Closing Windows image...
INFO : Done.
INFO : Starting and connecting to VM
If all went well the Virtual Machine will have started,
In a few minutes it will load the Windows desktop,
when it does, sign into Parsec (a fast remote desktop app)
and connect to the machine using Parsec from another computer.
Have fun!
Sign up to Parsec at https://parsec.app
Press any key to Exit...:
Are you using a different user for elevated permissions? (Separate admin account)