Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

Upcoming OSR Seminars:

Writing WDF Drivers I: Core Concepts, Nashua, NH 15-19 May, 2017
Writing WDF Drivers II: Advanced Implementation Tech., Nashua, NH 23-26 May, 2017
Kernel Debugging and Crash Analysis, Dulles, VA 26-30 June, 2017
Windows Internals & Software Driver Development, Nashua, NH 24-28 July, 2017


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 4  
15 May 17 08:53
George Bittencourt
xxxxxx@georgeluiz.com
Join Date: 20 Apr 2017
Posts To This List: 6
Driver Update

Hello, I am new to Windows driver development and I have a question regarding driver update. I need to update a running driver to a newer version without booting. Are there any best practices I need to follow to allow updating drivers without boot? Thanks, -- -George --
  Message 2 of 4  
15 May 17 09:24
N. W.
xxxxxx@outlook.com
Join Date: 04 May 2017
Posts To This List: 27
Driver Update

You have the DiInstallDriver API which, according to the documentation, seems to meet your requirements. https://msdn.microsoft.com/en-us/library/windows/hardware/ff544717(v=vs.85).aspx But let me recommend DEVCON.EXE. Actually DEVCON.EXE never installs drivers but updates drivers, even for new devices. Look at the "cmdUpdate" function: https://github.com/Microsoft/Windows-driver-samples/blob/master/setup/devcon/cmds .cpp W. N.
  Message 3 of 4  
15 May 17 09:36
Rohan Kumbhar
xxxxxx@gmail.com
Join Date: 01 Aug 2014
Posts To This List: 73
Driver Update

Hi George, The loaded driver has to be unloaded before update. Thanks! Regards, Rohan Kumbhar. On Mon, May 15, 2017 at 6:23 PM, George Luiz Bittencourt < xxxxx@georgeluiz.com> wrote: > Hello, > > I am new to Windows driver development and I have a question regarding > driver update. I need to update a running driver to a newer version without > booting. > > Are there any best practices I need to follow to allow updating drivers > without boot? > > Thanks, <...excess quoted lines suppressed...> --
  Message 4 of 4  
15 May 17 09:59
S. J.
xxxxxx@outlook.com
Join Date: 03 May 2017
Posts To This List: 28
Driver Update

Just be sure there isn’t any opened handle to any device object created by the driver or any outstanding reference. J. S.
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntdev list to be able to post.

All times are GMT -5. The time now is 22:48.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license