• 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

I have been watching this for a while now and would like to add that there is a tracer in windows 8 that will prevent shut down. and when you try to force shut down it will tell you people are conect to your computer do you really want to shut down. The people are Microsoft !!!!! Remove t he tracer and will shut down no problem! This is what I found and did to windows 8. Get a program that will find it.

Edited by cruze1
0

Share this post


Link to post
Share on other sites

Hi!

I am having a big problem with windows 8 :

We are in a windows domain, and the 1rst login takes 2-3+ mins.

Once a user has logged on, the following logins are very fast (max 10secs).

I see after following your instructions and doing the trace that it is the explorer step that is taking extremely long (over 170s).

Can you please help me? I don't see why it would do that !!

I will attach the xml.

summary_boot.xml

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

@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\ ?

0

Share this post


Link to post
Share on other sites

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 ...!

summary_boot.xml

0

Share this post


Link to post
Share on other sites

@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.com/Shows/Defrag-Tools/Defrag-Tools-3-Process-Monitor

http://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-4-Process-Monitor

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

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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!

Edited by fabdub
0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

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?

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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.

AutoRuns.7z

0

Share this post


Link to post
Share on other sites

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

0

Share this post


Link to post
Share on other sites

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.microsoft.com/en-us/library/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!

0

Share this post


Link to post
Share on other sites

great to hear that you found the cause :)

0

Share this post


Link to post
Share on other sites

Hi all. Usually I discover solutions for my problems myself... But this confused me.

post-374844-0-35314500-1362041934_thumb.

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.com/s/38ylwjcdgumr7gt/boot_BASE%2BCSWITCH%2BDRIVERS%2BPOWER_1.7z

Can someone help me?

PS: Sorry for my bad english.

summary_boot.xml

0

Share this post


Link to post
Share on other sites

Hi all. Usually I discover solutions for my problems myself... But this confused me.

post-374844-0-35314500-1362041934_thumb.

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

0

Share this post


Link to post
Share on other sites

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?

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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

post-70718-0-45684300-1362077352_thumb.p

Run this:

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

to capture registry data.

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.