• 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

how did you measure the reboot time?

Also let the trace run longer. You clicked finish after the you see it on the desktop. Let it count down from 120s to 0.

0

Share this post


Link to post
Share on other sites

With this .vbs script (open a notepad and paste it there, the save as .vbs)

Option Explicit

On Error Resume Next

Dim Wsh, Time1, Time2, Result, PathFile, MsgResult, MsgA, AppName, KeyA, KeyB, TimeDiff

MsgA = "Please close all running applications and click on OK."

KeyA = "HKEY_CURRENT_USER\Software\RestartTime\"

KeyB = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\RestartTime"

AppName = "ReBoot-Time"

Set Wsh = CreateObject("WScript.Shell")

PathFile = """" & WScript.ScriptFullName & """"

Result = wsh.RegRead(KeyA & "Times")

if Result = "" then

MsgResult = Msgbox (MsgA, vbOKCancel, AppName)

If MsgResult = vbcancel then WScript.Quit

Wsh.RegWrite KeyA & "Times", left(Time,8), "REG_SZ"

Wsh.RegWrite KeyB, PathFile, "REG_SZ"

Wsh.Run "cmd /c Shutdown -r -t 00", false, 0

else

Wsh.RegDelete KeyA & "Times"

Wsh.RegDelete KeyA

Wsh.RegDelete KeyB

TimeDiff = DateDiff("s",Result,left(Time,8))

MsgBox "Your computer reboots in " & TimeDiff & " seconds", VbInformation, AppName

end if

wscript.Quit

i indeed didn't let it finish sooner so i will do it again now :)

0

Share this post


Link to post
Share on other sites

ignore the script. It generates unreliable results. Take a look at the Eventlog to see how long it takes to boot or run a trace and generate the summary XML.

0

Share this post


Link to post
Share on other sites

Hello!

I'm new here and i saw a lot of solved cases here, so I have decided to post my case too.

I have a Dell Inspiton N7010 Laptop with a 5400rpm WD HDD and Windows 7 x64. The boot time is taking too long. I have to wait about 3 minutes until i can get to work. The Welcome Screen stays for about 2 minutes while the HDD led remains lit.

A couple of months ago, I didn't have this problem. The Welcome screen took about 15 sec to load.

If i disable all services through msconfig and boot, Windows loads very fast.

I'm waiting for some suggestions...

0

Share this post


Link to post
Share on other sites

run the optimization from the first post and if this doesn't speedup Windows make a full boot trace from here:

zip this trace and upload it.

0

Share this post


Link to post
Share on other sites

I've ran the optimization from the first post and i've noticed an improvement, but still, the Welcome screen takes about 1 minute to load, so i've uploaded the etl log.

Link: http://ifile.it/cpvnilt/boot.zip

0

Share this post


Link to post
Share on other sites

The SQL Server Express service takes 27s to start that's why you see the delay at the Logon Screen. From what I see the SQLExpress is installed by the Sony Media Manager. So if you don't use the Sony software remove the SQL Server to improve the boot speed.

0

Share this post


Link to post
Share on other sites

I remember installing Sony Media Manager, but I didn't use it so I uninstalled it a long time ago.

I can see, thogh, the service SQL Server (SONY_MEDIAMGR2) and probably other SQL Express services, but how can I uninstlall them? I cannot find them in the Uninstall list (and I have a lot of SQL servers installed there)

0

Share this post


Link to post
Share on other sites

You should have a Microsoft SQL Server entry in "Add/remove programs" select to uninstall it and here you should choose which instance you want to uninstall.

0

Share this post


Link to post
Share on other sites

I uninstalled Microsoft SQL Server 2005 Express and it asked me if i want to remove Sony media manager and i said yes. The service is now gone, but the Welcome Screen delay didn't improve at all.

0

Share this post


Link to post
Share on other sites

this time Kaspersky service (AVP) takes 17s to start. also the prefetcher is again completely broken (open the etl with a double click and look at the readyBoot graph and you see all is black and this is bad). Run the optimization again, please.

0

Share this post


Link to post
Share on other sites

Wow! Amazingly, the Welcome screen now loads in 10 seconds, but this is achieved only after I have ran optimization and with Kaspersky disabled. What should I do with Kaspersky's AVP? I have Kaspersky on other computers, but it doesn't slow my computers down.

0

Share this post


Link to post
Share on other sites

The WD5000BEVT is only a 5400rpm SATA 3 Gb/s HDD. And Kaspersky was always very slow for my opinion. I never used it because of the performance impact you have when using it.

Try other AV tools until you find one which doesn't impact the boot too much.

0

Share this post


Link to post
Share on other sites

Thank you very much for help! I hope that the startup will remain as fast as it is now.

0

Share this post


Link to post
Share on other sites

If it slows down again after some weeks run the optimization again.

0

Share this post


Link to post
Share on other sites

magicanndre I would be so grateful if you would look at my xml file. I can't figure out why my boot is so slow.

My computer takes 1:20 to boot.

my specs are:

Lenovo x120e

Crucial M4 64

6GB Ram

.utl and XML files

0

Share this post


Link to post
Share on other sites

magicanndre I would be so grateful if you would look at my xml file. I can't figure out why my boot is so slow.

Hi, restoring the networkconnections take tool long:

post-70718-0-17682700-1321302780_thumb.p

This causes a 50s delay.

I use

net use /persistent:no 

in a CMD to mount network drives when I need them. This avoids such delays.

0

Share this post


Link to post
Share on other sites

Well the -prepSystem method works very good but its a lot of time comsuming in may case it took almost 40 minutes. The results are good but the optimization don't last forever.

I used WinPrefetchView (http://www.nirsoft.net/utils/win_prefetch_view.html) to look up in the NTOSBOOT-xxxxx.pf to see what Windows load at boot and also used the defrag C: /u /v -b for boot optimization.

Now i use a boot preloader wich makes my windows boot very fast everytime.

post-337596-0-37649300-1321320425_thumb.

P.S. I know it's my 1st post here so i deleted the bootloader name so you don't think i'm spamming , and because its beta and does not have singned driver for x64.

Edited by draku
0

Share this post


Link to post
Share on other sites

what is this? Is this a tool which is on the CD of your motherboard? I also have such an Tool from ASRock, but it never really worked for me.

0

Share this post


Link to post
Share on other sites

No its a software i found in some coments from reviews on hybrid hdd and ssd on anandtech i think. It works the same way ReadyBoot in Windows 7 should have worked. And also works on Windows XP and Vista. The only downside is that in order to install it in Windows 7 x64 i had to use Driver Signature Enforcement Overrider (http://www.ngohq.com/home.php?page=dseo) to put Windows in Testing Mode so i does not block its driver at boot and crash Windows ;) (on readme it say to press F8 and chose disable driver signing in x64 but thats not an option). On 32bits it works without problems.

It works like this :

It install a driver wich monitor all the hdd sectors loaded at boot.After boot it takes all that sectors and put them in a prefetch.bin file wich load at next boot in memory. It monitors every boot so every time it adds or delete sectors from prefetch that does not match.In a way is like xbootmgr -trace boot ;)

It work because its much faster to copy 1 big file in memory that to copy 10.000.... small files from all over the hdd =)

You can even set limits :

post-337596-0-55722700-1321391996_thumb.

I can write a little tutorial how to make it to work on x64 without problems if anyone is interested.

0

Share this post


Link to post
Share on other sites

have you made a normal xbootmgr trace with and without this 3rd party driver? What is the difference in boot time?

0

Share this post


Link to post
Share on other sites

This is from my Event Viewer ID 100:

SystemBootInstance 257

UserBootInstance 250

BootTime 44042

MainPathBootTime 26142

BootKernelInitTime 14

BootDriverInitTime 606

BootDevicesInitTime 1144

BootPrefetchInitTime 6837

BootPrefetchBytes 79327232

BootAutoChkTime 0

BootSmssInitTime 16286

BootCriticalServicesInitTime 421

BootUserProfileProcessingTime 321

BootMachineProfileProcessingTime 165

BootExplorerInitTime 982

BootNumStartupApps 14

BootPostBootTime 17900

BootIsRebootAfterInstall false

BootRootCauseStepImprovementBits 0

BootRootCauseGradualImprovementBits 0

BootRootCauseStepDegradationBits 0

BootRootCauseGradualDegradationBits 0

BootIsDegradation false

BootIsStepDegradation false

BootIsGradualDegradation false

BootImprovementDelta 0

BootDegradationDelta 0

BootIsRootCauseIdentified false

OSLoaderDuration 1648

BootPNPInitStartTimeMS 14

BootPNPInitDuration 1184

OtherKernelInitDuration 6308

SystemPNPInitStartTimeMS 7488

SystemPNPInitDuration 566

SessionInitStartTimeMS 8059

Session0InitDuration 14183

Session1InitDuration 232

SessionInitOtherDuration 1869

WinLogonStartTimeMS 24345

OtherLogonInitActivityDuration 327

UserLogonWaitDuration 1245

Time varies betwen 43 and 46 seconds in event id( wich from my knowing is bigger with 10 second than real since its waiting for iddle resources) even if i delete prefetch folder in Windows with loader.The only times its increase is when windows apply updates or i update drivers and then i saw is betwen 56-65 seconds. The worst time i got when windows needed to check the hdd for errors because the loader then its not loading anything and sets all prefetch as dirty ;)

This is what i start at boot + ati catalyst :

post-337596-0-14377000-1321395083_thumb.

All the programs appear instanly in my systray after welcome screen wich usualy takes 1-2 seconds. You need to try it to see for yourself. I send you a pm.

I will make a trace with it and then without it but i tell you i had never under 60 seconds.

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

L.E.

Ok so i made 2 traces with loader installed ;)

Trace 1 :

Windows start time in Event Viewer 53 seconds :

event1.zip

Trace:

post-337596-0-86943900-1321398317_thumb.

Loader hit 84,7% :

post-337596-0-18611900-1321398503_thumb.

Trace 2 :

Windows start time in Event Viewer 47 seconds :

trace2.zip

Trace:

post-337596-0-64218200-1321398661_thumb.

Loader hit 98,4% :

post-337596-0-58680600-1321398717_thumb.

If i make another trace i belive it will be again 44-45 seconds since every restart it learns ;)

Edited by draku
0

Share this post


Link to post
Share on other sites

what are your PC specs? Which HDD do you use?

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.