Re: Slow registry access using StdRegProv

From: Al Dunbar [MS-MVP] (alan-no-drub-spam_at_hotmail.com)
Date: 11/03/04


Date: Tue, 2 Nov 2004 18:41:27 -0700


"Doug Pickering" <djpickering@nospam.nospam> wrote in message
news:3CE937BF-253F-4332-B55E-65A8E93FB29E@microsoft.com...
> Thanks to all for your help and suggestions.
>
> For reference here are the symptoms in more detail:
>
> On the best machine I could find with XP and SP1 installed the time take
to
> read 64 registry values from the HKLM hive was 9 seconds.
>
> On many machines the same was taking in excess of 100 seconds.
>
> On NT, the same was less than 1 second
>
> On XP SP2, the same was less than a second.
>
> Taking a machine that took 100 seconds I was able to deduce that a newly
> created user on the same machine only took 10 seconds. This indicated
that
> something in the profile was causing the problem.
>
> I eliminated files in the profile until I found that usrclass.dat was the
> issue. AS this is a hive installed under HKCU\Software\Classes I tried to
> find out what was wrong here.
>
> After much trial and error I concluded that it was the amount of subkeys
> under HKCU\Software\Classes\CLSID that was causing the issue. If I
renamed
> this key, a time of 90 seconds changed to 10 seconds, the best I had under
> SP1.
>
> Searching the KB I found article 836051 which discussed a performance
issue
> creating keys under HKCU\Software\Classes. Although not directly
describing
> the symptoms, it pointed to a hotfix for KB 819536 as having code that
would
> resolve the issue.
>
> The hotfix for KB 819536 has now resolved my issue and now the test of 64
> reads returns in less than a second.
>
> The same hotfix is in SP2.
>
> I hope this helps others....

Nice explanation, I am sure it will.

/Al

> Doug
>
> "[MSFT]" wrote:
>
> > You can try to run the script code in safe mode, to see if it is related
to
> > other applications/services running on the computer, for example, some
> > antivirus software.
> >
> > Luke
> >
> >



Relevant Pages

  • Re: Slow registry access using StdRegProv
    ... For reference here are the symptoms in more detail: ... something in the profile was causing the problem. ... resolve the issue. ... The hotfix for KB 819536 has now resolved my issue and now the test of 64 ...
    (microsoft.public.scripting.wsh)
  • Re: IE crashes frequently on XP
    ... Just to be sure that the machine is malware free: ... Then look at any programs that might be causing a problem with IE. Look at ... The progression of symptoms is always identical. ... > symptoms as the first window. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Something to think about(long)
    ... and something is still causing the conduction defect in the ... the tissue, cause symptoms depending on the organ. ... last couple of years I have been feeling awful. ... a reasonable explanation of what was causing the symptoms. ...
    (alt.med.fibromyalgia)
  • Event Id 8331 for MsExchangeAL - Hotfix Available 837444
    ... A new hotfix is available that may affect a number of SBS 2003 ... The symptoms described below on an SBS 2003 Server running on a system with ...
    (microsoft.public.windows.server.sbs)
  • Re: Exchange event 8331
    ... A new hotfix is available that may affect a number of SBS 2003 ... The symptoms described below on an SBS 2003 Server running on a system ...
    (microsoft.public.windows.server.sbs)