Tutorial: Seu XP demora muito para desligar?

Sintomas:
Ao fazer logoff em um computador que execute o Microsoft Windows Server 2003, o Windows XP, o Windows 2000 ou o Windows NT 4.0, um ou mais dos seguintes sintomas podem ser apresentados:

* Um perfil de usuário não descarrega.
* Um perfil móvel não reconcilia.
* Você alcançou o limite de tamanho do registro (RSL).
* Demora muito para fazer logoff e a seguinte mensagem é exibida:
Salvando as configurações….

Além disso, uma ou algumas das seguintes mensagens de eventos podem ser exibidas no log de eventos do aplicativo, dependendo do sistema operacional.

Este problema pode ser causado por diversas razões por trás desse problema. As causas mais comuns estão relacionadas ao perfil de usuário e serviços que são executados pelo Windows ou se o Microsoft Windows ou programas de outras empresas como drivers de impressoras ou verificadores de vírus não pararem de liberar recursos ao fazer logoff no computador.

Solucionando problemas de descarregamento de perfil

Para resolver esse problema, use o serviço UPHClean (Microsoft User Profile Hive Cleanup Service/ Serviço de limpeza de seção de perfil de usuário). O UPHClean monitora o computador enquanto o Windows está descarregando os perfis de usuário e força o fechamento dos recursos abertos. Portanto, o computador pode descarregar e reconciliar os perfis de usuário.

A mensagem “salvando suas configurações” é um sintoma do problema causado quando o Windows tenta gravar chaves do registro e não consegue por que um ou mais serviços também as estão utilizando

A sequência de mensagens de desligamento é:
* “Fazendo logoff”
* “salvando suas configurações”
* “O Windows está sendo encerrado”

Você pode ver o efeito do UPHClean em ação observando o visualizador de eventos de aplicativo do XP. Os meus eventos “1517” foram substituídos por eventos da fonte “UPHclean” explicando o problema encontrado.

Para baixar o UPHclean: http://www.microsoft.com/downloads/details.aspx?displaylang=pt-br&FamilyID=1b286e6d-8912-4e18-b570-42470e2f3582#filelist

Texto da Microsoft em Inglês sobre o UPHCLEAN

WHAT IS UPHCLEAN
================

UPHClean is a service that once and for all gets rid of problems with user
profile not unloading.

You are having profile unload problems if you experience slow logoff (with
Saving Settings for most of the time while logging off), roaming profiles
that do not reconcile, or the registry size limit is reached.

WHY DO PROFILES NOT UNLOAD?
===========================

Many system and service processes do work on behalf of users. When the work
is done the system or service process is responsible for releasing handles it
has to the user profile hive. If this is not done by the service as the user
logs off the profile cannot be unloaded.

This problem in code can be caused by improper coding either in Microsoft
software or 3rd party software (e.g. printer drivers, virus scanner service,
etc). With the information provided by the system there is no way to find
out what software needs to be corrected to allow profiles to unload.

This problem can be caused for a variety of reasons. While software developers
are typically very careful about releasing handles, developing software that
works on behalf of a logged on user is complicated. It is difficult for
software developer to have full control over how the registry is accessed.
Service developers might want to see KB article 199190 for more information.

While it is possible to identify the service (see KB article 221833), it is
sometimes difficult to track this down the specific problem code. Even when
you do identify the problem code there maybe times when the developer of this
code is not able to make the necessary changes. This is the reason for
UPHClean — it takes care of the problem regardless of the reason why.

WHAT DOES THE USER SEE? WHAT HAPPENS TO THE PROFILE?
=====================================================

Windows NT4:
The system gives up immediately on failure to unload the profile
and the (roaming) profile is not reconciled.

Windows 2000:
The system attempts to unload the profile 60 times at 1 second intervals.
This retry logic rarely helps so in most cases after 60 seconds of the user
waiting at the Saving Settings message box the system gives up and roaming
profiles are not reconciled. The number of retries can be changed to allow the
user to log off faster (this can be done using the policy under Computer
Configuration, Administrative Template, System, User Profiles, Maximum retries
to unload and update user profile)

Windows XP and 2003:
The profile is reconciled using a copy of the contents of the registry. The
user is not made to wait as in Windows 2000. The problem left is that the
computer cannot recover the memory the profile uses until it can be unloaded.

Also in some cases (e.g. using anonymous logons) you may find that you cannot

admin

admin

VEJA TAMBÉM