You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Most Lenovo driver packs extract to a subfolder in C:\DRIVERS\SCCM
Some however extract to a subfolder in C:\DRIVERS
The Invoke-OSDCloudDriverPack.ps1 assumes that all driver packs extract to s subfolder in C:\DRIVERS\SCCM
This results in the pnputil not finding any drivers and therefor will not install the extracted drivers.
To Reproduce
Steps to reproduce the behavior:
For instance, take the driver pack Lenovo T14s gen 1 (model 20UJ)
Extract: "tp_t14s_gen_1a_mt20uh-20uj_x13_gen_1a_mt20uf-20ug_w11_21_22_202310.exe" /SILENT /SUPPRESSMSGBOXES
The result is drivers in C:\Drivers\TP_T14S_GEN_1A_MT20UH-20UJ_X13_GEN_1A_MT20UF-20UG_W11_21_22_202310<datetime>\
The Invoke-OSDCloudDriverPack.log will contain the error 'cannot find C:\Drivers\SCCM' and therefor will not install any drivers.
Possible Solutions
This can be easily resolved in several ways:
Add '/DIR=C:\DRIVERS\SCCM' to the extraction process in Invoke-OSDCloudDriverPack.ps1, i.e.: Start-Process -FilePath $ExpandFile -ArgumentList "/SILENT /SUPPRESSMSGBOXES /DIR=C:\DRIVERS\SCCM" -Wait
Alter the #DestinationPath from: $DestinationPath = Join-Path $Item.Directory 'SCCM' to: $DestinationPath = "C:\DRIVERS"
The text was updated successfully, but these errors were encountered:
I tested extracting a couple Lenovo driver packs using Save-MyDriverPack and found that you also have to add the /VERYSILENT parameter in order to ignore a dialog box warning about the change of output location.
Describe the bug
Most Lenovo driver packs extract to a subfolder in C:\DRIVERS\SCCM
Some however extract to a subfolder in C:\DRIVERS
The Invoke-OSDCloudDriverPack.ps1 assumes that all driver packs extract to s subfolder in C:\DRIVERS\SCCM
This results in the pnputil not finding any drivers and therefor will not install the extracted drivers.
To Reproduce
Steps to reproduce the behavior:
For instance, take the driver pack Lenovo T14s gen 1 (model 20UJ)
Extract: "tp_t14s_gen_1a_mt20uh-20uj_x13_gen_1a_mt20uf-20ug_w11_21_22_202310.exe" /SILENT /SUPPRESSMSGBOXES
The result is drivers in C:\Drivers\TP_T14S_GEN_1A_MT20UH-20UJ_X13_GEN_1A_MT20UF-20UG_W11_21_22_202310<datetime>\
The Invoke-OSDCloudDriverPack.log will contain the error 'cannot find C:\Drivers\SCCM' and therefor will not install any drivers.
Possible Solutions
This can be easily resolved in several ways:
The text was updated successfully, but these errors were encountered: