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

#601
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,952 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

great :) Now you learned how to read the data and next time you can analyze it yourself :)
Posted Image


How to remove advertisement from MSFN

#602
Surio

Surio
  • Member
  • 6 posts
  • OS:Windows 7 x64
  • Country: Country Flag


Hi @magicandre1981,
We were this close to solving the puzzle on superuser, and the thread got closed. I have decided to join MSFN, because I know it is futile trying to argue with arbitrarily appointed gatekeepers about gate keys :( :no: :(

Can you please help me resolve this? I greatly appreciate it.

So, danke und tolle! I generated my XML :)
timing bootDoneViaExplorer="39003" bootDoneViaPostBoot="72103"
. Based on your previous comment above, booting takes 39 seconds, and fully booted in 62 secs (You subtracted 10 secs up there for some reason?)? Am I right? Wrong? Still trying to understand the file. Meanwhile, I ran a trace, and here is the ETL/CAB file. Please let me know what is the state of affairs now? Disabled SQL, & it seems, I have the latest INTEL drivers (v8.15.10.2086) already! Is this all we can do now?

Sorry, and thanks.



#603
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,952 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

I have no other ideas. The disk is still heavily used. Reduce the amount of started programs to the bare minimum if you don't want to buy a SSD.
Posted Image

#604
Surio

Surio
  • Member
  • 6 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Sorry if I am boring you now, but just a few requests:

  • Can you post the part of the XML you use for calculating boot up and ready times? Can you also write one or two lines explaining what you look at at this point?
  • Can you post part of the XML which shows what programmes are "disking"/disk activity?
  • Can you post the part of the XML, where GPU uses CPU?

Thanks very much.

#605
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,952 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

bootDoneViaPostBoot shows when boot is fully done. I explained this in the first post.

CPU usage can be found in the CPU sampling graph in xperfview.
Posted Image

#606
Surio

Surio
  • Member
  • 6 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Hello @magicandre1981,

Why am I getting this error?

I complained to Avira and they want me to run their own custom performance stat tool! Also, no 3rd party software, but only their own antivir! They again want me to collect *before* Avira and after installing Avira boot times! Back to install uninstall stupidity again... Customer support is some offshore unit in Malaysia, so there is no point in arguing back and forth on this!

So, I uninstalled Kaspersky (for the 3rd time! in 4 days) and ran

xbootmgr -trace boot -resultPath C:\Temp\no-av-run

This is my log:
[2013/06/12-11:15:57.249] Performance Analyzer Power Transition Performance Testing Utility (Microsoft® Windows® Performance Analyzer) Version 6.2.9200 - © 2012 Microsoft Corporation. All rights reserved.
[2013/06/12-11:15:57.249] Detected Win7RTM physical (ReadyBoot) prefetcher; the SysMain service is auto-started.
[2013/06/12-11:15:57.249] Registering for auto-run with a 120000 msec delay...
[2013/06/12-11:15:57.265] Completed auto-run change.
[2013/06/12-11:15:57.265] Starting trace...
[2013/06/12-11:15:57.358] Enabled boot logging to 'C:\Temp\no-av-run\\boot_BASE+CSWITCH_1_km_premerge.etl'

[2013/06/12-11:19:16.984] Performance Analyzer Power Transition Performance Testing Utility (Microsoft® Windows® Performance Analyzer) Version 6.2.9200 - © 2012 Microsoft Corporation. All rights reserved.
[2013/06/12-11:19:16.984] Detected Win7RTM physical (ReadyBoot) prefetcher; the SysMain service is auto-started.
[2013/06/12-11:19:17.000] Stopping trace...
[2013/06/12-11:19:17.967] Couldn't find kernel logger in active logger list.
[2013/06/12-11:19:17.967] Couldn't find user-mode logger in active logger list.
[2013/06/12-11:19:17.967] Unable to stop trace.
[2013/06/12-11:19:17.967] Stopping trace...
[2013/06/12-11:19:18.029] Unregistering auto-run...
[2013/06/12-11:19:18.029] Completed auto-run change.

What is going wrong?


Edited by Surio, 12 June 2013 - 12:01 AM.


#607
Surio

Surio
  • Member
  • 6 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Very bizarre!

I cd'd to that directory... as in cd C:\Temp\no-av-run and ran the command minus the "resultPAth" and the command ran successfully! Maybe useful for others in the future!

Best,
Surio.



#608
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,952 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

try this:

http://social.msdn.m...d6-e466c07e1a2f
Posted Image

#609
Surio

Surio
  • Member
  • 6 posts
  • OS:Windows 7 x64
  • Country: Country Flag

@magicandre1981,

Thanks for replying. As of now, I got it working, by simply cd to that dir and running xbootmgr...

Presently, I am just running the xbootmgr w/o and with Avira and looking at my performance timing... It is the same... Avira progressively gets worse and worse boot timings as I do multiple logins... :(

Disk activity is back to 100% and for a prolonged time. :(

Just not good at all!

Thanks.


Edited by Surio, 12 June 2013 - 02:12 PM.


#610
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,952 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

buy a SSD to solve the boot issue when HDD is busy all the time.
Posted Image

#611
Surio

Surio
  • Member
  • 6 posts
  • OS:Windows 7 x64
  • Country: Country Flag

buy a SSD to solve the boot issue when HDD is busy all the time.




I agree... but not presently... I just got a new 1 TB hdd. I am only running avira for helping fix the issues. If not, by this month end I am back to Kaspersky, which is not disk intensive at all!

In short, Kaspersky works well for me, I am helping the people in Avira debig the problem by installing Avira again. If it does not work out, back to Kaspersky.




#612
doveman

doveman

    Advanced Member

  • Member
  • PipPipPip
  • 367 posts
I've installed Defraggler, which replaces the Windows defrag tool (it doesn't have to but I selected that option at install and it shows under Advanced, so I guess it can be disabled after install) and set the Windows defrag service to disabled, to avoid any clashes.

Do you know if this method will still work, using Defraggler instead of the MS tool, or will I need to disable Defraggler and restore the MS tool first?

#613
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,952 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

never use Defraggler. Only use the buildin tool.
Posted Image

#614
doveman

doveman

    Advanced Member

  • Member
  • PipPipPip
  • 367 posts

never use Defraggler. Only use the buildin tool.


OK, thanks.

#615
ElGringo

ElGringo
  • Member
  • 8 posts
  • OS:Windows 7 x86
  • Country: Country Flag
since I used this method to speed up boot windows I noticed that on every reboot of the system is a creation of new files in the folder C: \ Windows \ Prefetch \ ReadyBoot. These files have the extension *. Avail, *. Dqpafm, *. Dqpafmsg, *. Dqpa, *. Dqpaf. the problem I have already posted some pages back is that I do not want these files are recreated on every reboot, when in every version of Windows 7 which has not been applied this method are not present and are not created by the system operating, as not necessary. these files also are increasingly fragmented and require unnecessary additional work hard drive. it is good to be suggested that in addition to how to use this method of speeding up the start, is also explained well how to undo the changes that the same has brought to the operating system. I look forward to answers.

#616
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,952 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

We do you care about the files? I have no idea when and why they are created.
Posted Image

#617
budgoz

budgoz
  • Member
  • 3 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Hello Andre,

 

Thanks for sharing this helpful guide and for you work!

 

This method reduced of about 30 seconds my boot time, but it's still a bit high (more or less 2.30 minutes).

 

I've completed a boot trace and I would be very grateful if you could have a look at it. ;)

 

http://www.mediafire...sgt4pxuqce971gx

 

(I run it twice, the first time with drivers and I get the bugcheck, the second time without drivers).

Note:

1) I had to enable the auto logon creating the registry string, but even before it was pretty slow.

2) the entire HD is protected by TrueCrypt



