Avoid Reboot and DDInstall Reboot flags does not work .

Neha Khandelwal 0 Reputation points
2023-03-27T17:33:11.53+00:00

I was trying to make my device driver updates have consistent behavior when it comes to the restart of the Host PC. Tried either avoiding reboot using the COPYFLG_IN_USE_RENAMEc, but it works and sometimes does not.

Tried another approach with flag DDINstall reboot flag, and the inconsistent behavior is observed here too.

And Last tried with SERVICE_BOOT_START also still same inconsistencies with reboots.

Can you please share if something is missed in configuration or what is correct way to achieve it

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,468 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,221 Reputation points
    2023-03-28T15:08:58.8366667+00:00

    Hello there,

    If the files in the driver package are not run from the Driver Store, assign a new file name to each new version of a class installer or co-installer, or a service DLL. This avoids the need for a system restart if an older version is in use. (In fact, if a new file name is not used for an updated class installer or class co-installer, these new files will not be used for the installation.)

    To avoid system restarts during device installations, use the following rules from the article.

    https://learn.microsoft.com/en-us/windows-hardware/drivers/install/avoiding-system-restarts-during-device-installations

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer--


Your answer

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