Avoiding Reboot when Updating a UMDF Driver

To avoid a required reboot when you update a UMDF driver, specify the COPYFLG_IN_USE_RENAME flag in the CopyFiles Directive in your driver's INF file, as shown in this example:

[VirtualSerial_Install.NT]
CopyFiles=UMDriverCopy
 
[UMDriverCopy]
Virtualserial.dll,,,0x00004000  ; COPYFLG_IN_USE_RENAME