Quote: Originally Posted by Danny1
Usually 15-20 seconds. I looked at event viewer and there are two administrative events at the same time I shut down. They are:
User Profile service
Windows detected your registry file is still in use by other applications or services. The file will be unloaded now. The applications or services that hold your registry file may not function properly afterwards.
1 user registry handles leaked from \Registry\User\S-1-5-21-4196284055-3908763261-3142770655-1001:
Process 2980 (\Device\HarddiskVolume2\Windows\SysWOW64\svchost.exe) has opened key \REGISTRY\USER\S-1-5-21-4196284055-3908763261-3142770655-1001
WLAN AutoConfig service has successfully stopped.
Both events occur every time I shut down and there are entries for both dating back to August and September but it's been taking forever to shut down since a week and half ago.
This is a shot in the dark. The system's cached memory may have been changed, I wouldn't know how, to flush on shutdown. You can check it as follows;
1. Start Registry Editor (Regedt32.exe).
2. Change the data value of the ClearPageFileAtShutdown value in the following registry key to a value of 0:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
If the value does not exist, add the following value:
Value Name: ClearPageFileAtShutdown
Value Type: REG_DWORD
This change does not take effect until you restart the computer.