Sysinternals Homepage
Forum Home Forum Home > Windows Discussions > Troubleshooting
  New Posts New Posts RSS Feed - Slow Win7 boot Cryptographic Service i/o hotfix?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Slow Win7 boot Cryptographic Service i/o hotfix?

 Post Reply Post Reply Page  123 4>
Author
Message
tamahome View Drop Down
Senior Member
Senior Member


Joined: 06 January 2006
Status: Offline
Points: 316
Post Options Post Options   Thanks (0) Thanks(0)   Quote tamahome Quote  Post ReplyReply Direct Link To This Post Topic: Slow Win7 boot Cryptographic Service i/o hotfix?
    Posted: 29 February 2012 at 12:07am
Any Win7 hotfixes relating to slow boot, disk i/o, and the Cryptographic Service?

Back to Top
MagicAndre1981 View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 January 2007
Location: Germany
Status: Offline
Points: 2026
Post Options Post Options   Thanks (0) Thanks(0)   Quote MagicAndre1981 Quote  Post ReplyReply Direct Link To This Post Posted: 29 February 2012 at 12:18pm
Boot:
http://www.msfn.org/board/topic/152622-hotfixes-for-faster-windows-7-bootstartup/

IO:
Windows 7 or Windows Server 2008 R2 stops responding when an application performs many I/O operations to a network share

KB2564236 - IO throughput is low when large files are read sequentially in Windows 7 or in Windows Server 2008 R2

Crypt:
KB2507119 - Outlook crashes when you try to open a compressed email message that is created by a third-party Outlook add-in in Windows Vista, in Windows Server 2008, in Windows 7

KB2545833 - Slow performance occurs when many user authentication requests are handled in Windows Server 2008 R2

KB2615174 - "0x80092013, CRYPT_E_REVOCATION_OFFLINEA" error message when you try to verify a certificate that has multiple chains in Windows Server 2008 R2 or in Windows 7



Edited by MagicAndre1981 - 29 February 2012 at 12:19pm
Back to Top
tamahome View Drop Down
Senior Member
Senior Member


Joined: 06 January 2006
Status: Offline
Points: 316
Post Options Post Options   Thanks (0) Thanks(0)   Quote tamahome Quote  Post ReplyReply Direct Link To This Post Posted: 29 February 2012 at 5:21pm
Thanks.  KB2564236 seems interesting, but didn't help with CryptSvc reading the $MFT.  I might use it elsewhere.

Back to Top
MagicAndre1981 View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 January 2007
Location: Germany
Status: Offline
Points: 2026
Post Options Post Options   Thanks (0) Thanks(0)   Quote MagicAndre1981 Quote  Post ReplyReply Direct Link To This Post Posted: 29 February 2012 at 5:34pm
make a xperf tarce to see what CryptSvc does:

http://blogs.msdn.com/b/ntdebugging/archive/2009/08/17/xperf-to-investigate-slow-i-o-issues.aspx
Back to Top
tamahome View Drop Down
Senior Member
Senior Member


Joined: 06 January 2006
Status: Offline
Points: 316
Post Options Post Options   Thanks (0) Thanks(0)   Quote tamahome Quote  Post ReplyReply Direct Link To This Post Posted: 29 February 2012 at 5:40pm
This is during boot.  (Doesn't matter if CryptSvc starts auto-delayed.)

Maybe it has something to do with the catroot folders?  It seems to touch those a lot.  I have a ton of apps installed.  (Certificates?)

C:\Windows\system32\catroot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\ (8000 files, 300 megs)
C:\Windows\system32\catroot2\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\catdb  (this is a big file, 200 megs)

Mft is almost 1 gig.

The stack has things like _CatDBSyncDB() from cryptsvc.dll?

Hmm, I can boot/login 60 seconds faster if I rename the catroot folders (not recommended).



Edited by tamahome - 02 March 2012 at 8:40pm
Back to Top
MagicAndre1981 View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 January 2007
Location: Germany
Status: Offline
Points: 2026
Post Options Post Options   Thanks (0) Thanks(0)   Quote MagicAndre1981 Quote  Post ReplyReply Direct Link To This Post Posted: 29 February 2012 at 8:43pm
yes, during boot Windows scans and validates the cat files.The file C:\Windows\system32\catroot2\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\catdb  is only 25MB for me.

Which apps have you installed?
Back to Top
tamahome View Drop Down
Senior Member
Senior Member


Joined: 06 January 2006
Status: Offline
Points: 316
Post Options Post Options   Thanks (0) Thanks(0)   Quote tamahome Quote  Post ReplyReply Direct Link To This Post Posted: 29 February 2012 at 9:23pm
Lots of stuff.  Office, Visual Studio, Adobe Creative Suite, .NET 4, foreign language packs...



Edited by tamahome - 02 March 2012 at 7:47pm
Back to Top
MagicAndre1981 View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 January 2007
Location: Germany
Status: Offline
Points: 2026
Post Options Post Options   Thanks (0) Thanks(0)   Quote MagicAndre1981 Quote  Post ReplyReply Direct Link To This Post Posted: 01 March 2012 at 11:57am
do all those tools install new cat files?
Back to Top
tamahome View Drop Down
Senior Member
Senior Member


Joined: 06 January 2006
Status: Offline
Points: 316
Post Options Post Options   Thanks (0) Thanks(0)   Quote tamahome Quote  Post ReplyReply Direct Link To This Post Posted: 01 March 2012 at 12:02pm
I don't know.  I can test it sometime.  I would think anyone in enterprise has the same problem.

If I run CryptSvc as 'CryptSvc.exe' instead of 'svchost.exe', it's at the top of the xperf disk summary table.



Edited by tamahome - 01 March 2012 at 12:39pm
Back to Top
MagicAndre1981 View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 January 2007
Location: Germany
Status: Offline
Points: 2026
Post Options Post Options   Thanks (0) Thanks(0)   Quote MagicAndre1981 Quote  Post ReplyReply Direct Link To This Post Posted: 01 March 2012 at 3:50pm
I've never seen this. You're the first with such an large file.

The CatDBSyncDB internnaly calls _CatDBDeleteInvalidCatalogFilesFromDatabase which Opens a Jet database file (C:\Windows\system32\catroot2\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\catdb).

Do you have a 4k HDD? Jet and 4k maybe an issue. Have you installed the 4K update http://support.microsoft.com/kb/982018?
Back to Top
 Post Reply Post Reply Page  123 4>
  Share Topic   

Forum Jump Forum Permissions View Drop Down