Regression in 25H2 HLK Studio (26100.8328): Create Package crashes when adding driver folder, works in previous build 26100.7705

StevenS 20 Reputation points
2026-06-01T10:55:44.7833333+00:00

Hi Microsoft team,

We encountered a reproducible issue in the Windows 11 25H2 HLK environment after updating the HLK server from build 26100.7705 to 26100.8328.

Environment:

  • HLK Server OS: Windows Server 2019 Standard
  • HLK Controller Version: 10.1.26100.8328
  • HLK Studio Version: 10.0.26100.8328
  • Previously working: HLK build 26100.7705
  • Issue introduced: HLK build 26100.8328 (no OS change — only HLK server was updated)
  • Test client OS: Windows 11 25H2

User's image

Issue Summary:

After updating the HLK server to build 26100.8328, HLK Studio crashes during "Create Package" whenever a driver folder is added. If no driver folder is added, packaging completes successfully. This confirms the crash is specifically triggered by the "Add Driver Folder" step.

We also confirmed that packaging with a previously working driver — one that packaged successfully under build 26100.7705 — reproduces the same crash under 26100.8328.

Steps to Reproduce:

  1. Run HLK tests successfully in the 25H2 environment (build 26100.8328)
  2. Open the Package tab in HLK Studio
  3. Click Add Driver Folder and select a driver package
  4. Click Create Package → HLK Studio crashes with the exception below

Observed Behavior:

  • HLK tests complete successfully
  • DVL / CodeQL checks pass
  • Crash occurs regardless of signing option (including "Do not sign")
  • Creating a brand-new HLK project does not resolve the issue
  • Packaging without adding a driver folder succeeds
  • Packaging with a driver folder (including previously working drivers) always crashes

Exception Stack Trace:

System.InvalidOperationException: Token StartAttribute in state Element Content

would result in an invalid XML document.

at System.Xml.XmlWellFormedWriter.ThrowInvalidStateTransition(...)

at System.Xml.XmlWellFormedWriter.AdvanceState(...)

at System.Xml.XmlWellFormedWriter.WriteStartAttribute(...)

at Microsoft.Windows.Kits.Hardware.ObjectModel.Submission.PackageInfo.WritePackageInfoFile(...)

at Microsoft.Windows.Kits.Hardware.ObjectModel.Submission.PackageWriter.SavePackage(...)

at Microsoft.Windows.Kits.Hardware.ObjectModel.Submission.PackageWriter.Save(...)

at Microsoft.Windows.Kits.Hardware.UI.Views.PackageView.CreateSubmissionPackage(...)

at Microsoft.Windows.Kits.Hardware.UI.Views.PackageView.CreatePackage(...)

(Truncated for brevity — full stack trace and event log available upon request.)

Additional Log Entries (from HLK Event Log):

  • Failure closing INF file '[DriverA].inf' with error code: 0
  • Failure closing INF file '[DriverB].inf' with error code: 0
  • Package write attempted using SQLite Packager format version 5.0.0.0

Questions:

  1. Is this a known issue in HLK 25H2 build 26100.8328?
  2. Is there a hotfix or updated HLK server build that addresses this "WritePackageInfoFile" crash?

Thank you for your assistance.

Windows development | Windows Driver Kit (WDK)
0 comments No comments

1 answer

Sort by: Oldest
  1. Taki Ly (WICLOUD CORPORATION) 4,440 Reputation points Microsoft External Staff Moderator
    2026-06-02T03:45:07.8666667+00:00

    Hello @StevenS ,

    Thank you for sharing the detailed report and the stack trace regarding the HLK Studio crash during the "Create Package" process.

    The exception System.InvalidOperationException: Token StartAttribute in state Element Content typically relates to XML formatting. In this context, it suggests that there might be an unexpected behavior occurring when WritePackageInfoFile attempts to process the package data after a driver folder is added.

    At this time, it does not appear that there are widely published Known Issues focusing on this specific crash for the HLK 26100.8328 release. To help isolate the potential cause, I would recommend considering the following steps:

    1. Potential mitigation for your workflow: Since this is currently blocking your validation process, you might want to consider temporarily rolling back your HLK environment (both Server and Client) to build 26100.7705, as you noted that the driver packaged successfully in that version.

    2. Further isolation on Build 8328: If you have the opportunity to test further on the newer build, I suggest reviewing the driver folder setup. Sometimes, unexpected file types (like extraneous .pdb or hidden files) or long directory paths might trigger edge-case behaviors. You might try moving the driver package to a simplified, short path (e.g., C:\TestDriver\) to see if the crash still occurs.

    Additionally, exporting the full logs from Windows Event Viewer -> Applications and Services Logs -> HLK might provide more clues about the state of the application right before it closes.

    3. Engaging Official Support: If the issue is consistently reproducible regardless of the folder setup, it may be beneficial to reach out to the official support team so they can investigate this on a deeper level. I suggest submitting a support request through this channel: Windows developer support - Contact Us

    Providing them with the full stack trace, the Event Logs, and any dump files might assist the engineers in reproducing the behavior and checking if a hotfix could be necessary.

    Hope these information help! If you found my response helpful or informative, I would greatly appreciate it if you could follow this guide for your confirmation.

    Thank you.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.