-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not crate disk ? 2 #423
Comments
Windows(R) Image to Virtual Hard Disk Converter for Windows(R) 10 INFO : Looking for the requested Windows image in the WIM file INFO : Log folder is C:\Users\neco\AppData\Local\Temp\Convert-WindowsImage\db8aeaf9-b48b-4cc0-b053-c4ef41241789
INFO : Done. $params = @{ Import-Module $PSSCriptRoot\Add-VMGpuPartitionAdapterFiles.psm1 function Is-Administrator Function Dismount-ISO { Function Mount-ISOReliable { Function ConcatenateVHDPath { Function SmartExit { Function Check-Params { $ExitReason = @() if ([ENVIRONMENT]::Is64BitProcess -eq $false) { Function Setup-ParsecInstall {
} function Convert-WindowsImage {
"@
Windows(R) Image to Virtual Hard Disk Converter for Windows(R) 10 "@
You can use the fields below to configure the VHD or VHDX that you want to create!
} function Add-WindowsImageTypes { namespace WIM2VHD /// /// P/Invoke methods and associated enums, flags, and structs. /// public class NativeMethods {
} #region WIM Interop public class WimFile
} public class
} /// ///Describes the file that is being processed for the ProcessFileEvent. /// public class DefaultImageEventArgs : EventArgs { /// ///Default constructor. /// public DefaultImageEventArgs( IntPtr wideParameter, IntPtr leftParameter, IntPtr userData) {
} /// ///Describes the file that is being processed for the ProcessFileEvent. /// public class ProcessFileEventArgs : EventArgs { /// ///Default constructor. /// ///Fully qualified path and file name. For example: c:\file.sys. ///Default is false - skip file and continue. ///Set to true to abort the entire image capture. public ProcessFileEventArgs( string file, IntPtr skipFileFlag) {
} #endregion WIM Interop #region VHD Interop /// The Virtual Hard Disk class provides methods for creating and manipulating Virtual Hard Disk files. /// public class VirtualHardDisk { #region Static Methods
} Function Modify-AutoUnattend { function Assign-VMGPUPartitionAdapter {
} Function New-GPUEnabledVM {
} Check-Params @params New-GPUEnabledVM @params Start-VM -Name $params.VMName SmartExit -ExitReason "If all went well the Virtual Machine will have started, |
Sorunu buldum. CopyFilesToVM.ps1 dosyasında "QUERY WIM INFORMATION AND EXTRACT THE INDEX OF TARGETED IMAGE" kısmına bakınca, altta çoklu sürümlü Windows imajlarının ImagePath ile üstteki ImagePath aynı olmadığını görebiliyoruz, aslında bütün sorun da bu (WIM dosyası yerine ISO dosyasını kullanıyor).
|
@run4r-ses Thank you, but I did the first part and did not understand the second, I think I will wait for it to be fixed or it would be better if I have the chance to reach you via discord. |
Sure, you can add me at |
@run4r-ses I sent a request |
INFO : Log folder is C:\Users\eren0\AppData\Local\Temp\Convert-WindowsImage\756ac94b-a945-454b-b39a-ed1aed523475
Dismount-DiskImage : Cannot bind argument to parameter 'ImagePath' because it is an empty string.
At D:\Easy-GPU-PV-main\CopyFilesToVM.ps1:36 char:35
INFO : Done.
Failed to create VHDX, stopping script
@MorderczkazPolski12
bro, it is not installed in the OneDrive folder. If it does this because the user folder is in OneDrive, I think I will have to follow another path.
Windows PowerShell transcript start
Start time: 20250121221608
Username: Black-Dragon\V
RunAs User: Black-Dragon\V
Configuration Name:
Machine: BLACK-DRAGON (Microsoft Windows NT 10.0.26100.0)
Host Application: C:\WINDOWS\system32\WindowsPowerShell\v1.0\PowerShell_ISE.exe
Process ID: 22948
PSVersion: 5.1.26100.2161
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.26100.2161
BuildVersion: 10.0.26100.2161
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
INFO : Looking for the requested Windows image in the WIM file
PS>TerminatingError(Get-WindowsImage): "Parametre hatalı.
"
ERROR : Parametre hatalı.
INFO : Log folder is C:\Users\eren0\AppData\Local\Temp\Convert-WindowsImage\756ac94b-a945-454b-b39a-ed1aed523475
PS>TerminatingError(Dismount-DiskImage): "Cannot bind argument to parameter 'ImagePath' because it is an empty string."
Dismount-DiskImage : Cannot bind argument to parameter 'ImagePath' because it is an empty string.
At D:\Easy-GPU-PV-main\CopyFilesToVM.ps1:36 char:35
Dismount-DiskImage : Cannot bind argument to parameter 'ImagePath' because it is an empty string.
At D:\Easy-GPU-PV-main\CopyFilesToVM.ps1:36 char:35
INFO : Done.
Windows PowerShell transcript end
End time: 20250121221609
The text was updated successfully, but these errors were encountered: