Re: Slow registry access using StdRegProv
From: Al Dunbar [MS-MVP] (alan-no-drub-spam_at_hotmail.com)
Date: 11/03/04
- Next message: Ulf Dornheck Busscher: "Re: Access non Current User sections of the Regsitry"
- Previous message: Michael Harris \(MVP\): "Re: can someone help me read ther event log? seems easy based on what I read...."
- In reply to: Doug Pickering: "Re: Slow registry access using StdRegProv"
- Next in thread: Al Dunbar [MS-MVP]: "Re: Slow registry access using StdRegProv"
- Reply: Al Dunbar [MS-MVP]: "Re: Slow registry access using StdRegProv"
- Messages sorted by: [ date ] [ thread ]
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
> >
> >
- Next message: Ulf Dornheck Busscher: "Re: Access non Current User sections of the Regsitry"
- Previous message: Michael Harris \(MVP\): "Re: can someone help me read ther event log? seems easy based on what I read...."
- In reply to: Doug Pickering: "Re: Slow registry access using StdRegProv"
- Next in thread: Al Dunbar [MS-MVP]: "Re: Slow registry access using StdRegProv"
- Reply: Al Dunbar [MS-MVP]: "Re: Slow registry access using StdRegProv"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|