Solved Slow initial user login

badtux

New member
Local time
12:02 AM
Messages
36
Location
Silicon Valley
This one is baffling me. When I boot it goes BAM to the login prompt, as you'd expect given my system configuration. On my initial system boot, it takes forever to log in, after the Preparing Desktop screen it then goes black and sits there for about 30 seconds. Pressing ctrl-alt-del and selecting Task Manager shows the usual Windows logon tasks just sitting there, using no CPU time, and nothing else. Afterwards, if I log out and log back in, it goes *BAM*, as you'd expect since my boot drive is a 160GB Intel SSD and I'm running the next-to-the-fastest mobile Sandy Bridge Core I7 processor with 16GB of memory.

What I've done so far:

I removed everything in the Startup folder.
I disabled all services in msconfig that were not Microsoft services.
I disabled startup of all programs in msconfig's run tab.
I disabled the Wifi adapter and all adapters that had a red X by them.
I removed all auto-connecting network shares.
I went into the Services administrative tool and moved everything but essential services from Automatic to Manual.

My system tray has a whole 3 icons on it now, instead of the small flotilla that used to be there LOL. Are there other places where Windows stashes startup items where the culprit may be hiding? Is there any way to turn on more verbose logging of the login process, other than the VerboseLogon policy item, which isn't giving me any info on exactly what is taking so long?
 

My Computer My Computer

At a glance

Windows 7 Professional 64 BitIntel Core i7-3720QM 2.6Ghz16GBAMD Radeon HD 7850M
Computer Manufacturer/Model Number
HP Envy 17
OS
Windows 7 Professional 64 Bit
CPU
Intel Core i7-3720QM 2.6Ghz
Motherboard
Ivy Bridge
Memory
16GB
Graphics Card(s)
AMD Radeon HD 7850M
Monitor(s) Displays
27" Samsung
Screen Resolution
1080p
Hard Drives
160GB SSD C:
750GB Hybrid D:
Keyboard
Logitech K750 Solar
Mouse
Logitech Anywhere MX Darkfield
Internet Speed
Cable
Other Info
WEI=7.6/7.6/6.8/6.8/7.6
Okay, I solved it. Microsoft has a nifty SysInternals suite that lets you chug around inside the innards of Windows. There are two programs that I used:

1) Autoruns. This pulled out all sorts of things that Windows starts up other than the things formally in the autorun directories. I noticed that there was a lot of left-over cruft pointing to files that were no longer in my system because I had uninstalled those programs or because the network share was no longer applicable. So I disabled all of the autorun entries that pointed to non-existent programs or locations.

2) Process Monitor has the ability to instrument system boot and logins. So I enabled the instrumentation on my next reboot, and rebooted the system. But #1 had fixed the problem so I logged in and BAM, just as you'd expect given that I'm booting (and logging in) off of an SSD. So it turned out I didn't really need the login profile that Process Monitor gathered, so ... oh well.

Microsoft's API's are a clunky mess, but they have an API for *everything*. I should have figured that they'd have an API for instrumenting system boot too :).
 

My Computer My Computer

At a glance

Windows 7 Professional 64 BitIntel Core i7-3720QM 2.6Ghz16GBAMD Radeon HD 7850M
Computer Manufacturer/Model Number
HP Envy 17
OS
Windows 7 Professional 64 Bit
CPU
Intel Core i7-3720QM 2.6Ghz
Motherboard
Ivy Bridge
Memory
16GB
Graphics Card(s)
AMD Radeon HD 7850M
Monitor(s) Displays
27" Samsung
Screen Resolution
1080p
Hard Drives
160GB SSD C:
750GB Hybrid D:
Keyboard
Logitech K750 Solar
Mouse
Logitech Anywhere MX Darkfield
Internet Speed
Cable
Other Info
WEI=7.6/7.6/6.8/6.8/7.6
Back
Top