Very Slow Logoff

D

dave Admin

Many of the XP, SP2 machines on our network can take 3-5 minutes to logoff.
For others the logoff is almost instataneous.

What factors or services might cause this??

daveM
 
W

Wesley Vogel

If ClearPageFileAtShutdown is set to 1, shutdown takes a *long* time.

Check this registry key...
Start | Run | Type: regedit | Click OK |
Navigate to...
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\
Session Manager\Memory Management
Value Name: ClearPageFileAtShutdown
Data Type: REG_DWORD
Value Data: Set to 0

How to Clear the Windows Paging File at Shutdown
http://support.microsoft.com/default.aspx?scid=kb;en-us;314834

--------
If you see a lot of Userenv/1517, Userenv/1524 or Userenv/1500 errors in the
Event Viewer, download and install the User Profile Hive Cleanup Service.

This decreased my shutdown time a bunch. Takes any where from 10 to 20
seconds to shutdown.

Download details: User Profile Hive Cleanup Service
http://www.microsoft.com/downloads/...6d-8912-4e18-b570-42470e2f3582&displaylang=en

UPHClean v1.5e readme.txt
http://download.microsoft.com/download/a/8/7/a87b3d05-cd04-4743-a23b-b16645e075ac/readme.txt

Troubleshooting profile unload issues
http://support.microsoft.com/default.aspx?scid=kb;en-us;837115

How to enable user environment debug logging in retail builds of Windows
http://support.microsoft.com/default.aspx?scid=kb;[LN];221833

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
D

dave Admin

Thanks, I'll give that a shot

daveM

Wesley Vogel said:
If ClearPageFileAtShutdown is set to 1, shutdown takes a *long* time.

Check this registry key...
Start | Run | Type: regedit | Click OK |
Navigate to...
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\
Session Manager\Memory Management
Value Name: ClearPageFileAtShutdown
Data Type: REG_DWORD
Value Data: Set to 0

How to Clear the Windows Paging File at Shutdown
http://support.microsoft.com/default.aspx?scid=kb;en-us;314834

--------
If you see a lot of Userenv/1517, Userenv/1524 or Userenv/1500 errors in
the
Event Viewer, download and install the User Profile Hive Cleanup Service.

This decreased my shutdown time a bunch. Takes any where from 10 to 20
seconds to shutdown.

Download details: User Profile Hive Cleanup Service
http://www.microsoft.com/downloads/...6d-8912-4e18-b570-42470e2f3582&displaylang=en

UPHClean v1.5e readme.txt
http://download.microsoft.com/download/a/8/7/a87b3d05-cd04-4743-a23b-b16645e075ac/readme.txt

Troubleshooting profile unload issues
http://support.microsoft.com/default.aspx?scid=kb;en-us;837115

How to enable user environment debug logging in retail builds of Windows
http://support.microsoft.com/default.aspx?scid=kb;[LN];221833

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
dave Admin said:
Many of the XP, SP2 machines on our network can take 3-5 minutes to
logoff. For others the logoff is almost instataneous.

What factors or services might cause this??

daveM
 
C

Chelsea

Hi Dave
I had this problem for over a year, well its the same problem if your event
viewer says that your system logged off while a process was accessing the
registry. There appears to be two causes
1) Some app processes just will not release file handles when the system is
shutting down. This is correctable only by the software companies
2)Some workstation try to send the user profile to the domain server at
close down-this causes a long delay if you are not on a domain.

There are probably other reasons as well. A few months ago I discovered a
great app from Microsoft. It installs as a service and monitors what
processes do at shutdown. Anything that refuses to release file handles
causing a hang has its file handles remapped by the service allowing a
smooth shutdown.
http://www.microsoft.com/downloads/...6d-8912-4e18-b570-42470e2f3582&displaylang=en
is the URL if you are interested. So far I havn't seen any problems with
using it.

Chelsea
 
D

dave Admin

Thanks Chelsea,

I'll give the app a try. Would not be surprised if it was our virus tool,
Panda. Very efficient at stopping virus' but has several handskaing issues
with the OS.

dave M
 

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