MSFN Forum: Trace Windows 7 boot/shutdown/hibernate/standby/resume issues - MSFN Forum

Jump to content


Windows 7 forum rules

If you have questions about customizing Windows 7 that are vLite-specific, please post them in the vLite forum, not here. If you have questions regarding the unattended installation of Windows 7, please post them in the Unattended Windows 7/Server 2008 R2 section.
  • 49 Pages +
  • « First
  • 39
  • 40
  • 41
  • 42
  • 43
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Trace Windows 7 boot/shutdown/hibernate/standby/resume issues

#801 User is offline   robe 

  • Group: Members
  • Posts: 4
  • Joined: 29-August 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 31 August 2012 - 09:52 AM

Yeah, I saw that the big spike wasn't there now, weird. Makes me wonder if my system is unstable is some way? :blink:
What can I do about the registry issues? (ntkrnlmp.exe)

I'll check through startup tools in Autoruns, you've got any idea which ones is worth keeping except Avast AV?
But now I'm more concerned if there's anything wrong with my system.

Is it enough just to unplug the webcam to make Windows Image Acquisition service work ok? Or should I put the service on delayed start?

This post has been edited by robe: 31 August 2012 - 10:42 AM



#802 User is offline   MagicAndre1981 

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

Posted 01 September 2012 - 02:50 AM

the WIA service should be started on demand. so removing the Webcam should prevent the service from starting.

Look at all those Asus tool. Do you need all of them?

#803 User is offline   war59312 

  • Will's Blog
  • PipPipPipPipPip
  • Group: Members
  • Posts: 932
  • Joined: 07-June 02

Posted 15 September 2012 - 07:15 PM

My computer is taking over 2 minutes to shutdown.

Sadly every time I try and trace I get this:

[2012/09/15-21:05:15.810] Registering for auto-run with a 120000 msec delay...
[2012/09/15-21:05:15.814] Completed auto-run change.
[2012/09/15-21:05:15.814] Registering for auto-run with a 1 msec delay...
[2012/09/15-21:05:15.814] Completed auto-run change.
[2012/09/15-21:05:15.826] Starting trace...
[2012/09/15-21:05:15.875] Couldn't start tracing session to 'C:\TEMP\shutdown_BASE+CSWITCH+DRIVERS+POWER_1_km_premerge.etl' (0x000000b7).
[2012/09/15-21:05:15.876] Unable to start trace.
[2012/09/15-21:05:15.876] Stopping trace...
[2012/09/15-21:05:16.240] Stopped kernel logger.
[2012/09/15-21:05:16.240] Couldn't find user-mode logger in active logger list.
[2012/09/15-21:05:16.240] Unregistering auto-run...
[2012/09/15-21:05:16.240] Completed auto-run change.

OK, this 1 worked: http://www.sevenforu...boot-trace.html after I did:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"DisablePagingExecutive"=dword:00000001

My shutdown trace: http://www.datafileh...d-4fc37a1d.html

This post has been edited by war59312: 15 September 2012 - 08:00 PM


#804 User is offline   MagicAndre1981 

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

Posted 16 September 2012 - 12:45 AM

According to the trace, your Windows shuts down in 14s and not 2 minutes:

- <timing shutdownTime="14329" servicesShutdownDuration="5000">



#805 User is offline   war59312 

  • Will's Blog
  • PipPipPipPipPip
  • Group: Members
  • Posts: 932
  • Joined: 07-June 02

Posted 18 September 2012 - 08:15 PM

Then it lies! Figures!

I just timed it with a stop watch, 3 times in a row, average of 2 minutes 6 seconds just for my computer to turn off.

Enter time it's stuck on "Shutting Down".

#806 User is offline   MagicAndre1981 

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

Posted 19 September 2012 - 09:26 AM

Did it also happen when you ran the trace?

#807 User is offline   war59312 

  • Will's Blog
  • PipPipPipPipPip
  • Group: Members
  • Posts: 932
  • Joined: 07-June 02

Posted 19 September 2012 - 07:57 PM

Yes indeed, happens every single time.

Will get another trace later in the week to be sure.

#808 User is offline   MagicAndre1981 

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

Posted 20 September 2012 - 09:46 AM

Do this and give me the new trace file.

#809 User is offline   war59312 

  • Will's Blog
  • PipPipPipPipPip
  • Group: Members
  • Posts: 932
  • Joined: 07-June 02

Posted 22 September 2012 - 11:24 AM

OK, I figured out my issue.

The issue is http://memory.datara...oftware/ramdisk which seems to have a bug.

