• 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 Windows 7 boot/shutdown/hibernate/standby/resume issues

1,275 posts in this topic

ran powercfg -h off from elevated command prompt..........seemed hung at first, but maybe it was busy dumping the hyberfil file. Tested by doing two re-boots...............seems like nothing changed

EDIT 1: Have removed all software and the same things is still there after each item removed . Going to wipe and start over and what closely for the issue after each little change is done to see if I can catch what caused the issue. My guess right now is that something got tweaked during a software install and the Windows removal process has not backed it out. <br /><br />Also, vmware initially wanted me to apply <a href='http://www.microsoft.com/downloads/details.aspx?FamilyID=3a7b7298-37e6-4edf-a017-09a6bbc75287&DisplayLang=en' class='bbc_url' title='External link' rel='nofollow'>http://www.microsoft...&DisplayLang=en</a> But it does not specifically say its for Win 7 systems as well so I did not try it.

EDIT 2: dumped trying to fix the existing install, figuring that its going to be like chasing a ghost to fix it. I did fresh install and let the process auto update with two patches KB978601 & KB979309. As part of the install process the system rebooted. This was lighting quick. After the re-boot, to check and insure, I manually rebooted the system, it went through the shut down process lightning quick.

Executed the vmware tools install "setup64.exe" from within the guest and left the default options as selected. The install process initiated re-boot at the end, again the system re-booted lightening quick. After coming back up, to check and insure, I manually rebooted the system, again it went through the shut down process lightning quick.

I then went through the process to add the PC to the domain. Slightly slower re-boot this time. The boot up process took a little longer this time to get to a CTRL-ALT-DELETE.

Logged in as domain administrator, once the desktop came up, I re-booted. OK, the long time to shut down is now happening again. Once it finally re-booted I logged in as another user and then did a re-boot.......again same thing.

I'm wondering what can change within a basic Win 7 OS install after adding a PC to a domain, and a user logging in for the first time........this is a real basic Win 7 OS install. We do not use log in scripts or sophisticated domain policies.........its a real basic setup in order to keep things simple to work with and maintain.

So far we have three other Win 7 installs including one that's virtualized like this one, no issues with them.

Andre, I'll get another file over to you from this fresh install.

Edited by supjack
0

Share this post


Link to post
Share on other sites

the log is not complete, from what I see (without extracting it). What is shown in the log?

@MagicAndre1981 I PMed you the password for the zip i posted above.

Let me know specifically what else you need...

perhaps I need to run another trace?

0

Share this post


Link to post
Share on other sites

@Prodeje79

You have to make a new trace. The trace is incomplete

0

Share this post


Link to post
Share on other sites

Tested by doing two re-boots...............seems like nothing changed

make a new trace, please.

0

Share this post


Link to post
Share on other sites

Would you mind checking my traces, please? For me, Windows takes about 3-5 minutes to shutdown.

0

Share this post


Link to post
Share on other sites

yes, compress it and post/send a link.

0

Share this post


Link to post
Share on other sites

yes, compress it and post/send a link.

I sent you links in PM.

0

Share this post


Link to post
Share on other sites

ok, I checked the trace and the services are fine.

The delay occurs during shutdown the IO-system.

 <interval name="IoShutdownSystem" startTime="15683" endTime="46995" duration="31312" /> 

this takes 30s.

I found that you use a RAMdrive (RAMDiskVE.sys - F:\FFRAMDisk.img), which causes a huge IO access while shutdown.

Disable the RAMdrive and the issue is gone. What have you stored there?

0

Share this post


Link to post
Share on other sites

ok, I checked the trace and the services are fine.

The delay occurs during shutdown the IO-system.

 <interval name="IoShutdownSystem" startTime="15683" endTime="46995" duration="31312" /> 

this takes 30s.

I found that you use a RAMdrive (RAMDiskVE.sys - F:\FFRAMDisk.img), which causes a huge IO access while shutdown.

Disable the RAMdrive and the issue is gone. What have you stored there?

Thank you. Yes, that's a RAM disk for Firefox (MUCH faster and more responsive). I will disable it and test. Which trace did you check, though?

OK, tested. Shame on me for ignoring RAM disk. With RAM disk disabled, Windows shuts down in under 30 seconds.

Funny thing is that it takes 30 seconds to save the disk and (without it) about 20 seconds to shutdown Windows, but when RAM disk is enabled shutdown takes around 4 minutes. How is that possible?

Anyway, thanks for pointing that out! I guess I'll have to remember to unload RAM disk before each reboot.

Edited by asmodeus
0

Share this post


Link to post
Share on other sites

Thank you. Yes, that's a RAM disk for Firefox (MUCH faster and more responsive). I will disable it and test. Which trace did you check, though?

I tested the complete trace without disabling anything. As you see, disabling services doesn't mean you improve anything. You always have to make a trace and look at the data.

0

Share this post


Link to post
Share on other sites

@Prodeje79

You have to make a new trace. The trace is incomplete

http://rapidshare.com/files/410418100/trace2.zip

same password

thanks!

EDIT: File was over 50mb so I could not use the existing site.

I tried rapid share for the first time, but I do not think it worked.

I will report back with a working link soon.

EDIT2: OK I am giving up on rapid share, it keeps saying the links expired even right after I do it.

So I used Winrar to limt to 50mb, and here it is:

http://cid-5f415a3ae2fd7692.office.live.com/self.aspx/LindasPC/trace2rar.rar

Edited by Prodeje79
0

Share this post


Link to post
Share on other sites

Anyway, thanks for pointing that out! I guess I'll have to remember to unload RAM disk before each reboot.

Or maybe you could try using another Ramdisk, there are several freeware ones.

A list is here:

http://www.boot-land.net/forums/index.php?showtopic=1507

jaclaz

thanks, I'll check it out. My primary reason for using Dataram RAMdisk was that it uses a file as a disk container and has periodic autosave. But those are probably not that rare, at least I hope so.

0

Share this post


Link to post
Share on other sites

ANDRE:

Please examine. I'm getting slow shutdowns

ok, I've checked the traces and can't find any slowness.

Your boot takes 14s to the desktop and 18s till all startup programs are loaded.

Your 4GHz i7 and the SSD are doing a good job.

The shutdown is also fast. It takes 10s (5s to stop the services and 3.6 to stop the running programs, the rest is shutdown the kernel).

There is nothing to worry. Everything is fast and fine.

André

0

Share this post


Link to post
Share on other sites

From what I see, the winloginInit phase takes too long:

Prodeje79_1.png

After opening the trace with the viewer I saw this:

Prodeje79_2.png

Do you see the avg.sys files? The take to long to load. This is the driver of the AVG AntiVirus software. Which version do you use? Try to remove it.

André

0

Share this post


Link to post
Share on other sites

ANDRE:

Please examine. I'm getting slow shutdowns

ok, I've checked the traces and can't find any slowness.

Your boot takes 14s to the desktop and 18s till all startup programs are loaded.

Your 4GHz i7 and the SSD are doing a good job.

The shutdown is also fast. It takes 10s (5s to stop the services and 3.6 to stop the running programs, the rest is shutdown the kernel).

There is nothing to worry. Everything is fast and fine.

André

So why do errors keep generating in the performance log?

0

Share this post


Link to post
Share on other sites

can you please export the event log entries and upload them?

0

Share this post


Link to post
Share on other sites

From what I see, the winloginInit phase takes too long:

<<SNIP>>

Do you see the avg.sys files? The take to long to load. This is the driver of the AVG AntiVirus software. Which version do you use? Try to remove it.

André

Wow that rapidshare worked i guess! Here is the Skydrive link unless you are sure it worked ok....

http://cid-5f415a3ae2fd7692.office.live.com/self.aspx/LindasPC/trace2rar.rar

OK I will remove AVG Free. This is my mother-in-laws PC, what free AV would you put on a relative's PC?

I was thinking about trying that Panda Cloud AntiVirus....

I figured out what makes it finally load the login screen....

Once the PC goes into sleep/hibernate/suspend or whatever, I move the mouse to wake it up and the screen then loads.

I changed the power setting from 30 mins to 15 mins, and now it reboots faster to the login screen. :)

Thanks again!

0

Share this post


Link to post
Share on other sites

From what I see, the winloginInit phase takes too long:

<<SNIP>>

Do you see the avg.sys files? The take to long to load. This is the driver of the AVG AntiVirus software. Which version do you use? Try to remove it.

André

Wow that rapidshare worked i guess! Here is the Skydrive link unless you are sure it worked ok....

http://cid-5f415a3ae2fd7692.office.live.com/self.aspx/LindasPC/trace2rar.rar

OK I will remove AVG Free. This is my mother-in-laws PC, what free AV would you put on a relative's PC?

I was thinking about trying that Panda Cloud AntiVirus....

I figured out what makes it finally load the login screen....

Once the PC goes into sleep/hibernate/suspend or whatever, I move the mouse to wake it up and the screen then loads.

I changed the power setting from 30 mins to 15 mins, and now it reboots faster to the login screen. :)

Thanks again!

OK

Removed AVG. This trace was without any AV installed. I then installed the Microsoft product you recommended.

The trace without any AV still had the same issue of taking 30 minutes to boot. So perhaps my thoughts on the 30-15 min hibernation is wrong. Or my niece/nephew moved the mouse about 14 minutes into it. It is just a black screen with the white mouse than can move around.

This seems directly linked to hibernation as it works immediately after hibernating and back on?

http://cid-5f415a3ae2fd7692.office.live.com/self.aspx/LindasPC/trace3.rar

same password as before.

Thanks!!

0

Share this post


Link to post
Share on other sites

Thanks for the quick reply!

I found that link shortly after posting the trace, and did the optimization, I did it again for good measure. Here is the new trace, it does not look as though much has improved.

New trace

http://cid-61658142b79af5a0.office.live.com/self.aspx/Documents/Boot%20Trace%20Optimized%20New.rar

Hi,

n your case the ExplorerInit phase takes most time. What I can see, is that the Prefetcher is not working correctly. Run the optimization, I shown here please:

http://www.msfn.org/board/index.php?showtopic=140262

If it's still not faster, make a new trace.

0

Share this post


Link to post
Share on other sites

Removed AVG. This trace was without any AV installed. I then installed the Microsoft product you recommended.

The trace without any AV still had the same issue of taking 30 minutes to boot. So perhaps my thoughts on the 30-15 min hibernation is wrong. Or my niece/nephew moved the mouse about 14 minutes into it. It is just a black screen with the white mouse than can move around.

This seems directly linked to hibernation as it works immediately after hibernating and back on?

http://cid-5f415a3ae2fd7692.office.live.com/self.aspx/LindasPC/trace3.rar

same password as before.

Thanks!!

The ssdpsrv.dll (SSDP Service ) now uses most of your CPU time and causes a delay and a huge HDD IO activity in the WinLogOnInit Phase. Do you use devices which depends on SSDP or UPnP?

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.