Jump-start your project by learning from devs who
write Windows drivers and file systems every day.
Take an OSR seminar!

OSR is Hiring! Click here to find out more.

Windows Internals & Software Drivers Lab, Santa Clara, CA 5-9 August, 2013
Kernel Debugging & Crash Analysis for Windows Lab, Santa Clara, CA 9-13 September, 2013
Upcoming OSR Seminars:
Writing WDF Drivers for Windows Lab, Boston, MA 7-11 October, 2013
Developing File Systems for Windows, Seattle, WA 5-8 November, 2013


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 6  
11 Jul 12 09:19
sethu raman
xxxxxx@gmail.com
Join Date: 26 Mar 2012
Posts To This List: 74
UpdateDriverForPlugAndPlayDevices Installs the driver slowly

Hi All, I used this link http://support.microsoft.com/kb/304294 as reference to install the driver. It uses UpdateDriverForPlugAndPlayDevices API to install the driver. But the problem here is it takes nearly 3-4 minutes to complete the process. Is there a way to make this fast?
  Message 2 of 6  
11 Jul 12 10:11
Alex Grig
xxxxxx@broadcom.com
Join Date: 14 Apr 2008
Posts To This List: 1835
RE: UpdateDriverForPlugAndPlayDevices Installs the driver slowly

Ask Microsoft to fix their extremely slow (like O(N^3)) registry snapshot.
  Message 3 of 6  
12 Jul 12 03:58
Maxim S. Shatskih
xxxxxx@storagecraft.com
Join Date: 20 Feb 2003
Posts To This List: 8629
Re: UpdateDriverForPlugAndPlayDevices Installs the driver slowly

Is there any registry snapshots? I think it is TxR, not snapshots. -- Maxim S. Shatskih Windows DDK MVP xxxxx@storagecraft.com http://www.storagecraft.com <xxxxx@broadcom.com> wrote in message news:179592@ntdev... > Ask Microsoft to fix their extremely slow (like O(N^3)) registry snapshot. > >
  Message 4 of 6  
12 Jul 12 11:07
Alex Grig
xxxxxx@broadcom.com
Join Date: 14 Apr 2008
Posts To This List: 1835
RE: UpdateDriverForPlugAndPlayDevices Installs the driver slowly

WHen a driver gets installed/reinstalled, registry snapshot is taken. On a system with many leftover device instances (for example, I had a couple thousand volume/DISK instances as a result of testing) it can take over 20 minutes. If you break into debugger, the registry lock is taken, and the thread that owns it is running functions appropriately named for taking a snapshot.
  Message 5 of 6  
12 Jul 12 18:35
dan
xxxxxx@gmail.com
Join Date: 12 Aug 2010
Posts To This List: 103
Re: UpdateDriverForPlugAndPlayDevices Installs the driver slowly

Yeah it will be where you get the awesomely useful "Use last known good configuration" boot option from On Fri, Jul 13, 2012 at 3:07 AM, <xxxxx@broadcom.com> wrote: > WHen a driver gets installed/reinstalled, registry snapshot is taken. > On a system with many leftover device instances (for example, I had a > couple thousand volume/DISK instances as a result of testing) it can take > over 20 minutes. If you break into debugger, the registry lock is taken, > and the thread that owns it is running functions appropriately named for > taking a snapshot. > > --- > NTDEV is sponsored by OSR > <...excess quoted lines suppressed...> --
  Message 6 of 6  
13 Jul 12 04:03
Maxim S. Shatskih
xxxxxx@storagecraft.com
Join Date: 20 Feb 2003
Posts To This List: 8629
Re: UpdateDriverForPlugAndPlayDevices Installs the driver slowly

LastKnownGood is implemented by ControlSet%d subtrees. -- Maxim S. Shatskih Windows DDK MVP xxxxx@storagecraft.com http://www.storagecraft.com "Daniel Newton" <xxxxx@gmail.com> wrote in message news:179665@ntdev... Yeah it will be where you get the awesomely useful "Use last known good configuration" boot option from On Fri, Jul 13, 2012 at 3:07 AM, <xxxxx@broadcom.com> wrote: WHen a driver gets installed/reinstalled, registry snapshot is taken. On a system with many leftover device instances (for example, I had a couple thousand volume/DISK instances as a result of testing) it can take over 20 minutes. If you break into debugger, the registry lock is taken, and the thread that owns it is running functions appropriately named for taking a snapshot. --- NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer --
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 23:12.


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