Wirelessconnect.exe Download Failure

Aperta
#346 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
powershell

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
PowerShell
Stelle
251
Fork
102
Merge medio
2m
PR unite (30g)
4

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OSDeploy/OSD

Tutte le issue di OSDeploy/OSD

Issue simili

Altre issue su DevOps

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.