• 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

Trace why Windows 8 boots, shutsdown or hibernates slowly

371 posts in this topic

Ouch... Looks like i found problem.. I have a lot of "DRIVERS{...}.TM.blf" files in config registry folder (36000+!!), and my SOFTWARE puffed up to 1.2GB! :blink: WTF!??

post-374844-0-30581600-1362084329_thumb.

It is possible to fix this without reinstall system?

0

Share this post


Link to post
Share on other sites

Found lots of wrong keys in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\PnpLockdownFiles\ with

%SystemRoot%/system32/spool/DRIVERS/ paths... will try to clean it... :wacko:

0

Share this post


Link to post
Share on other sites

Ouch... Looks like i found problem.. I have a lot of "DRIVERS{...}.TM.blf" files in config registry folder (36000+!!), and my SOFTWARE puffed up to 1.2GB! :blink: WTF!??

post-374844-0-30581600-1362084329_thumb.

It is possible to fix this without reinstall system?

Well I learned a long time ago, sometimes it just a heck of a lot easier and faster to just cut your loses and do a reinstall and be done with it, instead of spending hours and hours trying to p*** in the dark..

0

Share this post


Link to post
Share on other sites

It will be easier for me to write small tool for clean registry and use it with livecd... I have lot of big software installed, and restoring all can kill much time...

0

Share this post


Link to post
Share on other sites

Problem solved. I wrote simple tool that do scan and remove unused keys (with exclusions of default keys and keys with existing paths). I used WinPE to clean hive. I loaded bloated hive (it was loading about 10min too) and used my tool. It removed 4300000+ keys in total. Then I reexport this hive into new file to reduce size and defragment hive, (now it weight 150mb). After this just replaced bloated hive by new one. Now all is good :). .blf and .regtrans-ms files I just removed (they not affectted on boot time)

I think that reason of problem was glitched spooler servise (one time i found that it eat my cpu, may be it was installing phantom printer drivers that created these junk keys).

Big thanks for all.

0

Share this post


Link to post
Share on other sites

nice to hear that you fixed it :)

What is now the complete boot time?

0

Share this post


Link to post
Share on other sites

50sec to Start screen.

0

Share this post


Link to post
Share on other sites

459px-Windows_8_logo_and_watermark.svg.png

This is an updated tutorial of my Windows 7 here.

To get started you need the Windows Performance Tools Kit. Read here how to install it:

http://www.msfn.org/board/index.php?showtopic=146919

Now open a command prompt with admin rights and run the following commands:

For boot tracing:

xbootmgr -trace boot -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\TEMP

Note, in Windows 8 it is safe to use the DRIVERS flag, the Windows 7 bug is fixed in Windows 8.

For shutdown tracing:

xbootmgr -trace shutdown -noPrepReboot -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\TEMP

For Standby+Resume:

xbootmgr -trace standby -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\TEMP

For Hibernate+Resume:

xbootmgr -trace hibernate -traceFlags BASE+CSWITCH+DRIVERS+POWER -resultPath C:\TEMP

replace C:\TEMP with any temp directory on your machine as necessary to store the output files

All of these will shutdown, hibernate, or standby your box, and then reboot to finish tracing. After you login to your PC, the new startscreen is shown and you have to click to the desktop to see countdown timer. Again, wait until the timer finishes. Afetr you did this you should now have some tracing files in C:\TEMP.

Analyses of the boot trace:

To start create a summary xml file, run this command (replace the name with the name of your etl file)

xperf /tti -i boot_BASE+CSWITCH+DRIVERS+POWER_1.etl -o summary_boot.xml -a boot

Now you see this picture.:

Boot_Summary.png

Hi MagicAndre1981,

I found your post while searching for ways to speed up my windows 8 boot time. It used to be around 10 seconds but now takes about 66 seconds or more, while Soluto said it takes about 1:27 for a full boot.

I did all of the steps, downloaded the Windows Performance Tools Kit. I got up to that last step that I quoted you on, because I have no idea how to "create a summary xml file and run it in the command." I desperately want to speed up my boot time. I would love for you to help me!