#618
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,952 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

Group Policies and loading the user profile is extremely slow for you. This causes long delays.

 

Attached File  boot.png   17.44KB   1 downloads


Posted Image

#619
hd7970

hd7970
  • Member
  • 4 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Hi I used to be able to run this but now I get the "gave up waiting for virtual prefetcher after 300 seconds" message after the first boot. I managed to get all 6 reboots by changing the SysMain reg key start value to 0 but have now learnt that by doing that it just basically runs through the boots but is a waste of time because it doesn't do anything after you change it. 

Does anyone think they can help?



#620
budgoz

budgoz
  • Member
  • 3 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Group Policies and loading the user profile is extremely slow for you. This causes long delays.

 

attachicon.gifboot.png

Thanks for your reply!
Is there anything I can do here? (As you have already understood it's a company lapotop).



#621
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,952 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

have now learnt that by doing that it just basically runs through the boots but is a waste of time because it doesn't do anything after you change it. 

Does anyone think they can help?

 

 

After the 2nd run you should get a message that the system is optimized. At this point the defrag.exe runs ans optimizes the boot.

 

 


Is there anything I can do here? (As you have already understood it's a company lapotop).

 

 

contact the IT admin and ask him which GPOs they apply and he should try to optimize (run them asynchronously if possible, don't use logon scripts) them.


Posted Image

#622
budgoz

budgoz
  • Member
  • 3 posts
  • OS:Windows 7 x64
  • Country: Country Flag

I will try to sort it out with IT guys, thanks Andre!



#623
hd7970

hd7970
  • Member
  • 4 posts
  • OS:Windows 7 x64
  • Country: Country Flag

 

have now learnt that by doing that it just basically runs through the boots but is a waste of time because it doesn't do anything after you change it. 

Does anyone think they can help?

 

 

After the 2nd run you should get a message that the system is optimized. At this point the defrag.exe runs ans optimizes the boot.

 

 


Is there anything I can do here? (As you have already understood it's a company lapotop).

 

 

contact the IT admin and ask him which GPOs they apply and he should try to optimize (run them asynchronously if possible, don't use logon scripts) them.

 

 

Hi well it doesn't say that for me and if I change the Sysmain start value back to the default I cant get past the first reboot it tells me it gave up waiting for prefetcher. Could there be something more that needs to be turned on? I have even tried this http://www.sevenforu...er-problem.html but it doesn't seem to fix it. Its also where I found that changing Sysmain start value is pointless.



#624
fewpcs

fewpcs
  • Member
  • 1 posts
  • OS:Windows 8 x64
  • Country: Country Flag

Hi Andre,

I followed your guide but I cannot see anything in the summary XML file pointing me to the slow WinlogonInit duration.

It is over 5 minutes before the Desktop will appear.

 

Here is a link to the boot trace if anyone can help me out.   https://www.dropbox....jdefd/temp2.zip

 

The computer is part of a domain but it does not look like the group policy is the problem and I have already removed all networked drives.

Thank you in advance to anyone who can help.



#625
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 5,952 posts
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

@fewpcs

 

enter your password faster. RequestCredentials causes the delay:

 

WinLogonInit_req.png

 


Posted Image




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users



How to remove advertisement from MSFN