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

Jump to content


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

Trace why Windows 8 boots, shutsdown or hibernate slowly

#81 User is offline   fabdub 

  • Group: Members
  • Posts: 7
  • Joined: 11-December 12
  • OS:none specified
  • Country: Country Flag

Posted 11 December 2012 - 03:01 PM

View PostMagicAndre1981, on 11 December 2012 - 01:08 PM, said:

WinLogonInit and ExplorerInit are slow. I see you use GPOs. tweak them to as much as possible.


I unjoined the domain and still over 2mins first logon ... here is the new xml..
I don't get it! Explorerinit seems to take forever but nothing within it shows any trace of it being slow ...!

Attached File(s)




#82 User is offline   MagicAndre1981 

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

Posted 11 December 2012 - 11:10 PM

View Postasdfdsa, on 11 December 2012 - 01:43 PM, said:

View PostMagicAndre1981, on 11 December 2012 - 01:10 PM, said:

@asdfdsa

opening the key \Registry\MACHINE\SOFTWARE\Policies\Microsoft\Windows\FileSystems\Ntfs takes so much time. Open regedit.exe and look which data you have in this key.


There is no \FileSystems\ ?


this is wired.

Run ProcMon boot logging:

http://channel9.msdn...Process-Monitor
http://channel9.msdn...Process-Monitor

look a at the duration column. Does it also show the long opening of the key?

#83 User is offline   MagicAndre1981 

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

Posted 11 December 2012 - 11:11 PM

View Postfabdub, on 11 December 2012 - 03:01 PM, said:

I unjoined the domain and still over 2mins first logon ... here is the new xml..
I don't get it! Explorerinit seems to take forever but nothing within it shows any trace of it being slow ...!


which AV tool do you use? Look at at the disk graph at this time. Is the disk busy? if yes, which process causes it.

#84 User is offline   fabdub 

  • Group: Members
  • Posts: 7
  • Joined: 11-December 12
  • OS:none specified
  • Country: Country Flag

Posted 14 December 2012 - 11:00 AM

View PostMagicAndre1981, on 11 December 2012 - 11:11 PM, said:

View Postfabdub, on 11 December 2012 - 03:01 PM, said:

I unjoined the domain and still over 2mins first logon ... here is the new xml..
I don't get it! Explorerinit seems to take forever but nothing within it shows any trace of it being slow ...!


which AV tool do you use? Look at at the disk graph at this time. Is the disk busy? if yes, which process causes it.


No AV.
I don't seem to see anything slowing it down in the disk utilization ... can you please look at the etl file ?

here is the link :

http://www.sendspace.com/file/4pvmo7


thanks very much!

This post has been edited by fabdub: 14 December 2012 - 11:02 AM


#85 User is offline   MagicAndre1981 

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

Posted 14 December 2012 - 11:37 AM

please compress it as 7z and upload it to a faster host (mediafire.com, zippyshare) or Dropbox.

#86 User is offline   fabdub 

  • Group: Members
  • Posts: 7
  • Joined: 11-December 12
  • OS:none specified
  • Country: Country Flag

Posted 14 December 2012 - 11:41 AM

View PostMagicAndre1981, on 14 December 2012 - 11:37 AM, said:

please compress it as 7z and upload it to a faster host (mediafire.com, zippyshare) or Dropbox.


Here you go.

http://www24.zippysh...94985/file.html


thanks again!

#87 User is offline   MagicAndre1981 

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

Posted 14 December 2012 - 01:47 PM

Do you install software? I see references to Shell32_ActiveSetup_RunOneInstallStub and those commands:

rundll32.exe AppXDeploymentExtensions.dll;ShellRefresh


Do you deploy apps via sideloading?

#88 User is offline   fabdub 

  • Group: Members
  • Posts: 7
  • Joined: 11-December 12
  • OS:none specified
  • Country: Country Flag

Posted 17 December 2012 - 02:47 PM

View PostMagicAndre1981, on 14 December 2012 - 01:47 PM, said:

Do you install software? I see references to Shell32_ActiveSetup_RunOneInstallStub and those commands:

rundll32.exe AppXDeploymentExtensions.dll;ShellRefresh


Do you deploy apps via sideloading?


Not that I know of?
What would that be can you explain?

thanks

#89 User is offline   MagicAndre1981 

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

Posted 17 December 2012 - 11:48 PM

Run AutoRuns from sysinternals and look for the startup entries and disable the AppX Deployment entries if you don't want to install the Apps.

#90 User is offline   fabdub 

  • Group: Members
  • Posts: 7
  • Joined: 11-December 12
  • OS:none specified
  • Country: Country Flag

Posted 18 December 2012 - 06:53 AM

View PostMagicAndre1981, on 17 December 2012 - 11:48 PM, said:

Run AutoRuns from sysinternals and look for the startup entries and disable the AppX Deployment entries if you don't want to install the Apps.


I don't see anything ... look at the autoruns log file ...

thanks for your help.

Attached File(s)



#91 User is offline   MagicAndre1981 

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

