MSFN Forum: Trace why Windows 8 boots, shutsdown or hibernate slowly - MSFN Forum

Jump to content


  • 9 Pages +
  • « First
  • 4
  • 5
  • 6
  • 7
  • 8
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Trace why Windows 8 boots, shutsdown or hibernate slowly

#101 User is offline   kmz7 

  • Group: Members
  • Posts: 8
  • Joined: 28-February 13
  • OS:Windows 8 x64
  • Country: Country Flag

Posted 28 February 2013 - 02:47 PM

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.66K)
Number of downloads: 7
It is possible to fix this without reinstall system?


#102 User is offline   kmz7 

  • Group: Members
  • Posts: 8
  • Joined: 28-February 13
  • OS:Windows 8 x64
  • Country: Country Flag

Posted 28 February 2013 - 03:15 PM

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 User is offline   DosProbie 

  • Member
  • Group: Supreme Sponsor
  • Posts: 205
  • Joined: 16-October 12
  • OS:Windows 8 x64
  • Country: Country Flag

Posted 28 February 2013 - 03:25 PM

View Postkmz7, on 28 February 2013 - 02:47 PM, said:

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!??
Attachment reg_wtf.png
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 User is offline   kmz7 

  • Group: Members
  • Posts: 8
  • Joined: 28-February 13
  • OS:Windows 8 x64
  • Country: Country Flag

Posted 28 February 2013 - 04:02 PM

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 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,977
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 28 February 2013 - 11:01 PM

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.

#106 User is offline   kmz7 

  • Group: Members
  • Posts: 8
  • Joined: 28-February 13
  • OS:Windows 8 x64
  • Country: Country Flag

Posted 02 March 2013 - 06:41 AM

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 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,977
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 02 March 2013 - 07:09 AM

nice to hear that you fixed it :)

What is now the complete boot time?

#108 User is offline   kmz7 

  • Group: Members
  • Posts: 8
  • Joined: 28-February 13
  • OS:Windows 8 x64
  • Country: Country Flag

Posted 02 March 2013 - 07:34 AM

50sec to Start screen.

#109 User is offline   BDelsol 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 06-March 13
  • OS:Windows 8 x64
  • Country: Country Flag

Posted 06 March 2013 - 12:15 AM

[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 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,977
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 06 March 2013 - 11:27 AM

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

#111 User is offline   BDelsol 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 06-March 13
  • OS:Windows 8 x64
  • Country: Country Flag

Posted 06 March 2013 - 01:44 PM

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

This post has been edited by BDelsol: 06 March 2013 - 01:47 PM


#112 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,977
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 06 March 2013 - 02:16 PM

Zip is a file format to reduce the file size:

http://en.wikipedia....8file_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)

#113 User is offline   BDelsol 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 06-March 13
  • OS:Windows 8 x64
  • Country: Country Flag

Posted 06 March 2013 - 02:34 PM

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 User is offline   BDelsol 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 06-March 13
  • OS:Windows 8 x64
  • Country: Country Flag

Posted 06 March 2013 - 02:45 PM

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

This post has been edited by BDelsol: 06 March 2013 - 02:47 PM


#115 User is offline   BDelsol 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 06-March 13
  • OS:Windows 8 x64
  • Country: Country Flag

Posted 06 March 2013 - 03:07 PM

Magic Andre,
Check you private messages! Sent you the link. = )

#116 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,977
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 06 March 2013 - 11:06 PM

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.

#117 User is offline   BDelsol 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 06-March 13
  • OS:Windows 8 x64
  • Country: Country Flag

Posted 07 March 2013 - 12:16 AM

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 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,977
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 07 March 2013 - 01:09 PM

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.

#119 User is offline   BDelsol 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 06-March 13
  • OS:Windows 8 x64
  • Country: Country Flag

Posted 07 March 2013 - 01:50 PM

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 User is offline   MagicAndre1981 

  • after Windows 7 GA still Vista lover :)
  • Group: Patrons
  • Posts: 4,977
  • Joined: 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Posted 07 March 2013 - 11:24 PM

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

Share this topic:


  • 9 Pages +
  • « First
  • 4
  • 5
  • 6
  • 7
  • 8
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

3 User(s) are reading this topic
0 members, 3 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy