Documentation Center

Changing the Local Group Policy

Set the group policy so that Windows does not forcefully unload the registry.

About this task

A new User Profile Service functionality built into the OS by default forces the unload of the user profile on Windows when the user logs off. This results in, for instance, a COM+ application to stop working on Windows Server when the identity user logs off and the COM+ application can no longer read registry keys in the profile of the identity user. The policy setting Do not forcefully unload the user registry at user logoff counters the default behavior of Windows. When enabled, Windows does not forcefully unload the registry and waits until no other process is using the user registry before it unloads it.

Procedure

  1. As an Administrator user, start the Windows PowerShell (an icon can usually be found in the taskbar).
  2. In the command prompt, type gpedit.msc.
    A Local Group Policy Editor window displays.
  3. In the left pane, open Local Computer Policy > Computer Configuration > Administrative Templates > System > User Profiles.
  4. In the right pane, open Do not forcefully unload the user registry at user logoff.
  5. In the resulting window, select the radio button Enabled.
  6. Select OK.