How can i prevent HP softpaqs from being copied to USB from C:\Drivers\ after download?

未关闭
#339 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
powershell
领域
devops

调研方向

The relevant log line is 'Copying Driver Pack C:\Drivers\sp157866.exe to OSDCloudUSB', so the code that stages driver packs onto the USB drive is the starting point. Find where that copy happens and whether it can be skipped or made optional without changing the default. Done means a documented way to keep HP softpaqs on C:\Drivers without USB staging, which the maintainers would need to agree on first.

由索引模型根据 Issue 内容生成。

描述

Hi. Not sure if this is possible, but i do not want the HP softpaqs after downloaded to be copied over to the USB drive, if one is attached.

For example here are the snippets in the log, see last line:

OSDCloud DriverPack
DriverPack has been matched to HP EliteBook Ultra G1i 14 inch Notebook Next Gen AI PC Win11 24H2 sp157866
Matching DriverPack identified
-Name HP EliteBook Ultra G1i 14 inch Notebook Next Gen AI PC Win11 24H2 sp157866
-BaseName sp157866
-Product 8CE0
-FileName sp157866.exe
-Url https://ftp.hp.com/pub/softpaq/sp157501-158000/sp157866.exe
Testing Paths:
  D:\OSDCloud\DriverPacks\DISM\HP\8CE0
  D:\OSDCloud\DriverPacks\DISM\HP\HP EliteBook Ultra G1i 14 inch Notebook Next Gen AI PC
  D:\OSDCloud\DriverPacks\DISM\HP\sp157866
**[1/19/2026 7:25:20 AM] Copying Driver Pack C:\Drivers\sp157866.exe to OSDCloudUSB at D:\OSDCloud\DriverPacks\HP**

If i remove the USB drive before this step, the HP softpaq is not copied over to the USB drive, and it remains on C:.
This is the behavior i want.

For our environment, the USB is used to boot and that is it.
We do not want it to stage any drivers.

Is this possible?

主要语言
PowerShell
星标
251
派生
102
平均合并
2 分钟
30 天内合并 PR
4

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

OSDeploy/OSD 的其他 Issue

查看 OSDeploy/OSD 的全部 Issue

相似的 Issue

更多 DevOps Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。