-
Notifications
You must be signed in to change notification settings - Fork 97
Description
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