#772·Winhance

[FEATURE] Disable co-installers

Author: oyxnautCreated Aug 27, 2026Updated Aug 27, 2026

Please confirm these before moving forward

  • I have searched for similar feature requests and have not found a duplicate.

Feature Type

New functionality

Describe your feature request

Drivers can install additional software, which is not always desirable. By adding the following sections to the offlineServicing, generalize, and specialize passes, these co-installers can be fully disabled during setup.

xml
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
  <RunSynchronous>
    <RunSynchronousCommand wcm:action="add">
      <Order>1</Order>
        <Path>reg.exe add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Device Installer" /v DisableCoInstallers /t REG_DWORD /d 1 /f</Path>
    </RunSynchronousCommand>
  </RunSynchronous>
</component>

Use case

By disabling co-installers, users won't get bundled, or vulnerable, software just by plugging in a device. (c.f. the LG and McAfee story, or https://plugandpwn.com/)

Software Details (Only for 'New software to be added' requests)

No response

Additional context

No response