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

#101
Dick39

Dick39
  • Member
  • 7 posts
  • Joined 19-May 10
  • OS:Windows 7 x86
  • Country: Country Flag
Thank you, Andrei, for all your help.
May you and all your loved ones have a happy Holiday
and a blessed New Year.

Dick


How to remove advertisement from MSFN

#102
Dick39

Dick39
  • Member
  • 7 posts
  • Joined 19-May 10
  • OS:Windows 7 x86
  • Country: Country Flag

Thank you, Andrei, for all your help.
May you and all your loved ones have a happy Holiday
and a blessed New Year.

Dick

He's baaack . . .
Andrei,
When I try to use the 2 commands you show on Page 1 for calculating my improvement time, I get the following error
with the 1st one (so I didn't even try the 2nd):

error: 01_summary_start.xml: failed to open output file (0x800700005)

I ran "take ownership" against the etl files, but that didn't help.

What do I have to do to be able to run those 2 commands?

Thanks again,
Dick

#103
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

where is the etl stored? Do you have writing permissions in the folder?
Posted Image

#104
Dick39

Dick39
  • Member
  • 7 posts
  • Joined 19-May 10
  • OS:Windows 7 x86
  • Country: Country Flag
Andrei.
When I run the 6-boot speedup procedure it stores them in system32, within Windows 7.

If I moved them elsewhere, would the 2 commands you show to calculate the improvement
find the necessary files;, what else would I have to do?

Dick

#105
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

ok, I always run the commands from a cmd prompt which points to a different path.

Start cmd.exe and run

cd\ ENTER

MD TEMP ENTER
CD TEMP ENTER
MD xbootmgr ENTER
CD xbootmgr ENTER

run the commands there.
Posted Image

#106
Dick39

Dick39
  • Member
  • 7 posts
  • Joined 19-May 10
  • OS:Windows 7 x86
  • Country: Country Flag
Thank you, Andrei. That did the trick . . . from 149807 to 68766.

Do you recommend running the 6-boot procedure periodically; or is a one time running
enough as far as speeding up boot time?

Dick

#107
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

rerun the commands if you think your Windows slowed down because of the Installation of new WindowsUpdates
Posted Image

#108
clivebuckwheat

clivebuckwheat

    Senior Member

  • Member
  • PipPipPipPip
  • 577 posts
  • Joined 07-November 05
I am trying to speed the Windows 7 Boot process.

I installed the Windows 7 SDK and the appropriate msi for my os.

I opened up a command prompt as Administrator and ran

xbootmgr -trace boot -prepSystem -verboseReadyBoot

My system reboots once after it creates the etl file. Then I get waiting to Windows prefetch and it eventually times out. Saying it could not start Windows prefetch

Can someone help me debug this issue?.

#109
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

is the Superfetch service running?
Posted Image

#110
clivebuckwheat

clivebuckwheat

    Senior Member

  • Member
  • PipPipPipPip
  • 577 posts
  • Joined 07-November 05
I enabled it, all I get is waiting for Prefetcher, and it eventually times out.

is the Superfetch service running?


Edited by clivebuckwheat, 27 December 2010 - 12:52 PM.


#111
clivebuckwheat

clivebuckwheat

    Senior Member

  • Member
  • PipPipPipPip
  • 577 posts
  • Joined 07-November 05
Any other advice?

#112
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

disable all 3rd party services and tools and try it again.
Posted Image

#113
some_spirit

some_spirit
  • Member
  • 3 posts
  • Joined 13-October 06
very strange ........

01_summary_start.xml - bootDoneViaPostBoot="44155"

02_summary_end.xml - bootDoneViaPostBoot="-1"


so what is the result of optimizing.

#114
compsavvy

compsavvy

    Newbie

  • Member
  • 22 posts
  • Joined 01-January 11
  • OS:Windows 7 x64
  • Country: Country Flag
@MagicAndre1981
I was wondering if you could look into my boot log
I am worried about the nisrv and lanman server services which are taking quite some time. Is it normal??

http://dl.dropbox.co...3307/bootlog.7z
http://dl.dropbox.co...753307/boot.jpg

Thanks in advance

#115
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

very strange ........

01_summary_start.xml - bootDoneViaPostBoot="44155"

02_summary_end.xml - bootDoneViaPostBoot="-1"


so what is the result of optimizing.


xbootmgr waits 120s to let your Windows become idle. This didn't happen on your Windows. So you still have a lot of application in your startup folder/Run keys. Add the parameter
-postBootDelay 300
to set the post boot capture time to 5minutes.


@MagicAndre1981
I was wondering if you could look into my boot log
I am worried about the nisrv and lanman server services which are taking quite some time. Is it normal??


nisrv = Microsoft Security Essentials. Do you use version 1 or 2?

To see more details, run Process Monitor, enable boot logging and now run the xbootmgr command from here:

http://www.msfn.org/...howtopic=140247

After booting to the desktop, run ProcesMonitor again and stop the logging and write it into a PML file. Now stop the xbootmgr trace, zip both files and upload them. So I can look into the PML to see what the service is doing while it hangs.
Posted Image

#116
compsavvy

compsavvy

    Newbie

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

I have uploaded the files. See if these are the ones you require.
http://dl.dropbox.co...07/bootlog_2.7z
http://dl.dropbox.co...ummary_boot.xml

As you can see, they are pretty large. If these are not the ones you wanted, please do let me know.

Another thing, at the time of logging, somehow my system was experiencing throttling so the boot time increased by 20s. But, the main issue of lanman server service remains.

I am using mse 2.0

By the way, Happy new Year

#117
some_spirit

some_spirit
  • Member
  • 3 posts
  • Joined 13-October 06

very strange ........

01_summary_start.xml - bootDoneViaPostBoot="44155"

02_summary_end.xml - bootDoneViaPostBoot="-1"


so what is the result of optimizing.


now result is (it was my mistake to cancel all process before):

01_summary_start.xml - bootDoneViaPostBoot="41987"

02_summary_end.xml - bootDoneViaPostBoot="25510"



nice improvement ..............

Edited by some_spirit, 01 January 2011 - 02:03 PM.


#118
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

By the way, Happy new Year


thanks, Happy New Year, too. I check the logs now.

01_summary_start.xml - bootDoneViaPostBoot="41987"

02_summary_end.xml - bootDoneViaPostBoot="25510"

nice improvement ..............


yes, really cool improvement :)
Posted Image

