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
350 replies to this topic

#76
cruze1

cruze1
  • Member
  • 5 posts
  • Joined 17-July 12
  • OS:XP Pro x86
  • Country: Country Flag
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, 10 December 2012 - 08:45 PM.



How to remove advertisement from MSFN

#77
fabdub

fabdub
  • Member
  • 7 posts
  • Joined 11-December 12
  • OS:none specified
  • Country: Country Flag
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.

Attached Files



#78
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,091 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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

#79
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,091 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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

#80
asdfdsa

asdfdsa
  • Member
  • 7 posts
  • Joined 06-December 12
  • OS:none specified
  • Country: Country Flag

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

#81
fabdub

fabdub
  • Member
  • 7 posts
  • Joined 11-December 12
  • OS:none specified
  • Country: Country Flag

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 Files



#82
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,091 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator


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

#83
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,091 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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

#84
fabdub

fabdub
  • Member
  • 7 posts
  • Joined 11-December 12
  • OS:none specified
  • Country: Country Flag


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, 14 December 2012 - 11:02 AM.


#85
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,091 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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

#86
fabdub

fabdub
  • Member
  • 7 posts
  • Joined 11-December 12
  • OS:none specified
  • Country: Country Flag

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
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,091 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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

#88
fabdub

fabdub
  • Member
  • 7 posts
  • Joined 11-December 12
  • OS:none specified
  • Country: Country Flag

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
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,091 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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

#90
fabdub

fabdub
  • Member
  • 7 posts
  • Joined 11-December 12
  • OS:none specified
  • Country: Country Flag

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 Files



#91
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,091 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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

#92
fabdub

fabdub
  • Member
  • 7 posts
  • Joined 11-December 12
  • OS:none specified
  • Country: Country Flag

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
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,091 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

great to hear that you found the cause :)
Posted Image

#94
kmz7

kmz7
  • Member
  • 8 posts
  • Joined 28-February 13
  • OS:Windows 8 x64
  • Country: Country Flag
Hi all. Usually I discover solutions for my problems myself... But this confused me.
Attached File  scc.png   126.24KB   6 downloads
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....VERS+POWER_1.7z
Can someone help me?
PS: Sorry for my bad english.

Attached Files



#95
DosProbie

DosProbie

    Friend of MSFN

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

Donator

Hi all. Usually I discover solutions for my problems myself... But this confused me.
Attached File  scc.png   126.24KB   6 downloads
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
kmz7

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

DosProbie

    Friend of MSFN

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

Donator

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
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,091 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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

#99
kmz7

kmz7
  • Member
  • 8 posts
  • Joined 28-February 13
  • OS:Windows 8 x64
  • Country: Country Flag
done... https://www.dropbox....ER+profile_1.7z

#100
MagicAndre1981

MagicAndre1981

    after Windows 7 GA still Vista lover :)

  • Patrons
  • 6,091 posts
  • Joined 28-August 05
  • OS:Vista Ultimate x86
  • Country: Country Flag

Donator

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.91KB   6 downloads

Run this:

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

to capture registry data.
Posted Image





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