Re: Slow registry access using StdRegProv

From: Doug Pickering (djpickering_at_nospam.nospam)
Date: 11/02/04


Date: Tue, 2 Nov 2004 07:55:01 -0800

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....

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. ... > The same hotfix is in SP2. ... >> You can try to run the script code in safe mode, to see if it is related ...
    (microsoft.public.scripting.wsh)
  • Re: Weird Unknown Error
    ... there actually was a hotfix just released yesterday that should resolve ... The symptoms described below on an SBS 2003 Server running on a system with ... Exchange, you can contact PSS and ask for the hotfix found on KB article ...
    (microsoft.public.windows.server.sbs)
  • "UNRESOLVE" message
    ... same symptoms and will also try to resolve. ... know what's causing this? ... and Windows ...
    (microsoft.public.security.virus)
  • 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)