My small 1GB RAM drive should be saving to my super fast SSD in a few seconds which it seems to be doing but the driver is taking too long to exit which causes shutdown to hang for 2+ minutes. :(

Going to see if there new version 4 makes any difference.

#810 User is offline   MagicAndre1981 

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

Posted 22 September 2012 - 11:58 AM

ok

#811 User is offline   war59312 

  • Will's Blog
  • PipPipPipPipPip
  • Group: Members
  • Posts: 932
  • Joined: 07-June 02

Posted 22 September 2012 - 01:04 PM

Well afraid version 4 makes no difference what so ever.

Guess I will be switching to a different product. Too bad.

OK I have started using this for my RAMDisk and no more shutdown issue and works perfectly for my needs: http://thessdreview....ftware/1834.htm

This post has been edited by war59312: 22 September 2012 - 02:53 PM


#812 User is offline   doveman 

  • Member
  • PipPip
  • Group: Members
  • Posts: 231
  • Joined: 22-August 05

Posted 22 September 2012 - 06:24 PM

View PostMagicAndre1981, on 23 August 2012 - 05:07 AM, said:

make a new boot trace


OK, I finally got round to doing this. The delay is still about 1m10s before the boot animation shows and then another 30s until the desktop shows. This is with the NoGuiBoot and Bootlog options disabled.

http://www.mediafire...kj1tts5jdumdd7b

#813 User is offline   MagicAndre1981 

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

Posted 23 September 2012 - 03:34 AM

the trace still doesn't show any delays:

<timing bootDoneViaExplorer="30360" bootDoneViaPostBoot="68360" osLoaderDuration="2363" postBootRequiredIdleTime="10000" postBootDisturbance="28000"



so booting to the desktop takes 30s and your Windows is fully booted in 58s. The osLoader takes 2.3s to load and not 1minute. So I can see where you have the delay. The only thing which is a larger delay is that AntiVir service takes 14s to start.

#814 User is offline   doveman 

  • Member
  • PipPip
  • Group: Members
  • Posts: 231
  • Joined: 22-August 05

Posted 23 September 2012 - 04:08 AM

View PostMagicAndre1981, on 23 September 2012 - 03:34 AM, said:

the trace still doesn't show any delays:

<timing bootDoneViaExplorer="30360" bootDoneViaPostBoot="68360" osLoaderDuration="2363" postBootRequiredIdleTime="10000" postBootDisturbance="28000"



so booting to the desktop takes 30s and your Windows is fully booted in 58s. The osLoader takes 2.3s to load and not 1minute. So I can see where you have the delay. The only thing which is a larger delay is that AntiVir service takes 14s to start.


OK, thanks for checking it anyway. Obviously whatever's causing the delay isn't caught by the trace.

#815 User is offline   jeked 

  • Group: Members
  • Posts: 9
  • Joined: 04-October 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 October 2012 - 12:00 AM

Hi magicandre1981,

Im wondering if your still willing to have a look at start-up times etc. I have gone through your tutorial and the HDD optimisation you linked to and have made it a little faster but it is still very long time. I have narrowed the longest time down to the WinlogonInit and PostExplorerPeriod sections of the log generated but in the services are im unable to find much after the initial changes i made.

Before doing your tutorial i also went through my usual speed up routine which i have attached which hopefully didn't cause this problem but basically it uninstalls unneeded/unused software, checks for virus/trojan/etc and removes old drivers.

I have attached the before and after XML summaries but the etl's before is 480KB and after is 603KB.

What is it that you would need if you were going to look?

Best regards,
JohnC.

Attached File(s)



#816 User is offline   MagicAndre1981 

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

Posted 06 October 2012 - 12:29 AM

I need the ETL file to see why WinLogonInit is slow. Compress it as 7z or RAR and upload it to your SkyDrive or Dropbox.

#817 User is offline   jeked 

  • Group: Members
  • Posts: 9
  • Joined: 04-October 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 07 October 2012 - 09:40 PM

Hi and thanks for the response.

I have added to dropbox with the following links:
1. Pre-Fix:
https://www.dropbox....pre-boot-etl.7z

2. Post-Fix: <- Most current
https://www.dropbox....ost-boot-etl.7z

Please let me know if those links dont work as i have never used Dropbox share function...

Regards

#818 User is offline   MagicAndre1981 

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

Posted 08 October 2012 - 01:20 AM

Restoring the network connections takes 125s and causes the long delay:

Attached File  WinLogonInt_RestoreNetworkConnections.png (29.09K)
Number of downloads: 3

So don't restore network connections all the time. Map them later via a CMD script with
NET USE /PERSISTENT: NO


#819 User is offline   jeked 

  • Group: Members
  • Posts: 9
  • Joined: 04-October 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 October 2012 - 01:30 AM

Ill make the change ad re-trace, thanks for your help so far.

#820 User is offline   MagicAndre1981 

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

Posted 08 October 2012 - 09:51 AM

ok, tell me the result.

Share this topic:


  • 49 Pages +
  • « First
  • 39
  • 40
  • 41
  • 42
  • 43
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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



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