Hanging on shutdown: 'End prog Autocomplete'

G

Guest

Probably an old one, but googling hasn't come up with the cause and specific
cure (though it did come up with the registry tweak to turn on auto kill of
hung processes in general).

XP Pro, SP2, IE6

Hangs for one user (who uses Outlook) but not the other (Outlook Express
user mostly).
Event log does not show anything useful.

Cheers,

S
 
T

Thee Chicago Wolf

Probably an old one, but googling hasn't come up with the cause and specific
cure (though it did come up with the registry tweak to turn on auto kill of
hung processes in general).

XP Pro, SP2, IE6

Hangs for one user (who uses Outlook) but not the other (Outlook Express
user mostly).
Event log does not show anything useful.

For your shutdown issue, try the following:

Go to Start > Run and enter REGEDIT and press OK. This fires up the
registry editor.

Navigate to HKEY_CURRENT_USER\Control Panel\Desktop. Edit the
following keys:

1) AutoEndTasks: Default is 0, make it 1

Reboot. Next time you shut down, it should automatically close things
down for you. Let me know how it goes.

- Thee Chicago Wolf
 
G

Guest

Thee Chicago Wolf said:
For your shutdown issue, try the following:

Go to Start > Run and enter REGEDIT and press OK. This fires up the
registry editor.

Navigate to HKEY_CURRENT_USER\Control Panel\Desktop. Edit the
following keys:

1) AutoEndTasks: Default is 0, make it 1

Reboot. Next time you shut down, it should automatically close things
down for you. Let me know how it goes.

- Thee Chicago Wolf

Thanks CW. That is actually the tweak I was referring to and I have done
it. I am a little concerned at what this might do if it happened to decide
to shut down Outlook Express, or Outlook, while they were compacting or
engaged in other lengthy activities within their pst/dbx files. The result
could be catastrophic!

Cheers,

S
 
G

Guest

Gerry said:
Download and install the User Profile Hive Cleanup Service
Download details: User Profile Hive Cleanup Service
http://snipurl.com/5b61

UPHClean v1.5e readme.txt
http://snipurl.com/ko8m


Hope this helps.

Gerry

Thanks Gerry,
I've actually been using that handy little device for some time. I'll check
to see if the other user has turned it off on her side - though I doubt she
would find out how!

Hmm, and now I am reminded as to why I run the hive cleanup: because XP had
a tendency to recreate profiles it could not immediately find when fast user
switching, with the result that other user lost entire Outlook.pst with
several years of mail on! Now I wonder if going to automatically kill hung
progs, as suggested by Wolf, and already done by me, is rather to dodgy a
way of 'curing' the problem with the hung autocomplete.

I think the 'hung autocomplete' is probably something to do with the way
Outlook interacts with Internet Explorer, as I do not get the problem on 'my
side' where I use OE.

Any more thoughts?
Maybe I'll try asking in the Outlook group as well.

Cheers,

S
 
T

Thee Chicago Wolf

Thanks CW. That is actually the tweak I was referring to and I have done
it. I am a little concerned at what this might do if it happened to decide
to shut down Outlook Express, or Outlook, while they were compacting or
engaged in other lengthy activities within their pst/dbx files. The result
could be catastrophic!

It could but not likely. The AutoEndTask setting will only end on
non-responsive tasks and not those tasks that are running but not yet
finished closing. Apps performing graceful exits or shutdowns will not
be affected. Realistically, you should be closing programs and THEN
performing a shutdown. Having apps open and then initiating a shutdown
is not a good practice. Alt-F4 should become your friend to make
shutting down open apps easy and quick.

- Thee Chicago Wolf
 
G

Gerry

spamlet

You have to be careful with Outlook Express and compacting. It can run
on after you think has finished. Are you initiating compacting or
relying on atomatic compacting?


--



Gerry
~~~~
FCA
Stourport, England
Enquire, plan and execute
~~~~~~~~~~~~~~~~~~~
 
G

Guest

Gerry said:
spamlet

You have to be careful with Outlook Express and compacting. It can run on
after you think has finished. Are you initiating compacting or relying on
automatic compacting?
Gerry
~~~~

Thanks Gerry: I have not allowed auto compacting for a number of years since
I lost my email through just that common occurrence (See the OE group for
much more info on this.) Now use OE Quick backup.

S
 
G

Guest

Thee Chicago Wolf said:
It could but not likely. The AutoEndTask setting will only end on
non-responsive tasks and not those tasks that are running but not yet
finished closing. Apps performing graceful exits or shutdowns will not
be affected. Realistically, you should be closing programs and THEN
performing a shutdown. Having apps open and then initiating a shutdown
is not a good practice. Alt-F4 should become your friend to make
shutting down open apps easy and quick.

- Thee Chicago Wolf

Thanks for the extra info: I didn't know about alt F4.

As it happens, our problem must come in the 'tasks running but not yet
finished closing' category, because the registry tweak has made no
difference.

Cheers,

S
 
G

Guest

Gerry said:
spamlet

You have to be careful with Outlook Express and compacting. It can run on
after you think has finished. Are you initiating compacting or relying on
atomatic compacting?

Gerry
~~~~
Cheers; using OE Quick back up and OETool instead of auto (Learned the hard
way some time ago!)

S
 
T

Thee Chicago Wolf

Thanks for the extra info: I didn't know about alt F4.
As it happens, our problem must come in the 'tasks running but not yet
finished closing' category, because the registry tweak has made no
difference.

Cheers,

There's more things you can try:

Navigate to HKEY_CURRENT_USER\Control Panel\Desktop. Edit the
following keys:

1) AutoEndTasks: Default is 0, make it 1

You can also try the following settings under the same branch:

2) ForegroundLockTimeout: Default is 20000, make it 0

3) HungAppTimeout:Default is 5000, try 1000, if it's still slow, try
500. I don't suggest going anything lower than 250 though as it could
really make programs / services that need a momentd or two to end
act...funny.

4) WaitToKillAppTimeout: Default is 20000, try 1000, if it's still
slow, try 500. I don't suggest going anything lower than 250 though as
it could really make programs / services that need a moment or two to
end act...funny.

Navigate to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control

5) WaitToKillServiceTimeout: Default is 20000, try 2000. I don't use
this setting personally and it's questionable whether XP supports it
or not.

When you finish, reboot. Log into XP and then do a shutdown and see
how long it take.

If some of the keys above don't exists, just create them using the
right mouse button.

#1 is a String Value
#2 is DWORD value
#3 is a String value
#4 is a String value
#5 is a String value

- Thee Chicago Wolf
 
G

Guest

Thee Chicago Wolf said:
There's more things you can try:

Navigate to HKEY_CURRENT_USER\Control Panel\Desktop. Edit the
following keys:

1) AutoEndTasks: Default is 0, make it 1

You can also try the following settings under the same branch:

2) ForegroundLockTimeout: Default is 20000, make it 0

3) HungAppTimeout:Default is 5000, try 1000, if it's still slow, try
500. I don't suggest going anything lower than 250 though as it could
really make programs / services that need a momentd or two to end
act...funny.

4) WaitToKillAppTimeout: Default is 20000, try 1000, if it's still
slow, try 500. I don't suggest going anything lower than 250 though as
it could really make programs / services that need a moment or two to
end act...funny.

Navigate to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control

5) WaitToKillServiceTimeout: Default is 20000, try 2000. I don't use
this setting personally and it's questionable whether XP supports it
or not.

When you finish, reboot. Log into XP and then do a shutdown and see
how long it take.

If some of the keys above don't exists, just create them using the
right mouse button.

#1 is a String Value
#2 is DWORD value
#3 is a String value
#4 is a String value
#5 is a String value

- Thee Chicago Wolf

Thanks TCW.
I've already done the Autoend tasks default 0-1, with no effect.
I'm a little wary of compounding the situation with extra registry tweaks
just yet, but have made a note of these suggestions. I will try doing some
archiving and streamlining of Outlook before tinkering with the registry any
further, as I suspect that this is probably at the root of the problem.

Thanks very much for your help.

S
 
T

Thee Chicago Wolf

Thanks TCW.
I've already done the Autoend tasks default 0-1, with no effect.
I'm a little wary of compounding the situation with extra registry tweaks
just yet, but have made a note of these suggestions. I will try doing some
archiving and streamlining of Outlook before tinkering with the registry any
further, as I suspect that this is probably at the root of the problem.

Thanks very much for your help.

You won't compound anything really. All changes can be reversed. If
autoendtasks didn't help, the program is not shutting down in time to
the other settings just help it along.

- Thee Chicago Wolf
 

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

Top