system hesistates when shutting down

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Good morning,

I have a machine that just doesn't shutdown properly. It closes all
the windows but then just sits there with a light blue screen. I am
sure it is waiting for something to end but I cannot see what. I have
checked the event viewer and nothing seems to jump out at me. The
question I have is:

Is there anyway to see what is running and mark those apps as they
shutdown..?

For example in Unix you can go to the shutdown files and put in a echo
statement that will print on the screen as files are executed. This
makes debugging a snap...

Thanks for any help...


tumblindice
 
Hi tumblindice - Well, not a direct answer to your question (although
Process Viewer, here: http://www.xmlsp.com/pview/prcview.htm is very
useful), but . . .

You might want to check and see if you've installed Hotfix Q329170. If so,
and unless you're sure you need it, it apparently causes major slowdowns on
shutdown and should be removed. See here to decide about whether you need
this hotfix: http://support.microsoft.com/?id=329170. There was a lot of
discussion about this in microsoft.public.win2000.general nws gp at one
point. If you decide to remove it, go to your Control Panel|Add/Remove
Programs and see if Q329170 is listed as installed and, if so, remove it.

This "hotfix" is also installed as part of SP4, and thus can't be removed
separately if you've installed that.

If you decide that you do need to keep it, or you have SP4 installed, an
alternative that's been proposed that will allow you to be able to exit
normally even with the hotfix is to run "net stop spooler" (without the
quotes) from a cmd window before shutdown. You might want to consider
adding that to a logout script that stops the spooler at shutdown, and kept
the hotfix in that case. (I've verified that this works, BTW.)

MS has a fix available if you phone them. See:
http://support.microsoft.com/default.aspx?scid=kb;en-us;814770

(This has also supposedly been fixed in one of the later rollup hotfixes.)


plus (Courtesy of Steve Parry)

start > run > gpedit.msc > Computer Configuration> Administrative Template
System > Logon > Maximum retries to unload and update user profile ... set
enabled and to say 5 ... default if not configured is 60!!

and then (added by me) set waittokillservicetimeout at

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control

to 5000 ms instead of the default 20000.

(I can verify that these last two make a HUGH difference in shutdown times.)

Then, courtesy of Torgeir Bakken, MVP, you might want to try this:

User Profile Hive Cleanup Service
A service to help with slow log off and unreconciled profile problems.
http://www.microsoft.com/downloads/...6D-8912-4E18-B570-42470E2F3582&displaylang=en


Two last areas to check. Unless you actually use them, it has been reported
that unchecking Enable Offline Files in Folder Options|Offline Files tab
substantially decreases the shutdown time (presumtively by eliminating the
"Synchronize all offline files" step). And check and be sure that you don't
unintentionally have Clear the Windows Paging File turned on. See here:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q314834



--
Please respond in the same thread.
Regards, Jim Byrd, MS-MVP



In
 
Yes I do have SP4 installed... so deleting the hot fix is not
available...

I tried the "net stop spooler" and that did not fix the problem.

I did the gpedit and that did take care of it...

and I changed the maximum retires from 60 to 5

and I changed waittokillservicetimeout to 5000

The problem still exists....

Thank you for your help anyway...


Tumblindice
 
Hi Tumblindice - Well, take a look at the fixes outlined here. Although it
says XP, this stuff most applies to Win2k also.

Windows XP Shutdown & Restart Troubleshooting:
http://aumha.org/win5/a/shtdwnxp.htm


--
Please respond in the same thread.
Regards, Jim Byrd, MS-MVP



In
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top