Posted 18 December 2012 - 09:23 AM

do you apply group policy settings? Are the apps installed there?

#92 User is offline   fabdub 

  • Group: Members
  • Posts: 7
  • Joined: 11-December 12
  • OS:none specified
  • Country: Country Flag

Posted 18 December 2012 - 10:59 AM

View PostMagicAndre1981, on 18 December 2012 - 09:23 AM, said:

do you apply group policy settings? Are the apps installed there?


I found the cause ....
I had customized my default start screen following this :

http://technet.micro...y/jj134269.aspx

I had appsfolderlayout.bin in there and as soon as I removed it, login time went below 15secs for new users.

Now I need to try the other 2 methods for customizing the start screen because I need to!

#93 User is offline   MagicAndre1981 

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

Posted 18 December 2012 - 11:30 PM

great to hear that you found the cause :)

#94 User is offline   kmz7 

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

Posted 28 February 2013 - 03:16 AM

Hi all. Usually I discover solutions for my problems myself... But this confused me.
Attached File  scc.png (126.24K)
Number of downloads: 5
This happens with normal boot (or restart).
System stuck at booting with logo and rolling dots almost for 10 minutes, with some cpu load and no HDD activity, then boots up normally. It begins about month ago, I dont know when and after what. I use only sleep and hibernation, reboot only after updates and BSODs (sometimes it crash when going to sleep, thanks for nvidia).
I can't google something similar problems.
In trace I found that one thread (472 in this trace) in System process starts after autochk end, and stuck for large time, and booting resumed after it ends. I tried to uninstall AV, and tried to disable autochk, but no success. HDD is good too.
Fast boot working good, but it not needed for me...
.etl file here https://www.dropbox....RS%2BPOWER_1.7z
Can someone help me?
PS: Sorry for my bad english.

Attached File(s)



#95 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 - 04:53 AM

View Postkmz7, on 28 February 2013 - 03:16 AM, said:

Hi all. Usually I discover solutions for my problems myself... But this confused me.
Attachment scc.png
This happens with normal boot (or restart).
System stuck at booting with logo and rolling dots almost for 10 minutes, with some cpu load and no HDD activity, then boots up normally. It begins about month ago, I dont know when and after what. I use only sleep and hibernation, reboot only after updates and BSODs (sometimes it crash when going to sleep, thanks for nvidia).
I can't google something similar problems.
In trace I found that one thread (472 in this trace) in System process starts after autochk end, and stuck for large time, and booting resumed after it ends. I tried to uninstall AV, and tried to disable autochk, but no success. HDD is good too.
Fast boot working good, but it not needed for me...
.etl file here https://www.dropbox....RS%2BPOWER_1.7z
Can someone help me?
PS: Sorry for my bad english.

If you havent already done this try:
1.Go into msconfig, click on "Services" tab and check off "Hide all Microsoft services"
2.Then go to "Startup" tab and disable tasks.
3.Now go and reboot and check again and see if that makes a difference for you..

4.If Not and 472 is the culprit see what pid 472 is and if its needed or not.
go to task manager > click on "Details" tab and look for the PID 472 and .exe file its using..
then you can kill it from commandline:
Pid number => C:\>Taskkill /PID 472 /F
or
Pid .exe => %windir%\system32\taskkill /f /im file.exe >nul 2>&1





#96 User is offline   kmz7 

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

Posted 28 February 2013 - 05:29 AM

I tried to clean autostart. No difference. This problem occured even in safe mode boot.
472 is thread of "System" process (pid 4). And how i can kill process in booting?

#97 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 - 06:53 AM

View Postkmz7, on 28 February 2013 - 05:29 AM, said:

I tried to clean autostart. No difference. This problem occured even in safe mode boot.
472 is thread of "System" process (pid 4). And how i can kill process in booting?



What OS are you using?
Are you on a lap or desktop?
Is windows updates Enabled?
Are you using Google desktop?
Uninstall your anti-virus and see if you still have issue
Right-click and check that the priority is Normal.

#98 User is offline   MagicAndre1981 

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

Posted 28 February 2013 - 09:56 AM

ok, you must make a new trace with this command:

xbootmgr -trace boot -traceFlags BASE+CSWITCH+POWER+profile -stackwalk profile


this also captures CPU sampling data so that I can see more details.

#99 User is offline   kmz7 

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

Posted 28 February 2013 - 12:13 PM

done... https://www.dropbox....%2Bprofile_1.7z

#100 User is offline   MagicAndre1981 

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

Posted 28 February 2013 - 12:54 PM

ok. checking the registry causes the high CPU usage of the Kernel (SYSTEM) and this causes the long boot delay:

Attached File  System_registry.png (35.91K)
Number of downloads: 4

Run this:

xbootmgr -trace boot -traceFlags BASE+CSWITCH+POWER+REGISTRY -stackwalk RegQueryKey+RegEnumerateKey+RegCreateKey+RegOpenKey+RegCloseKey


to capture registry data.

Share this topic:


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

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



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