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: Waiting for background program to close


20 Apr 2010   #1

windows 7
 
 
Waiting for background program to close

Hi,

When i shutdown my notebook, sometime i saw that box ..
Waiting for background program to close..
But i didnt' see any services in below..
how can i solve it?
how can i see which service is running?
I want to know which service is running.

thanks.
wekhine

My System SpecsSystem Spec
.

20 Apr 2010   #2

W7, Xp Pro
 
 

Quote   Quote: Originally Posted by wekhine View Post
Hi,

When i shutdown my notebook, sometime i saw that box ..
Waiting for background program to close..
But i didnt' see any services in below..
how can i solve it?
how can i see which service is running?
I want to know which service is running.

thanks.
wekhine
Hi, what box.
My System SpecsSystem Spec
21 Apr 2010   #3

windows 7
 
 
Waiting for background program to close

Quote   Quote: Originally Posted by hubris View Post
Quote   Quote: Originally Posted by wekhine View Post
Hi,

When i shutdown my notebook, sometime i saw that box ..
Waiting for background program to close..
But i didnt' see any services in below..
how can i solve it?
how can i see which service is running?
I want to know which service is running.

thanks.
wekhine
Hi, what box.
Hi, pls see attach..


Attached Images
 
My System SpecsSystem Spec
.


23 Apr 2010   #4

win 7
 
 

I have experienced the same problem, and I just managed to fix it.

From my experience, it is caused by one or more not-well-designed background processes in your system, but I think everyone has different processes causing that program, so you have to find out what's the exact wrong process in your system. For me, it's a process called Grid service.

To check which process is wrong, I suggest you open task manager, switch to Processes tab, manually close a suspicious process and try to shutdown win 7. If your win 7 can shutdown correctly, then you know which process is wrong, otherwise, repeat this method by closing another suspicous process until you find out the reason.

Once you know which process is wrong, you may consider uninstalling a related program or disabling it from start-up to get rid of the problem.


Quote   Quote: Originally Posted by wekhine View Post
Hi,

When i shutdown my notebook, sometime i saw that box ..
Waiting for background program to close..
But i didnt' see any services in below..
how can i solve it?
how can i see which service is running?
I want to know which service is running.

thanks.
wekhine
My System SpecsSystem Spec
23 Apr 2010   #5

XP Pro SP3 X86 / Win7 Pro X86
 
 

Quote   Quote: Originally Posted by ecc008lty View Post
From my experience, it is caused by one or more not-well-designed background processes in your system, but I think everyone has different processes causing that program, so you have to find out what's the exact wrong process in your system. For me, it's a process called Grid service.
1) This is not a problem. It's actually a good thing because Windows is waiting for programs to shut down and disk buffers to be flushed to disk. If it didn't do that you'd be at nasty risk for data losses.

2) Some programs do take a while to close off... they have to save settings, close disk files, shut down network ports, release memory, etc. This too is perfectly normal behaviour.

Inside windows when you do a Shutdown every running program receives a WM_CLOSE message which initiates program shutdown. Right after that they receive a WM_POWER message telling them the system is about to shut down... if the program needs more time, it can delay answering the WM_POWER message and conduct it's business shutting down. When ALL programs have answered the WM_POWER message the system shuts off.

Really guys... this isn't something you should be worried about...
My System SpecsSystem Spec
17 May 2010   #6

Windows 7 Ultimate (build 7600)
 
 
Not worried.

I know I'm not worried, but I am VERY annoyed that when I click Restart I am forced to click Force Restart, and then Yes EVERY TIME I restart my computer. (Three clicks every time for one action.)

Instead of weeding through my hundreds of processes, or waiting every time just to restart my PC because a program wants to hold up the restart. Does anyone know how to automatically "force a restart" with one click instead of three. Since I have to force a restart every time anyway..?
My System SpecsSystem Spec
17 May 2010   #7

Windows 7
 
 

Usually this box will pop up for me due to how slow my Firefox session takes to save to disk. If you have to force kill processes constantly, then that is an issue.

I suggest you look through Event Viewer to see what processes are holding up the shutdown process.
My System SpecsSystem Spec
09 Jul 2010   #8

Windows 7 Ultimate x64
 
 

I read the entire thread to see that this problem is still not solved.

In those old good days with Windows XP, we used these kind of registry configuration for this:
Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session  Manager\Memory Management]
“ClearPageFileAtShutdown”=dword:00000001


 [HKEY_USERS\.DEFAULT\Control Panel\Desktop]
“AutoEndTasks”=”1″


 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control]
“WaitToKillServiceTimeout”=”10000″
If "ClearPageFileAtShutdown" is "dword:00000001", Windows clears page file at shutdown. This process takes too much time and is not so important. You can set it to "dword:00000000" if you want.


If you set "AutoEndTasks" to "1" that you computer forces any programs that doesn't shutdown after 10000 milliseconds.


I have three questions:
  1. Does this registry configuration apply to Windows 7 as well?
  2. Which processes the system force to terminate? The ones which does not respond to WM_POWER in 10000ms, or the ones which does not terminate after 10000ms after WM_POWER is sent?
  3. With the configuration above, is the page file cleared only during shutdown, or both during shutdown and restart?
My System SpecsSystem Spec
15 Dec 2010   #9

Windows 7 RC
 
 

Quote:

1) This is not a problem. It's actually a good thing because Windows is waiting for programs to shut down and disk buffers to be flushed to disk. If it didn't do that you'd be at nasty risk for data losses.

2) Some programs do take a while to close off... they have to save settings, close disk files, shut down network ports, release memory, etc. This too is perfectly normal behaviour.

Really guys... this isn't something you should be worried about...
I just got this window, causing what I feel like is needless delay to the reboot process... and the program causing it? Windows Live Messenger. (I was not in any chats or using the software at that moment.) You'd think that Microsoft could cause its own software to get out of the way during a shutdown. A chat program should not require time to close files etc..1
My System SpecsSystem Spec
27 May 2011   #10

windows 7 starter 32bit
 
 

when i change my windows ......this notification will not anymore show
how do i prevent this im very annoyed becAUSE it always show when shutting down my widows...
My System SpecsSystem Spec
Reply

 Waiting for background program to close




Thread Tools




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 12:30 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