Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Windows 7 x64 ultimate, shutdown problem


19 Oct 2011   #1

Windows 7 Ultimate x64
 
 
Windows 7 x64 ultimate, shutdown problem

Hello.
I recently upgraded my system with a a new OCZ SSD 120GB Vertex 2.
I made a clean install of Windows 7 x64 ultimate edition and made all the Microsoft updates. The problem is that my system has a very slow shutdown around 1-3 minutes. I haven't experienced this problem before the upgrade, even though it is a fresh install of windows. My system has the same programs, settings and hardware installed as before the setup. The strange thing is that, if i start my system and then immediately shutdown as soon as it logs in windows, then the shutdown progress occurs immediately, in about 6-12 seconds.In the other hand, if i use my system for a while, play a game, listen to music or navigate through Mozilla and other things then the shutdown progress is really slow.

I have read many forums about that problem, i have made a clean boot, and still the same, except if the windows processes are turned off, i also tried everything that has to do with the tweaking of registry, like clearing page file times, shut down time, etc.

I think that maybe some driver has a problem and hangs, or some application, and i can,t track it. If there is a way to track it down...?
I also downloaded the Windows 7 SDK and made a trace shutdown as the User "Cluberti" said in one post, but i don't understand what the trace file means.

Please can anyone help me? It is really annoying.

Thank you in Advance.

My System SpecsSystem Spec
.

20 Oct 2011   #2

Windows Server 2008 R2
 
 

Post the shutdown trace, and hopefully I can tell you .
My System SpecsSystem Spec
20 Oct 2011   #3

Windows 7 Ultimate x64
 
 

Thank you for your replies, i will post the shutdown trace as soon as i get back to home from work, but the file is really big, should i take a screenshot of it?

As for the registry, i repaired it with Tuneup utilities 2011 and AVG tuneup.
Can you recommend some other program?
My System SpecsSystem Spec
.


20 Oct 2011   #4

Windows Server 2008 R2
 
 

Zip up the .etl file with something like 7zip, and upload if possible. Screenshots won't help.
My System SpecsSystem Spec
20 Oct 2011   #5

Windows 7 Ultimate x64
 
 

I compressed the trace file with 7zip and it becomes a compressed file of 19mb size.
I don't think i can upload it here, is there another way?

Also to mention that, i did all the steps to make the trace file as u said in another post.
The first time my pc restarts, the shutdown time is long, as i said, 1-2 minutes.
The second time my pc logs in windows and then it restarts, the shutdown occurs normally, in like 6-10 seconds.
If the trace file generates during the second restart, then i don't think that in my case it will show some problem.
My System SpecsSystem Spec
21 Oct 2011   #6

Windows Server 2008 R2
 
 

If you are following the guide, you'll note there are multiple suggestions there for upload sites to use. As to the shutdown trace, try adding the -noprepreboot parameter to the end of the command to make it trace on the first shutdown.
My System SpecsSystem Spec
21 Oct 2011   #7

Windows 7 Ultimate x64
 
 

Ok, i made the trace with the first shutdown, i zipped it via 7zip and i uploaded it here
shutdown_BASE+LATENCY+DISK_IO_INIT+DISPATCHER+DRIVERS+FILE_IO+FILE_IO_INIT+NETWORKTRACE+PERF_COUNTER +POWER+PRIORITY+REGISTRY_1.7z
Hope it helps.
I am waiting for any answer.
My System SpecsSystem Spec
21 Oct 2011   #8

Windows Server 2008 R2
 
 

In looking at the shutdown trace, it's being held up (at first glance) by clfs.sys - this, however, is just a victim. You can see what it "does" here:
Common Log File System

Given that it's just a logging .dll, something is registering data and potentially logging during shutdown, causing this to show up as having a problem unloading - obviously, this is false, so after digging deeper, I found that the hpslpcsvc service was slow in shutting down, for almost exactly the same amount of time. This particular service gets installed by HP printers, so it looked suspicious. I also noticed that there's a driver delay, at around the same exact time as well, from AVG - specifically, avgmfx64.sys. Once that driver stops, the entire system shuts down (at least according to the trace), so I'm left with wondering which is causing the logging service to run like this - is it the HP printer driver service, or the AVG filter driver? According to the disk I/O graph, it appears that almost all of the disk access is going to "Unknown" (and at 100% utilization, from when the AVG driver loads to system shut down notification), but when looking at the file I/O table, the bulk of the disk I/O is actually FSCTL calls to \Device\HardDiskVolume2, by both SYSTEM and by a process called avgchsva.exe, which I would suspect being AVG's. I wish that was definitive, but it could still be an issue with the HP driver.

To cover all bases, it's probably useful to remove any HP software you have on the machine, and remove AVG - I would suggest you have downloaded the latest HP software for your printer(s), and the latest version of AVG as well before continuing - you might want to disconnect from the internet while doing this to be safe, so having everything local will be beneficial.

Remove the HP software, and AVG - then, reboot five times (needed for superfetch), and see if the problem continues. If it does not, add the HP software you just downloaded for your printer(s). Again, reboot five times, and see if the problem comes back. If not, I'd suggest adding the latest version of AVG back to the system and testing again (connected to the internet for the reboots at this point, of course), to see what happens. If the problem returns when doing this very drawn out test, you will have your culprit.

I usually recommend A/V software other than AVG, but to each his or her own - if it works for you, I'd suggest using it. However, it does have it's moments of causing performance issues, hence why I think your problem is the AVG driver and software, not the HP printer software.
My System SpecsSystem Spec
23 Oct 2011   #9

Windows 7 Ultimate x64
 
 

I did as you said, uninstalled both of these, Downloaded and installed newest versions. The first two times i shutdown windows it was OK. Here is a trace i made today.shutdown_BASE+LATENCY+DISK_IO_INIT+DISPATCHER+DRIVERS+FILE_IO+FILE_IO_INIT+NETWORKTRACE+PERF_COUNTER +POWER+PRIORITY+REGISTRY_1.rar. It was a long shutdown. I don't know what else to do. Thank you for your help and your time anyway!
My System SpecsSystem Spec
23 Oct 2011   #10

Windows Server 2008 R2
 
 

According to this, it's AVG's filter driver...
My System SpecsSystem Spec
Reply

 Windows 7 x64 ultimate, shutdown problem




Thread Tools



Similar help and support threads for2: Windows 7 x64 ultimate, shutdown problem
Thread Forum
Random shutdown with no BSOD Win 7 Ultimate 32 bit BSOD Help and Support
Windows 7 Shutdown problem General Discussion
disable " Force Shutdown" confirm in windows ultimate General Discussion
Shutdown problem windows xp Performance & Maintenance
Windows 7 ultimate 64bit His not shutdown properly General Discussion
Windows 7 Shutdown Problem General Discussion
BSOD's at shutdown,win 7 ultimate x64 BSOD Help and Support

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 03:52 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33