• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
MagicAndre1981

How to speed up boot process under Windows Vista or Windows 7

673 posts in this topic

no. I emailed this to a MSFT employee who works on WPT, but he has not answered. Xperf is the CLI tool to start traces. The functions to start traces are in the Windows kernel. So it is an issue with Windows. Can you open the dmp with WinDbg and look if you also get the USB issue?

0

Share this post


Link to post
Share on other sites

I have downloaded debugging tools but dont know how to analyse the dump for the information you require

0

Share this post


Link to post
Share on other sites

in WinDbg press CTRL+S and add the symbol path:

SRV*c:\websymbols*http://msdl.microsoft.com/download/symbols

open the dmp and run !analyze -v and post the output here.

0

Share this post


Link to post
Share on other sites

@andrei

When I wanted a trace, windows gave me a bsod and when I wanted a BSOD, it gave me a trace.

Somehow, I managed to perform a boot trace with drivers flag and without any bsod. I am attaching for your perusal. Two drivers seem to delay the boot- fltmgr.sys and bowser.sys whose details I could not find

By the way, the only thing I changed was upgrade the xbootmgr (I installed the windows 7.1 sdk(upgraded from ver 7.0)). So, see if it resolves the problem for you.

http://dl.dropbox.com/u/17753307/bootlog2.7z

P.S. I have observed that system activity is zero during the first 3-4 secs. No disk utilisation, no processor usage... What areyour comments on that??

0

Share this post


Link to post
Share on other sites

the trace is not complete. I can't see when it is finished.

Read my trace guide and you see that the first steps is to load all boot relevat drivers. in oyur case it takes to load the SPTD driver (Demon tools) and the IDE controller. that's why you see no activity.

You should really remove MSE and try a different tool. MSE is still slow.

0

Share this post


Link to post
Share on other sites

your Windows is much faster now. 23s to boot to the desktop and 32s to boot completely. This is fine.

Have you found the crash dump (in C:\Windows\Minidump)? Can you share them? The MSFT employee replied and I need the STOP Code.

0

Share this post


Link to post
Share on other sites

yes, I know this topic. I replied to it, too.

The MSFT employee looks at it to see more.

0

Share this post


Link to post
Share on other sites

BugCheck 1000007E, {ffffffffc0000005, fffff800031bde87, fffff880033bd128, fffff880033bc990}

Probably caused by : usbvideo.sys ( usbvideo+3783 )

Followup: MachineOwner

---------

3: kd> !analyze -v

*******************************************************************************

* *

* Bugcheck Analysis *

* *

*******************************************************************************

SYSTEM_THREAD_EXCEPTION_NOT_HANDLED_M (1000007e)

This is a very common bugcheck. Usually the exception address pinpoints

the driver/function that caused the problem. Always note this address

as well as the link date of the driver/image that contains this address.

Some common problems are exception code 0x80000003. This means a hard

coded breakpoint or assertion was hit, but this system was booted

/NODEBUG. This is not supposed to happen as developers should never have

hardcoded breakpoints in retail code, but ...

If this happens, make sure a debugger gets connected, and the

system is booted /DEBUG. This will let us see why this breakpoint is

happening.

Arguments:

Arg1: ffffffffc0000005, The exception code that was not handled

Arg2: fffff800031bde87, The address that the exception occurred at

Arg3: fffff880033bd128, Exception Record Address

Arg4: fffff880033bc990, Context Record Address

Debugging Details:

------------------

EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.

FAULTING_IP:

nt!IopPerfCompleteRequest+47

fffff800`031bde87 488b5008 mov rdx,qword ptr [rax+8]

EXCEPTION_RECORD: fffff880033bd128 -- (.exr 0xfffff880033bd128)

ExceptionAddress: fffff800031bde87 (nt!IopPerfCompleteRequest+0x0000000000000047)

ExceptionCode: c0000005 (Access violation)

ExceptionFlags: 00000000

NumberParameters: 2

Parameter[0]: 0000000000000000

Parameter[1]: ffffffffffffffff

Attempt to read from address ffffffffffffffff

CONTEXT: fffff880033bc990 -- (.cxr 0xfffff880033bc990)

rax=09010100e4e1c000 rbx=fffffa80198f0b70 rcx=0000000000000000

rdx=0000000000000000 rsi=0000000000000000 rdi=fffffa80198f0740

rip=fffff800031bde87 rsp=fffff880033bd360 rbp=fffffa80198cbc80

r8=fffffa8003bd9058 r9=fffffa8004c31000 r10=0000000000401802

r11=fffff880033bd400 r12=fffffa80198c7a00 r13=fffffa80198c8d60

r14=0000000000000476 r15=0000000000000000

iopl=0 nv up ei pl nz na po nc

cs=0010 ss=0018 ds=002b es=002b fs=0053 gs=002b efl=00010206

nt!IopPerfCompleteRequest+0x47:

fffff800`031bde87 488b5008 mov rdx,qword ptr [rax+8] ds:002b:09010100`e4e1c008=????????????????

Resetting default scope

CUSTOMER_CRASH_COUNT: 1

DEFAULT_BUCKET_ID: VISTA_DRIVER_FAULT

PROCESS_NAME: System

CURRENT_IRQL: 0

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.

EXCEPTION_PARAMETER1: 0000000000000000

EXCEPTION_PARAMETER2: ffffffffffffffff

READ_ADDRESS: GetPointerFromAddress: unable to read from fffff800032f30e0

ffffffffffffffff

FOLLOWUP_IP:

usbvideo+3783

fffff880`00dd3783 ?? ???

BUGCHECK_STR: 0x7E

LAST_CONTROL_TRANSFER: from fffff88000dd3783 to fffff800031bde87

