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
663 replies to this topic

#351
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,129 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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


How to remove advertisement from MSFN

#352
Xvipes

Xvipes
  • Member
  • 2 posts
  • Joined 08-November 11
  • OS:Windows 7 x64
  • Country: Country Flag
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 :)

#353
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,129 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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

#354
vvmm

vvmm
  • Member
  • 7 posts
  • Joined 10-November 11
  • OS:Windows 7 x64
  • Country: Country Flag
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...

#355
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,129 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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

http://www.msfn.org/...yresume-issues/

zip this trace and upload it.
Posted Image

#356
vvmm

vvmm
  • Member
  • 7 posts
  • Joined 10-November 11
  • OS:Windows 7 x64
  • Country: Country Flag
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

#357
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,129 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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

#358
vvmm

vvmm
  • Member
  • 7 posts
  • Joined 10-November 11
  • OS:Windows 7 x64
  • Country: Country Flag
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)

#359
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,129 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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

#360
vvmm

vvmm
  • Member
  • 7 posts
  • Joined 10-November 11
  • OS:Windows 7 x64
  • Country: Country Flag
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.

#361
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,129 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

make a new trace please.
Posted Image

#362
vvmm

vvmm
  • Member
  • 7 posts
  • Joined 10-November 11
  • OS:Windows 7 x64
  • Country: Country Flag
Here is the new trace: http://ifile.it/2o036hc/trace.zip

#363
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,129 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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

#364
vvmm

vvmm
  • Member
  • 7 posts
  • Joined 10-November 11
  • OS:Windows 7 x64
  • Country: Country Flag
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.

#365
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,129 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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

#366
vvmm

vvmm
  • Member
  • 7 posts
  • Joined 10-November 11
  • OS:Windows 7 x64
  • Country: Country Flag
Thank you very much for help! I hope that the startup will remain as fast as it is now.

#367
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,129 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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

#368
baconeater

baconeater
  • Member
  • 1 posts
  • Joined 14-November 11
  • OS:Windows 7 x64
  • Country: Country Flag
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

#369
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,129 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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:

Attached File  reStore_Network_connection.png   22.82KB   64 downloads

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

#370
draku

draku
  • Member
  • 6 posts
  • Joined 14-November 11
  • OS:Windows 7 x64
  • Country: Country Flag
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.n...fetch_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.

Attached File  screenshot.15-11-2011-03.25.33.jpg   28.59KB   37 downloads

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, 14 November 2011 - 07:33 PM.


#371
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,129 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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

#372
draku

draku
  • Member
  • 6 posts
  • Joined 14-November 11
  • OS:Windows 7 x64
  • Country: Country Flag
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...e.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 :
Attached File  screenshot.15-11-2011-23.18.jpg   23.51KB   7 downloads

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

#373
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,129 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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

#374
draku

draku
  • Member
  • 6 posts
  • Joined 14-November 11
  • OS:Windows 7 x64
  • Country: Country Flag
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 :
Attached File  screenshot.15-11-2011 23.37.26.png   138.29KB   8 downloads
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 :
Attached File  event1.zip   3.68KB   4 downloads

Trace:
Attached File  trace1.png   92.89KB   17 downloads

Loader hit 84,7% :
Attached File  screenshot.16-11-2011 00.37.31.png   6.98KB   7 downloads

Trace 2 :

Windows start time in Event Viewer 47 seconds :
Attached File  trace2.zip   2.19KB   3 downloads

Trace:
Attached File  trace2.png   87.53KB   15 downloads

Loader hit 98,4% :
Attached File  screenshot.16-11-2011 00.47.11.png   9.72KB   21 downloads

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

Edited by draku, 15 November 2011 - 05:17 PM.


#375
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,129 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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




2 user(s) are reading this topic

1 members, 1 guests, 0 anonymous users


    ivica86