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

Trace why Windows 8 boots, shutsdown or hibernates slowly

bootvis Performance Boot slow

  • Please log in to reply
368 replies to this topic

#101
kmz7

kmz7
  • Member
  • 8 posts
  • Joined 28-February 13
  • OS:Windows 8 x64
  • Country: Country Flag
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!??
Attached File  reg_wtf.png   106.66KB   9 downloads
It is possible to fix this without reinstall system?


How to remove advertisement from MSFN

#102
kmz7

kmz7
  • Member
  • 8 posts
  • Joined 28-February 13
  • OS:Windows 8 x64
  • Country: Country Flag
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:

#103
DosProbie

DosProbie

    MSFN Expert

  • MSFN Sponsor
  • 1,023 posts
  • Joined 16-October 12
  • OS:Windows 8.1 x64
  • Country: Country Flag

Donator

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!??
Attached File  reg_wtf.png   106.66KB   9 downloads
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..

#104
kmz7

kmz7
  • Member
  • 8 posts
  • Joined 28-February 13
  • OS:Windows 8 x64
  • Country: Country Flag
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...

#105
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,181 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

yor NVIDIA GeForce GT 555M maybe the cause. There is a topic on Technet where users also have large CONFIG folder:

http://social.techne...e0-de9dc5e6a99c

A solution is to stop the "NVIDIA Stereoscopic 3D Driver" service.
Posted Image

#106
kmz7

kmz7
  • Member
  • 8 posts
  • Joined 28-February 13
  • OS:Windows 8 x64
  • Country: Country Flag
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.

#107
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,181 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

nice to hear that you fixed it :)

What is now the complete boot time?
Posted Image

#108
kmz7

kmz7
  • Member
  • 8 posts
  • Joined 28-February 13
  • OS:Windows 8 x64
  • Country: Country Flag
50sec to Start screen.

#109
BDelsol

BDelsol

    Newbie

  • Member
  • 19 posts
  • Joined 06-March 13
  • OS:Windows 8 x64
  • Country: Country Flag
[quote name='MagicAndre1981' timestamp='1346603902' post='1009924']
Posted Image

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/...howtopic=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.:

Posted Image

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. =/


#110
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,181 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

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

#111
BDelsol

BDelsol

    Newbie

  • Member
  • 19 posts
  • Joined 06-March 13
  • OS:Windows 8 x64
  • Country: Country Flag
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, 06 March 2013 - 01:47 PM.


#112
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,181 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

Zip is a file format to reduce the file size:

http://en.wikipedia....p_(file_format)

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

#113
BDelsol

BDelsol

    Newbie

  • Member
  • 19 posts
  • Joined 06-March 13
  • OS:Windows 8 x64
  • Country: Country Flag
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. =)

#114
BDelsol

BDelsol

    Newbie

  • Member
  • 19 posts
  • Joined 06-March 13
  • OS:Windows 8 x64
  • Country: Country Flag
Oh never mind, I found the file. =D I made a zip folder. I am going to upload it to skydrive!

Edited by BDelsol, 06 March 2013 - 02:47 PM.


#115
BDelsol

BDelsol

    Newbie

  • Member
  • 19 posts
  • Joined 06-March 13
  • OS:Windows 8 x64
  • Country: Country Flag
Magic Andre,
Check you private messages! Sent you the link. = )

#116
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,181 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

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

#117
BDelsol

BDelsol

    Newbie

  • Member
  • 19 posts
  • Joined 06-March 13
  • OS:Windows 8 x64
  • Country: Country Flag
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! =)

#118
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,181 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

The boot prefetcher shows a lot of misses with all the tools I mentioned. Best is to use Refresh (http://windows.micro...efresh-reset-pc) Windows 8 which kills all desktop applications. Now only install the desktop tools you really need and not those buggy crap applications.
Posted Image

#119
BDelsol

BDelsol

    Newbie

  • Member
  • 19 posts
  • Joined 06-March 13
  • OS:Windows 8 x64
  • Country: Country Flag
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! = )

#120
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,181 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

refresh renews Windows so that it is stable again. The refresh removes all desktop applications, so you have to reinstall them.

This blog post tells you everything:

http://blogs.msdn.co...et-your-pc.aspx
Posted Image

#121
Southpaw

Southpaw
  • Member
  • 3 posts
  • Joined 08-March 13
  • OS:none specified
  • Country: Country Flag
Magic Andre,
I sent you a private message with a link. Thanks for any help you can provide.

#122
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,181 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

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

#123
Southpaw

Southpaw
  • Member
  • 3 posts
  • Joined 08-March 13
  • OS:none specified
  • Country: Country Flag
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.co.../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.

#124
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,181 posts
  • Joined 28-August 05
  • OS:Windows 8 x64
  • Country: Country Flag

Donator

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

#125
Southpaw

Southpaw
  • Member
  • 3 posts
  • Joined 08-March 13
  • OS:none specified
  • Country: Country Flag
Will do. Thank you so much.





Also tagged with one or more of these keywords: bootvis, Performance, Boot, slow

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users