Comments (13)
Ahh, so you won't get many of the changes if you are using the Start-OSDCloud function as I plan on killing that off. It will be replaced in the future with Start-OSCloudCLI. Keep in mind the new function should not be used for anything production related until it is released, but you can test it out and see how it works for now. As far as killing off Start-OSDCloud, I won't remove it, but it will not get any new OS's added and it will not be linked to Azure AI, and obviously the updated driver pack matching won't work
from osd.
This is a known issue where OSDCloud will pick the latest released Driver Pack. While selecting the Win10 DriverPack is ideal for this 1 Model, there are other models where a Win10 DriverPack is several years old, and a more recent Win11 DriverPack is available. In that example, what should be selected? The DriverPack several years old?
As a workaround you can use OSDCloudGUI. If you are set on the Command Line and are using your own PowerShell Script as a wrapper, then write a few lines in before launching OSDCloud to set the DriverPack for your specific model. There are Global Variables you can set to do this.
from osd.
The released dates are the same. But somehow the W11 pack will downloaded, which is in this customer case wrong.
Because the Win11 driver packs cannot be applied for Win10 OS. The specialize phase fails.
I was decided against using the DriverPack* global variables. Because I need the flexibility for different HWs.
So, my wrapper looks like so and it works:
$Params = @{
OSVersion = "Windows 10"
OSBuild = "21H2"
OSEdition = "Pro"
OSLanguage = "de-de"
ZTI = $true
Firmware = $true
}
Start-OSDCloud @params
$Get_Product_Info = (Get-MyComputerProduct)
Invoke-OSDCloudDriverPack.ppkg does the magic ;-)
from osd.
Yes, the Release Date is the same, but in a single file line, there can't be a tie. One of them has to "win"
from osd.
Again, I am aware of this and will resolve when time allows, and assuming this is the top Priority. I'm tight on time, and since there are workarounds that can be done, the Priority is not high. OSDCloudGUI allows the selection, I apologize if the Command Line doesn't, but if you want to spend time updating the script and make a Pull Request, feel free, I'd appreciate it.
from osd.
Hi @AkosBakos
Would you be so kind as to re-paste your workaround above in a code block. There is some non-rendered text, which makes it hard to evaluate. Thanks!
from osd.
Sure, @skyblaster - here we are:
$DriverPack = Get-OSDCloudDriverPacks`
| Where-Object {($.Product -contains $Get_Product_Info) -and ($.OS -match $Params.OSVersion)}
Or either look at this script here:
https://github.com/AkosBakos/OSDCloud/blob/main/MicrosoftSurfaceDriverIssue.ps1
from osd.
I've made changes to the DriverPack selection in this month's OSDCloud update, can you please revalidate to see if this is still an issue?
from osd.
I encountered this issue with a Dell 3520 using OSD 23.3.29.1.
I'm using OSDPad to call a script with the following contents, however the Win11 driver pack was automatically downloaded:
Start-OSDCloud -OSVersion 'Windows 10' -OSBuild 22H2 -OSEdition Pro -OSLanguage en-us -OSLicense Retail -Firmware -Verbose
from osd.
I'd love to test Start-OSDCloudCLI, but can't seem to figure out how to get around the following:
OSD/Public/Start-OSDCloudCLI.ps1
Line 14 in a89b127
OSD/Public/Start-OSDCloudCLI.ps1
Line 711 in a89b127
from osd.
I'd love to test Start-OSDCloudCLI, but can't seem to figure out how to get around the following:
OSD/Public/Start-OSDCloudCLI.ps1
Line 14 in a89b127
OSD/Public/Start-OSDCloudCLI.ps1
Line 711 in a89b127
It's not ready yet ... expect bugs
from osd.
Hi @OSDeploy
We're encountering the same problem where a Windows 11 driver pack is being installed on a Windows 10 device, even though the Windows 10 driver pack is actually more up-to-date. This mismatch is causing various issues.
Is it now possible to check which OS version is installed and, based on that information, obtain the appropriate driver pack?
We use the Start-OSDCloud (Invoke-OSDCloud)
from osd.
@StevenVBeek, have you resolved your issue yet? I'm looking at the underlining code, and you should be able to do this today by pre-setting some variables before you call Start-OSDCloud
Here is a snip from my script to trigger OSDCloud on my HP Devices:
#Variables to define the Windows OS / Edition etc to be applied during OSDCloud
$OSVersion = 'Windows 10' #Used to Determine Driver Pack
$OSReleaseID = '22H2' #Used to Determine Driver Pack
$OSName = 'Windows 10 22H2 x64'
$OSEdition = 'Pro'
$OSActivation = 'Retail'
$OSLanguage = 'en-us'
#Used to Determine Driver Pack
$Product = (Get-MyComputerProduct)
$DriverPack = Get-OSDCloudDriverPack -Product $Product -OSVersion $OSVersion -OSReleaseID $OSReleaseID
#Set OSDCloud Vars
$Global:MyOSDCloud = [ordered]@{
Restart = [bool]$False
RecoveryPartition = [bool]$true
OEMActivation = [bool]$True
WindowsUpdate = [bool]$true
WindowsUpdateDrivers = [bool]$true
WindowsDefenderUpdate = [bool]$true
SetTimeZone = [bool]$False
ClearDiskConfirm = [bool]$False
}
if ($DriverPack){
$Global:MyOSDCloud.DriverPackName = $DriverPack.Name
}
#Enable HPIA | Update HP BIOS | Update HP TPM
if (Test-HPIASupport){
#$Global:MyOSDCloud.DevMode = [bool]$True
$Global:MyOSDCloud.HPTPMUpdate = [bool]$True
$Global:MyOSDCloud.HPIAALL = [bool]$true
$Global:MyOSDCloud.HPBIOSUpdate = [bool]$true
}
#write variables to console
$Global:MyOSDCloud
#Launch OSDCloud
Write-Host "Starting OSDCloud" -ForegroundColor Green
write-host "Start-OSDCloud -OSName $OSName -OSEdition $OSEdition -OSActivation $OSActivation -OSLanguage $OSLanguage"
Start-OSDCloud -OSName $OSName -OSEdition $OSEdition -OSActivation $OSActivation -OSLanguage $OSLanguage
from osd.
Related Issues (20)
- Add method to update Store Apps automatically on first logon HOT 1
- Block-NoInternet function is providing false results HOT 4
- Lenovo failing to boot after driver installation HOT 1
- Link broken HOT 1
- Windows 11 23H2 Get-WindowsImage: The data is invalid HOT 3
- Saving OS and driverpacks to network share HOT 4
- SHA1 Hash Check of ESD file after download
- Start-OSDCloudGUI on HP Elitebook 860 G11 HOT 4
- Install all dot net feature updates durring install HOT 1
- Setup Complete Options for Start-OSDCloud with ZTI parameter HOT 1
- OSDCloud Azure is currently broken due to az account 3.00 HOT 2
- Multiple hard drive detection - M.2 nvme SSD/SATA SSD/HDD detection on main OSDCloud GUI with combo box HOT 6
- WinPE 10.1.26100.1 Error in Deployment phase Export HOT 3
- Using `Edit-OSDCloudWinPE -StartURL` breaks installation if the network is slow HOT 3
- case-insensitive HP DriverPack auto-detection via product HOT 2
- Length Error for HPCMSL HOT 6
- The direct downloads links for several Microsoft Surface models no longer work. HOT 1
- -ZTI always downloads the esd instead of choosing the custom wim. HOT 3
- Start-WindowsUpdate and Driver not working HOT 1
- Using 'Edit-OSDCloudWinPE -StartURL' with Blob Storage SAS URL does not work. (2 Issues)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osd.