#119
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

Another thing, at the time of logging, somehow my system was experiencing throttling so the boot time increased by 20s. But, the main issue of lanman server service remains.

I am using mse 2.0


can you remove MSE 2.0 and try it again? My guess is the MSE service"C:\Program Files\Microsoft Security Client\Antimalware\NisSrv.exe" cause it.
Posted Image

#120
compsavvy

compsavvy

    Newbie

  • Member
  • 22 posts
  • Joined 01-January 11
  • OS:Windows 7 x64
  • Country: Country Flag
@andrei
I uninstalled mse but there was no effect on the server service. Disabling the server service did not have any major implication on boot time. So, I guess I would leave it as such.

By the way, what do the logs suggest??
Do you see any scope of improvement??

#121
compsavvy

compsavvy

    Newbie

  • Member
  • 22 posts
  • Joined 01-January 11
  • OS:Windows 7 x64
  • Country: Country Flag
Another thing, just checked that the lanmanserver corresponds to server service of windows which is responsible for file sharing etc. I am generally not connected to a home network but use file/hardware sharing occassionally. However, I am always connected to a wireless access point used to connect to the internet. So, what do you suggest?? Should I disable the service?

#122
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

set the service starttyp to "manual - on demand" . Create a Task with the Taskscheduler which starts the service (command: C:\Windows\System32\net.exe, parameter start LanmanWorkstation) and run it on demand when you need the file sharing/network drives.

I've explained this here in detail:

http://www.msfn.org/...howtopic=135472
Posted Image

#123
compsavvy

compsavvy

    Newbie

  • Member
  • 22 posts
  • Joined 01-January 11
  • OS:Windows 7 x64
  • Country: Country Flag
Thanks for your help
It has helped greatly in improving the boot time by 3-4 secs

#124
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

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

Donator

Thanks for your help


You're welcome
Posted Image

#125
compsavvy

compsavvy

    Newbie

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

I was trying to run boot trace with drivers flag on win 7 x64 but I got a BSOD. It appears there seems to be a issue with wpt.

Do you know of any workaround??




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users