Also, I have noticed the last few days that my computer sort of freezes between the dell black screen and the start screen which never happened before. The screen is just greyish black for about 30-40 seconds. =/

0

Share this post


Link to post
Share on other sites

zip the ETL file and upload the zip (skydrive, dropbox) and send me a link.

0

Share this post


Link to post
Share on other sites

Hi,

Thank you for your quick response.

But I have no clue how to zip the ETL file or what it is. Where do I find it?

=/

Edited by BDelsol
0

Share this post


Link to post
Share on other sites

Zip is a file format to reduce the file size:

http://en.wikipedia.org/wiki/Zip_%28file_format%29

Install a tool like 7-zip, go to C:\temp and create a zip file of the file fastStartup_BASE+CSWITCH+DRIVERS+POWER_1.etl or boot_BASE+CSWITCH+DRIVERS+POWER_1.etl (depending if you tarced the old school or the news fast Boot)

0

Share this post


Link to post
Share on other sites

I know what a zip file is but I have no idea where to find C:\temp? Can you please guide me the right way? I am sorry, I am not the best at these things but I appreciate all of your help and patience. =)

0

Share this post


Link to post
Share on other sites

Oh never mind, I found the file. =D I made a zip folder. I am going to upload it to skydrive!

Edited by BDelsol
0

Share this post


Link to post
Share on other sites

Magic Andre,

Check you private messages! Sent you the link. = )

0

Share this post


Link to post
Share on other sites

the delays happen because of:

1st: RequestCredentials takes 11s. So enter the password faster and if you use a LiveID/MS Account,make sure you have Internet Access so that the PW gets validated faster.

2nd: you run too many tools at startup. Remove useless tools like Vit Registry Fix, Revo Uninstaller, Soluto, Eusing Free Registry Cleaner, Find Junk Files, Auslogics Disk Defrag and System Ninja.

You use so much crap tools which only damage your PC.

0

Share this post


Link to post
Share on other sites

Guilty. I am obsessed with cleaning my computer. lol

But either way I have made sure that none start at startup. How come they still are? Can you help me fully remove them from boot time since none of the programs you listed show up on my services or startup manager? Will uninstalling do the trick?

But what about the credentials request? I don't have any passwords set on my computer...?

Thanks in advance! =)

0

Share this post


Link to post
Share on other sites

Do you think by doing this, will it get me back to when the computer was brand spanking new? : )

Also, I would like to do a refresh but I am scared I will loose some programs I need for school. Does it kill all applications and software I have installed?

Thanks again for all of your help! = )

0

Share this post


Link to post
Share on other sites

Magic Andre,

I sent you a private message with a link. Thanks for any help you can provide.

0

Share this post


Link to post
Share on other sites

@ Southpaw

the PC boot slowly, because the mscorsvw.exe causes a high CPU usage. Looks like you've installed a .net update. Let Windows finish the work (or run ngen update from the normal and x64 .net 4.5 folder) and next boot it should be faster.

0

Share this post


Link to post
Share on other sites

Thanks for your help! This is foreign territory to me, so to make sure I understand, I should start up and just let Windows sit for a while to finish whatever it is that needs to be done. Is that correct? I did some googling and found this site: http://blogs.msdn.com/b/davidnotario/archive/2005/04/27/412838.aspx, explaining how to force the queued up work to finish. Will that work?

For the ngen update, do I just find the correct folders, e.g., microsoft\framework\v4.5 & microsoft\frameworkx64\v4.5, then find and run the ngen update files? (Unfortunately I'm not in front of the right computer at the moment to look for them). Will the update files be something easy to recognize like ngen.exe or ngenupdate.exe?

Sorry for all of the questions but thanks again for your help. I really appreciate it. I'll let you know how it goes.

0

Share this post


Link to post
Share on other sites

Open Explroer, go to C:\Windows\Microsoft.NET\Framework64\v4.0.30319 and C:\Windows\Microsoft.NET\Framework\v4.0.30319, open a cmd prompt with admin rights and run ngen update

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.