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

Đang mở
#339 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
powershell
Lĩnh vực
devops

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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?

Ngôn ngữ chính
PowerShell
Star
251
Fork
102
Merge trung bình
2 phút
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của OSDeploy/OSD

Tất cả issue của OSDeploy/OSD

Issue tương tự

Thêm issue về DevOps

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.