Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

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

- - - - -

  • Please log in to reply
667 replies to this topic

#126
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,216 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

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?
Posted Image


How to remove advertisement from MSFN

#127
compsavvy

compsavvy

    Newbie

  • Member
  • 22 posts
  • Joined 01-January 11
  • OS:Windows 7 x64
  • Country: Country Flag
I have downloaded debugging tools but dont know how to analyse the dump for the information you require

#128
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,216 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

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

#129
compsavvy

compsavvy

    Newbie

  • Member
  • 22 posts
  • Joined 01-January 11
  • OS:Windows 7 x64
  • Country: Country Flag
@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.co...307/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??

#130
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,216 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

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

#131
compsavvy

compsavvy

    Newbie

  • Member
  • 22 posts
  • Joined 01-January 11
  • OS:Windows 7 x64
  • Country: Country Flag
http://dl.dropbox.co...307/bootlog3.7z

I uninstalled sptd.sys and updated my sata drivers and the boot process seems much more streamlined. Thanks for pointing it out.
Now, I guess I would leave windows to itself.

Did you have any success with the drivers flag??

#132
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,216 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

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

#133
compsavvy

compsavvy

    Newbie

  • Member
  • 22 posts
  • Joined 01-January 11
  • OS:Windows 7 x64
  • Country: Country Flag
Sorry, the minidump folder is empty. I could not reproduce the problem after the initial BSOD.

http://social.msdn.m...0b-722f97a7f59b

I think you might have seen this and this shows that you are right about the problem with the usb driver.

#134
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,216 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

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

The MSFT employee looks at it to see more.
Posted Image

#135
compsavvy

compsavvy

    Newbie

  • Member
  • 22 posts
  • Joined 01-January 11
  • OS:Windows 7 x64
  • Country: Country Flag
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

#136
compsavvy

compsavvy

    Newbie

  • Member
  • 22 posts
  • Joined 01-January 11
  • OS:Windows 7 x64
  • Country: Country Flag
@andrei

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

#137
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,216 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

you get a different bug check. Install this update: http://support.microsoft.com/kb/979538 to fix it.
Posted Image

#138
dwrocha

dwrocha
  • Member
  • 1 posts
  • Joined 14-January 11
  • OS:Windows 7 x86
  • Country: Country Flag
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)?

#139
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,216 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

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

#140
rovama

rovama
  • Member
  • 9 posts
  • Joined 18-January 11
  • OS:Windows 7 x86
  • Country: Country Flag
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:

Posted Image


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, 19 January 2011 - 07:19 PM.


#141
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,216 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

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, 23 January 2011 - 04:42 PM.

Posted Image

#142
rovama

rovama
  • Member
  • 9 posts
  • Joined 18-January 11
  • OS:Windows 7 x86
  • Country: Country Flag
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, 19 January 2011 - 07:19 PM.


#143
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,216 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

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

#144
rovama

rovama
  • Member
  • 9 posts
  • Joined 18-January 11
  • OS:Windows 7 x86
  • Country: Country Flag
Oki doki MagicAndre1981 :thumbup Will do that and see how it goes :w00t: Thanks for taking the time to help me :hello:

#145
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,216 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

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

#146
rovama

rovama
  • Member
  • 9 posts
  • Joined 18-January 11
  • OS:Windows 7 x86
  • Country: Country Flag
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."

Posted Image


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

Edited by rovama, 20 January 2011 - 10:56 PM.


#147
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,216 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

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

#148
rovama

rovama
  • Member
  • 9 posts
  • Joined 18-January 11
  • OS:Windows 7 x86
  • Country: Country Flag
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!

#149
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,216 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

do you have the file sysmain.dll in the folder C:\Windows\System32? If not, extract the DLL from your Windows DVD:

http://blog.nirsoft....windows-7vista/
Posted Image

#150
rovama

rovama
  • Member
  • 9 posts
  • Joined 18-January 11
  • OS:Windows 7 x86
  • Country: Country Flag
Positve man, the file is there :unsure: And Superfetch service won't start :} Maybe I should backup and make a clean install :(




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users