STACK_TEXT:

fffff880`033bd360 fffff880`00dd3783 : fffffa80`198f0740 fffffa80`198cbc80 00000000`00000000 fffffa80`198ea3c0 : nt!IopPerfCompleteRequest+0x47

fffff880`033bd410 fffffa80`198f0740 : fffffa80`198cbc80 00000000`00000000 fffffa80`198ea3c0 00000000`00000001 : usbvideo+0x3783

fffff880`033bd418 fffffa80`198cbc80 : 00000000`00000000 fffffa80`198ea3c0 00000000`00000001 00000000`00000001 : 0xfffffa80`198f0740

fffff880`033bd420 00000000`00000000 : fffffa80`198ea3c0 00000000`00000001 00000000`00000001 fffffa80`198cbd01 : 0xfffffa80`198cbc80

SYMBOL_STACK_INDEX: 1

SYMBOL_NAME: usbvideo+3783

FOLLOWUP_NAME: MachineOwner

MODULE_NAME: usbvideo

IMAGE_NAME: usbvideo.sys

DEBUG_FLR_IMAGE_TIMESTAMP: 4b8f39d9

STACK_COMMAND: .cxr 0xfffff880033bc990 ; kb

FAILURE_BUCKET_ID: X64_0x7E_usbvideo+3783

BUCKET_ID: X64_0x7E_usbvideo+3783

I was able to replicate the problem. Most likely the issue is with webcam drivers

0

Share this post


Link to post
Share on other sites

@andrei

I can confirm that the issue is with webcam driver. Disabling the integrated webcam solves the problem for me.

0

Share this post


Link to post
Share on other sites

Hi,

First of all, thanks for the tips MagicAndre1981, I followed your speed up guide and got something like 30% of boot time reduction.

I have a doubt, i found that the c:\Windows\Prefetch\ReadyBoot have only the TraceX.fx files before i run the xbootmgr command, after that i found a lot of files inside this dir, named as fxboot_xxxxx. Only after running the xbootmgr I found these optimization files. Would you know why Microsoft didnt programmed Windows to optimeze itself (i mean automatically)?

0

Share this post


Link to post
Share on other sites

Windows does it itself. ReadyBoot learn from each boot. But sometimes you must force this learning.

0

Share this post


Link to post
Share on other sites

It's working for me. Windows 7 loads faster. But I did a boot trace to see If there is something else I can do to improve the boot time

BTW, at first I was getting this message:

boottraceerror.png

And the solution to that message was to disable Windows Search Service.

This is my boot trace: ...

MagicAndre1981, i hope you can help me to see if there is something slowing down my boot time :unsure:

Cheers!

Edited by rovama
0

Share this post


Link to post
Share on other sites

hi,

your Windows boot is extremely slow

timing bootDoneViaExplorer="91085" bootDoneViaPostBoot="213285" 

it needs 91s to boot to the desktop and 203s to boot completely!

interval name="PreSMSS" startTime="0" endTime="15588" duration="15588">

The "Controladora RAID VIA VT8237" takes 11s to initialize.

<interval name="WinlogonInit" startTime="31173" endTime="69873" duration="38700">

login to your user profile is slow (8s). and starting the services is slow:

services autoStartStartTime="38101" autoStartEndTime="135373" autoStartDuration="97272">

I can see that the Microsoft SQL Server Express service start slowly. Do you need the SQL server? Next the SBSDWSCService ("C:\Program Files\Spybot - Search & Destroy\) is slow. remove this crapware. You have NOD32, this is enough.

After removing those services, start the optimization again and remove the Warez (NODLogin) from your PC and buy NOD32 ;)

And also don't use Raxco PerfectDisk, only the integrated defrag tool. Also remove Comodo, it also slows down the PC. Use AutoRuns to disable all unneeded tools from automatic startup.

Edited by MagicAndre1981
0

Share this post


Link to post
Share on other sites

Hello MagicAndre1981,

Thanks for your reply. I've followed your recommendations and this is my new boot trace: ....

It's better now, but It comes to my attention those three files: csc.sys, mup.sys and fltmgr.sys

Why are they taking so long to startup :blink:

Do you think I can still do some changes to improve my boot time ?

:rolleyes:

Edited by rovama
0

Share this post


Link to post
Share on other sites

the boot is faster:

timing bootDoneViaExplorer="78685" bootDoneViaPostBoot="150985"

79s to desktop and 140s to finish completely.

You disabled Superfetch which disables all boot improvements. Enable it and run the optimization again.

0

Share this post


Link to post
Share on other sites

Oki doki MagicAndre1981 :thumbup Will do that and see how it goes :w00t: Thanks for taking the time to help me :hello:

0

Share this post


Link to post
Share on other sites

and? is the boot now faster after turning Superfetch on and running the optimization?

0

Share this post


Link to post
Share on other sites

You won't believe this, I can't start Sperfetch Service, :wacko:

It gives me this error:

"Windows could not start the Superfetch service on Local Computer.

Error 2: The system cannot find the file specified."

superfetcherror.png

:blink::unsure: I'm trying to figure out what's causing that, but no luck yet :(

Edited by rovama
0

Share this post


Link to post
Share on other sites

start the command prompt (cmd.exe) with admin rights and run sfc /scannow to fix missing and broken system files.

0

Share this post


Link to post
Share on other sites

It seems like that didn't do the trick :unsure: Will try something else tomorrow to fix that issue. Thanks again MagicAndre1981. I will let you know once I find a solution.

Cheers!

0

Share this post


Link to post
Share on other sites

Positve man, the file is there :unsure: And Superfetch service won't start :} Maybe I should backup and make a clean install :(

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.