Go Back   Tech Support Forum > Microsoft Support > BSOD, App Crashes And Hangs

30s to 1m long hangs when installing or uninstalling software.

This is a discussion on 30s to 1m long hangs when installing or uninstalling software. within the BSOD, App Crashes And Hangs forums, part of the Tech Support Forum category. Alright, this has been an ongoing issue for awhile now, maybe around a month or possibly two. As the title


Closed Thread
 
Thread Tools Search this Thread
Old 05-27-2011, 10:00 AM   #1
Registered Member
 
Join Date: May 2011
Posts: 12
OS: Windows 7 Ultimate x64 (SP1)



Alright, this has been an ongoing issue for awhile now, maybe around a month or possibly two. As the title states, I get anywhere from 30 seconds to 1 whole minute system hangs during an installation of either a game or software, but only with certain ones. It doesn't do this with every install, only some. This will either happen once or multiple times during the installation. Example: I just installed nHancer and it hung about 6 times, making the entire install take about 15 minutes, with brief moments that I could use my computer. It should be noted that I'm a gamer and these ONLY happen during installs. Games, benchmarks, file transfers, and anything else operates completely normal. It's ONLY installs (or uninstalls) that makes these lockups happen. So it's not my hard drive, it should also be noted this is happening to a friend as well, same OS, Windows Ultimate x64, but he does not have SP1 installed, and I do. When the hangs occur, my system will look completely normal, and the start bar still animates when you move your cursor over it. Programs will look like they're fine until you click on them, this includes the start bar. Once you click, anything that looks like it's operating normally will completely freeze. Example: Firefox could be displaying a .gif, and as soon as I click, the application freezes, all buttons are unresponsive and the image is stuck. This is only per app, so to actually have the freeze happen I need to click on the program, or use a shortcut i.e. alt+tab menu will appear then freeze. alt+ctrl+delete won't even show up until after the hang stops. Neither will task manager. I've done a chkdsk with no problems, I use Avast w/ Internet Security, it reports no viruses, I use Spybot: Search and Destroy, reports no spyware. I've ran Malwarebytes, no viruses, also ran Hitman Pro, no viruses. System is 100% clean according to all of these programs. And of course, I have not run these simultaneously. Only separately. So no virus program conflicting is going on. When the hang happens, after I click on something, the windows loading cursor will appear for the duration of the hang when hovering over the specified object. I've googled for days and can't find a solution, so I've come here for help. Please tell me something that could rid me of this plague. I can't stand this, and I'm not exactly feeling up to an OS wipe. Thanks for reading and for any follow support I'll receive.

__________________
criticalt3 is offline  
Old 06-01-2011, 07:17 AM   #2
Windows Tech Team
BSOD Kernel Dump Expert
 
Join Date: Jun 2010
Posts: 2,208
OS: Windows 7 SP1



Have you tried turning off Avast's realtime protection temporarily and see if that is impeding on things? You also are not having any other anti-spyware/malware software enabled at the same time, are you? This can cause unnecessary instability with your PC as they will fight over each other on trying to scan items that are read or loaded.

For a more thorough investigation, we'll need to isolate the scenario and determine background operations that are occurring while the hang pops up. You can help us with this by doing the following:

1. Grab Process Explorer. It is essentially a very beefed up version of Task Manager. Run it and then sort columns by CPU or CSwitch Delta. Watch it during the hangs and see if there's any unusual behavior that pops up. Also note any spikes in the graphs. You can double click any of the graphs to bring up its own window where you can hover your mouse pointer over spots in the graph and it will give you details on what is causing what in the graphs.

2. If that is doesn't show up much, then close Process Explorer and grab Process Monitor. Don't run it yet. Instead, start closing stuff down until only the bare minimum is running that will be needed to cause the hanging. The less stuff running in foreground or background, the less cluttered the log will be from Process Monitor, and it'll be more streamlined for me to pinpoint cause.

Once that is accomplished, you'll want to start running Process Monitor then click the magnifying glass "Capture" to stop the capturing (since it starts immediately). Click the erase to clear everything, then start up installation or whatnot. You want to start and stop Process Monitor capturing to capture the time when the installation hangs. You may want to snap a capture of when it isn't hanging as well, for a 'control group' to get context for what I should and should not be seeing. After all that's completed, you can save each capture (File > Save As; don't worry about the options). Zip em up (cuz they can get big) and send them our way for analysis.

Understand that these log files can get big quickly. You want to only capture a few seconds per file.

__________________
VirGnarus is offline  
Old 06-01-2011, 10:24 AM   #3
Registered Member
 
Join Date: May 2011
Posts: 12
OS: Windows 7 Ultimate x64 (SP1)



Okay thanks, I'll try these and get back to you, thanks for the reply! Edit: And I have disabled Avast's shield while running them and it changes nothing, no other realtime protection running either.
__________________
criticalt3 is offline  
Old 06-01-2011, 10:37 AM   #4
Registered Member
 
Join Date: May 2011
Posts: 12
OS: Windows 7 Ultimate x64 (SP1)



Okay, it froze process explorer a few times during installation too, but it seemed that svchost and msiexec were taking 25% (equal to full usage of one core) during the installation, on and off. They'd be 0.01% then all of a sudden go to 25% and trade off and go back down. :\
__________________
criticalt3 is offline  
Old 06-01-2011, 10:55 AM   #5
Windows Tech Team
BSOD Kernel Dump Expert
 
Join Date: Jun 2010
Posts: 2,208
OS: Windows 7 SP1



Dbl-click the svchost that it's blaming and then click on the Threads tab if you're not already there. Sort by CSwitch Delta and watch for another hang and see what thread listed pops up with a high number. If you find one, dbl click it to bring up the stack window. Select the whole stack by holding shift and using your arrow keys to move up/down the stack. When everything is selected, press copy and then paste it over here. Also mention to us what services are listed in the Services tab.

You may continue to do the Process Monitor step after this.
__________________
VirGnarus is offline  
Old 06-01-2011, 02:03 PM   #6
Registered Member
 
Join Date: May 2011
Posts: 12
OS: Windows 7 Ultimate x64 (SP1)



I think 3,165,594 counts as a high number, right? Heh, /sarcasm. Yeah. Here's the info from the stack window. ---------------------------------------------------------------------------------- ntoskrnl.exe!memset+0x64a ntoskrnl.exe!KeWaitForMultipleObjects+0xd52 ntoskrnl.exe!KeWaitForMutexObject+0x19f ntoskrnl.exe!_misaligned_access+0xba4 ntoskrnl.exe!_misaligned_access+0x1821 ntoskrnl.exe!KeWaitForMultipleObjects+0xf5d ntoskrnl.exe!KeRemoveQueueEx+0x323 ntoskrnl.exe!ExQueryAttributeInformation+0x189f ntoskrnl.exe!KeDetachProcess+0x4d2 ntoskrnl.exe!KeSynchronizeExecution+0x3a43 ntdll.dll!ZwWaitForWorkViaWorkerFactory+0xa ntdll.dll!RtlValidateHeap+0x3bb kernel32.dll!BaseThreadInitThunk+0xd ntdll.dll!RtlUserThreadStart+0x21
__________________
criticalt3 is offline  
Old 06-01-2011, 06:47 PM   #7
Registered Member
 
Join Date: May 2011
Posts: 12
OS: Windows 7 Ultimate x64 (SP1)



I think I discovered the problem. I went to services under administrative tools to find that Windows Installer was not started and it was set to manual startup. I set it to automatic and started it. Installed a program that always hangs the system when installing, nHancer. It didn't hang once and installed in under a minute. I ended the process msiexec, which caused the service to stop, and watched Process Explorer as I reinstalled it. But this time, the service automatically started and it still installed fine with no hangs. But every time before now that I've installed nHancer it hung many times. I had even reinstalled it today before I had tested any of that and it hung. Then I did this test, and viola.
__________________
criticalt3 is offline  
Old 06-02-2011, 06:14 AM   #8
Windows Tech Team
BSOD Kernel Dump Expert
 
Join Date: Jun 2010
Posts: 2,208
OS: Windows 7 SP1



I figured that was kinda what was happening. What services were listed in the Services tab in Process Explorer for that svchost? I assume Windows Installer was prolly one of em.

What I'm interested in understanding is how your installations managed to complete without the Windows Installer service running at all. Of course, I'd need the Process Monitor log to figure this one out. However, if what you did got it all fixed up, I see no problem continuing to work on this.

Tell me if you're sure things are working normally now. If so, we can consider this solved.
__________________
VirGnarus is offline  
Old 06-02-2011, 04:46 PM   #9
Registered Member
 
Join Date: May 2011
Posts: 12
OS: Windows 7 Ultimate x64 (SP1)



I am pretty sure everything is okay now. I can't be 100% sure until I start installing more things, but I think it's alright. What I think was happening was, since the service was stopped, the programs were manually trying to start it, and there were huge conflict issues going on, causing the system to hang. Who knows though, I'm not entirely sure. Crazy though. Thanks for the responses! I really appreciate it. I'll let you know if there's anything else that happens. Otherwise I do believe it's fixed.
__________________
criticalt3 is offline  
Old 06-02-2011, 05:22 PM   #10
Windows Tech Team
BSOD Kernel Dump Expert
 
Join Date: Jun 2010
Posts: 2,208
OS: Windows 7 SP1



They shouldn't have been able to continue though, but should've just bugged out and crashed. I guess the service itself isn't really mandatory but the installers didn't know how to handle without access to it. Anyways, all speculation, wanted to understand further but that's cool. Glad to help. Please make sure to mark this thread as solved once after testing it some more and considering everything ok.

__________________
VirGnarus is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Trojans, etc
Greetings, Thank you for taking the time to address my problem. Your help is much appreciated and I understand this is volunteer based, so I will maintain patience. I am trying to set up an older laptop for my kids to use, so I downloaded Avast and ran their Full Scan and their Boot Scan. ...
treefrog1 Inactive Malware Help Topics 44 04-10-2011 04:53 AM
Malware
Hi, my laptop got hijacked. When I power my laptop it will bootup and then I will get a security alert that says, "Virus Alert! Application can't be started! The file mpcmdrun.exe is damaged. Do you want to activate your antivirus software now? If you press yes, then it will open Internet...
dv82u Resolved HJT Threads 14 03-18-2011 11:46 PM
[SOLVED] Yet Another Antivira Av Virus :(
so I've gotten this virus Antivira Av that will pop up and say that I'm under attack... obviously fake. right now I'm in safe mode as i can't open anything other than the internet without Antivira closing it out. I couldn't find a save button for the Gmer log, so if necessary i can run it again...
chuckles3 Resolved HJT Threads 22 03-05-2011 10:39 PM
virus ends all programs, help please
Hello there, the other day whilst not really paying attention I allowed a fishy program to bypass my firewall, and it basically just shuts down any prgrm I open, and opens some fake virus software stuff. Anyways help please, I don't want to buy a new computer yet :grin:
redphase Inactive Malware Help Topics 8 02-25-2011 11:14 AM
Slow Computer - possible virus?
For the past couple days, my computer has slowed down. When I click to open an application, like the internet or MS Word, it's about two minutes before the application opens (yes, I have timed this). So, I tried to download the DDS file, and a dialog box opened, saying "The procedure * could not be...
alicerain Virus/Trojan/Spyware Help 5 02-17-2011 02:29 PM

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is on
Smilies are on
[IMG] code is on
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Post a Question


» Site Navigation
 > FAQ
  > 10.0.0.2


All times are GMT -7. The time now is 07:54 PM.


Copyright 2001 - 2014, Tech Support Forum

Windows 7 - Windows XP - Windows Vista - Trojan Removal - Spyware Removal - Virus Removal - Networking - Security - Top Web Hosts