Skip Ribbon Commands
Skip to main content

Cooperative Lab Management


Windows 7 Issues: Logon Performance Enhancements

The content of this item will be sent as an e-mail message to the person or group assigned to the item.
Version HistoryVersion History


Logon Performance Enhancements

Assigned To

Matthew David Boyd

Issue Status



(2) Normal


I’ve been experimenting with logons, and I have a few suggestions that may speed them up. I also found a way to make the initial profile creation go faster…

- Delete the value “StubPath” under this key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{44BBA840-CC51-11CF-AAFA-00AA00B6015C}. This will prevent “Windows Mail” from generating ~14MB of content when the user profile is created (local folder under AppData, not roaming).

- Delete the value “StubPath” under this key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{89820200-ECBD-11cf-8B85-00AA005B4340}. This will eliminate the following command from being run when a new user profile is created: “regsvr32.exe /s /n /i:U shell32.dll”.

In my tests, this command is slowed down profile creation drastically (~15 seconds vs. 60+ seconds). This is why “Preparing desktop…” was taking so long. I can’t figure out what the actual purpose of the command is (yes, I know it’s registering a DLL), or what effect disabling it may have. The component name is “Windows Desktop Update” and the only references to it that I can find are from Windows 98/IE4: IE seems to work fine without this command. I can still add gadgets to the desktop as well.

- Disable all SQL services. I see the sqlserver.exe process spiking sometimes during login. It shouldn’t be running anyway.

- Advise users to save few files to the desktop (I think we’ve recommended this in the past). Having fewer files on the desktop seems to make explorer more responsive immediately after logon.


(2) Category2

Related Issues



Matthew David BoydNo presence information (11/18/2010 5:03 PM): It looks like the StubPath for "regsvr32.exe /s /n /i:U shell32.dll" may actually be needed. This may be why some PSUAlerts could not write the "HomeFolder" value to the registry for some users.

Matthew David BoydNo presence information (10/29/2010 10:37 AM): These performance enhancements have been deployed everywhere., without any known issues The issue should is resolved.
Matthew David BoydNo presence information (10/4/2010 2:25 PM): The task didn't seem to cause any issues in Pollock 201, so I'm going to deploy it everywhere. The task renames the registry value from "StubPath" to "Backup_StubPath" so it should be easy to revert if need be.

Matthew David BoydNo presence information (9/29/2010 2:16 PM): I created a task that will delete the StubPath values and will test it in Pollock 201. I also disabled SQL services on all CLM computers.

Due Date


Status Text

Deploying Task


Version: 5.0
Created at 9/24/2010 2:00 PM by Matthew David Boyd
Last modified at 11/18/2010 5:03 PM by Matthew David Boyd