Wirelessconnect.exe Download Failure

Đang mở
#346 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
powershell
Lĩnh vực
infrastructure

Hướng nghiên cứu

The failing download is the curl.exe call in Public/Functions/Other/Save-WebFile.ps1 (around line 134), reached from New-OSDCloudTemplate in Public/OSDCloudSetup/OSDCloudTemplate.ps1 (around line 551) when -WinRE is set. Read how the WinRE wireless branch chooses its source URL, then check whether a switch to skip that third-party download is feasible. Done would mean the template builds without fetching WirelessConnect.exe, or fails with a clear message, and the change is confirmed on a Windows host with the OSD module loaded.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Issue:
Wireless.exe download failing

No proxy server, no SSL inspection basic internet connection.

Repro steps:
New-OSDCloudTemplate -Name 'OSDWinRE' -WinRE

Ideal fix:
maybe a switch to not download wireless.exe from a third-party? my use case is perfectly ok to just use the wifiprofile option later on with Edit-OSDCloudWinPE,

More information:
[5/02/2026 6:31:13 PM] WinRE Wireless
These files need to be added to support Wireless
C:\Windows\System32\dmcmnutils.dll
C:\Windows\System32\mdmpostprocessevaluator.dll
C:\Windows\System32\mdmregistration.dll
Downloading https://github.com/okieselbach/Helpers/raw/master/WirelessConnect/WirelessConnect/bin/Release/WirelessConnect.exe
VERBOSE: SourceUrl: https://github.com/okieselbach/Helpers/raw/master/WirelessConnect/WirelessConnect/bin/Release/WirelessConnect.exe
VERBOSE: DestinationName:
VERBOSE: DestinationDirectory: C:\Users\CMMON\AppData\Local\Temp\Mount1301622516\Windows
VERBOSE: Overwrite: False
VERBOSE: WebClient: False
VERBOSE: Directory already exists at C:\Users\CMMON\AppData\Local\Temp\Mount1301622516\Windows
VERBOSE: Destination Directory is writable at C:\Users\CMMON\AppData\Local\Temp\Mount1301622516\Windows
VERBOSE: DestinationName: WirelessConnect.exe
VERBOSE: Testing file at https://github.com/okieselbach/Helpers/raw/master/WirelessConnect/WirelessConnect/bin/Release/WirelessConnect.exe
VERBOSE: cURL Source: https://github.com/okieselbach/Helpers/raw/master/WirelessConnect/WirelessConnect/bin/Release/WirelessConnect.exe
VERBOSE: Destination: C:\Users\CMMON\AppData\Local\Temp\Mount1301622516\Windows\WirelessConnect.exe
VERBOSE: Requesing HTTP HEAD to get Content-Length and Accept-Ranges header
VERBOSE: HEAD with 0-byte payload
VERBOSE: received 857600-byte response of content type application/octet-stream

--- BEGIN DIAGNOSTICS ---

PSMessageDetails :
Exception : System.Management.Automation.RemoteException: % Total % Received % Xferd Average Speed Time Time Time
Current
TargetObject : % Total % Received % Xferd Average Speed Time Time Time Current
CategoryInfo : NotSpecified: ( % Total % ... Time Current:String) [], RemoteException
FullyQualifiedErrorId : NativeCommandError
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
ScriptStackTrace : at , : line 1
at Save-WebFile, C:\Program Files\WindowsPowerShell\Modules\OSD\26.2.3.2\Public\Functions\Other\Save-WebFile.ps1: line 134
at New-OSDCloudTemplate, C:\Program
Files\WindowsPowerShell\Modules\OSD\26.2.3.2\Public\OSDCloudSetup\OSDCloudTemplate.ps1: line 551
at , : line 3
PipelineIterationInfo : {}

Invocation: :1
Command: & curl.exe --insecure --location --output "C:\Users\CMMON\AppData\Local\Temp\Mount1301622516\Windows\WirelessConnect.exe" --url "http
s://github.com/okieselbach/Helpers/raw/master/WirelessConnect/WirelessConnect/bin/Release/WirelessConnect.exe" 2>&1
Exception: System.Management.Automation.RemoteException
Message: % Total % Received % Xferd Average Speed Time Time Time Current
LastExitCode: -1
--- END DIAGNOSTICS ---

curl.exe : % Total % Received % Xferd Average Speed Time Time Time Current
At line:1 char:1

  • & curl.exe --insecure --location --output "C:\Users\CMMON\AppData\ ...
  •   + CategoryInfo          : NotSpecified: (  % Total    % ...  Time  Current:String) [], RemoteException
      + FullyQualifiedErrorId : NativeCommandError
Ngôn ngữ chính
PowerShell
Star
251
Fork
102
Merge trung bình
2 phút
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OSDeploy/OSD

Tất cả issue của OSDeploy/OSD

Issue tương tự

Thêm issue về DevOps

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.