Why is there a long delay after I login to Windows?
You log in, the computer accepts your password, it begins to do whatever
it does at login time, and then ⊠nothing. You sit and wait while the
computer appears to be doing nothing at all. After as much as a full minute
(which of course feels like much longer) things start happening
again and the login completes.
What the heck is it doing?
As usual, âit dependsâ. On many things, actually, but
there are definitely several things worth looking at, and some resources to
help diagnose.
Become a Patron of Ask Leo! and go ad-free!
Even Iâm getting tired of saying it, but check for viruses and
spyware. Login time is when a
number of programs start up and is where many viruses and spyware
applications place themselves.
Along those same lines, check what you
have running at startup. When you log in many (and I do mean
many) programs often start up including background tasks,
application helpers, applets that appear in the notification area of the
taskbar, and more. And thatâs not counting the viruses and spyware I
just mentioned. These should load quickly, but if they have a
problem it can manifest as a delay at login.
Once weâre past applications that launch at startup the most common
cause of unexpected login delays are issues related to networking.
The delay may be caused by problems attempting to get an IP address.
This is especially true if youâre logging in right after a reboot. The
most common cause is a misconfigured TCP/IP protocol, but this will also
manifest if the entity responsible for handing out your IP address is
having problems (your NAT router, your ISP, or some other device). If you
can, while the delay is happening open up a command prompt and type
âipconfigâ. If youâre connected to a network but your IP address is
â0.0.0.0â or if it begins with â169â then this is likely
the problem. Somewhat related articles include an Experts
Exchange thread on DHCP Delay at Boot Time, a
Microsoft Knowledgebase article You Experience a Long
Delay When You Log On a Guest PC in an Active Directory Domain, and
this article at TweakXP on Slow Domain Login.
The delay may be caused by attempting to reconnect to a network resource
that no longer exists. Depending on how the resource was connected to
originally Windows may pop up a message box indicating that the itâs
is unavailable, but not all connections use this mechanism. A good example
might be a startup program that attempts to connect to an internet resource
that is off-line.
The RPC service â the subject of much discussion as a target of viruses â
could be involved as implied by this Knowledgebase article Slow Response Executing Start Menu or Control Panel
Applets.
Now, after first suggesting that you make sure to run a virus scan
there have also been reports of virus scanning software actually
contributing to this problem. Specifically, when the real-time scanning
option is enabled some versions of some packages might interfere with the
startup process. Make sure your software is up to date and try rebooting
with the realtime option off. If thatâs the issue contact the
anti-virus software manufacturer for workarounds.
As youâve already discovered investigating this problem can be
difficult. Another resource that might help here is the event viewer.
Iâll discuss it in more detail in a future article, but in the mean
time, Start, Run,
âeventvwrâ, and look at the system and
application logs for anything that might indicate a problem at login
time.
And finally, my previous article Why is
my machine slowing down? also includes several steps that can help
identify or resolve general speed issues.
thanks for pointing me in the direction of the MS Knowledgebase article. it solved my problem. i have now added your url to my favourites, especially the archive.
regards.
happens also when you have to much stuff on your desktop, which needs to load as well âŠ
This is similar to my problem. When I start my xp machines, the nics do not come on right away, and so I get dhcp and wintime errors. How can I make the nic come on first?
Thanks,
andy
every time windows XP client logon to windows 2003 server it takes 10 to 15 minutes time
This exact same problem happens to my windows, but the matter is, NONE of the things you suggested seem to solve it.
I am pretty sure this does not have to do with networks, since I have dial-up and my windows starts off-line.
WaitâŠ. Sorry for the double post, but I went to eventvwr and found out some errors that happened when I booted the computer.
I canât understand them. Please tell me what they are about (translated from portuguese to english, it is probably not the same message as you get):
âAMLI: the BIOS da ACPI is trying to read an address from an invalid E/S (0x71) port, which is on the interval of the protected address 0x70 â 0x71. This may cause unstability in the system.â
Not really sure. Not much to go on. ACPI is the power-management system â managing things like batteries and autmatic shutdown or suspend. Iâll admit Iâm grasping at straws as well, but Iâd run system file checker, as a start. More info on that here: http://ask-leo.com/archives/000074.html
My windows XP machine takes long to login.I am having Windows 2000 server acting as Domain controller.No group policy has been applied.
Whatis the problem if you switch on the computer and takes 2 hours and even more to boot or to show light (to mean the cpu is on) but the monitor is on (shows light and gets power from the power suply ).
I will be glad if you replay me soon.
Make sure that the first IP listed in your DNS settings is your Domain Controller. This usually causes a difference of about 5-10 minutes of log in time. This is because it looks to the Internet DNS servers first then finds your Domain Controller. Even if you donât have the DNS servers set as static in the first place it will still look at the Internet DNS servers first.
Good luck to all!
Thanks for your article. I was having a long delay after logging in to get to the desktop. I forgot the obvious to check for network drives that it was trying to map.
After disconnecting the network drives I was able to get to the desktop immediately.
Thank you for taking the time to write the article. I could have spent quite a bit of time working on this one.
Paul L.
I was having the same issue, try this:
Go into your connection properties, and hit the properties button for TCP/IP.
Click the Advanced Button
Add your Default Gateway.
Reboot and try to log in again.
This worked for me. The link from this article said to do the same thing, except to enable net bios over tcp/ip.
You can try both, but I believe adding your default gateway will have the most impact.
Thanks,
Jonathan
Well, Active directory only works fine, if you have this 2 thinks working properly in your network: DNS and DHCP.
I saw this before, and was the dhcp that wasn t running or dnsâŠ
Regards
I have been installing and configuring networks for about 10 years but one of my workstations has me stumped. The PDC is windows 2003 server and the workstation is Winxp sp2. The workstation has 2 profiles. One profile logs in so fast you barely see the âapplying computer settingsâ and âapplying personal settingsâ banner. The other profile however takes anywhere from 4-6 minutes to get to the desktop. There also is intermitent delays while browsing files in explorer. The long login delay in 95% of all networks is normally due to a problem with DNS resoulution and DNS forwarding when using a DSL/Cable router to handle DHCP. But this not only affects all profiles on a workstation but all profiles on all workstions in the domain. I have disabled DHCP in the router and the server and have gone to static ip, but the problem still occurs. I have double checked my settings for both my DNS server and Wins server and everything checks out. I have even disabled all group policies thinking that there was a GPO issue with the one profile but no such luck. If it were a virus or malware then all profiles would be affected not just one. I have rejoined the domain and reissued the workstations SID but still no luck. Also I forgot to mention that all profiles have identical permissions and security settings. I am truly stumped and am getting to the point where I am ready to burn it down and reinstall fresh, but that is a whole nother headache and a ton of work and would like to avoid this. If anyone can think of anything I may have missed please tell me.
I have been installing and configuring networks for about 10 years but one of my workstations has me stumped. The PDC is windows 2003 server and the workstation is Winxp sp2. The workstation has 2 profiles. One profile logs in so fast you barely see the âapplying computer settingsâ and âapplying personal settingsâ banner. The other profile however takes anywhere from 4-6 minutes to get to the desktop. There also is intermitent delays while browsing files in explorer. The long login delay in 95% of all networks is normally due to a problem with DNS resoulution and DNS forwarding when using a DSL/Cable router to handle DHCP. But this not only affects all profiles on a workstation but all profiles on all workstions in the domain. I have disabled DHCP in the router and the server and have gone to static ip, but the problem still occurs. I have double checked my settings for both my DNS server and Wins server and everything checks out. I have even disabled all group policies thinking that there was a GPO issue with the one profile but no such luck. If it were a virus or malware then all profiles would be affected not just one. I have rejoined the domain and reissued the workstations SID but still no luck. Also I forgot to mention that all profiles have identical permissions and security settings. I am truly stumped and am getting to the point where I am ready to burn it down and reinstall fresh, but that is a whole nother headache and a ton of work and would like to avoid this. If anyone can think of anything I may have missed please tell me.
Great article!
I have run SFC and it found nothing. Also, ran 3 anti-spyware and 2 anti-virus utilities and found nothing either.
I do, however, get an error message in the System Log âThe Server service hung on startingâ. This (I believe) is the culprit. I am also receiving start error on the Computer Browser Service (because it depends on the Server Service). I also have an error in the Application Log stating that âWindows can not query the list of Group Policy Objectsâ. I am assuming that the Server Service is behind all of this. I do not, however, know how to troubleshoot this. Any help would be greatly apprreciated.
Thanks.
How can I direct a service to start up when I log into one profile, but not to start up when I log in to another profile? I have a âdockedâ and an âawayâ profile, and I donât want a bunch of services trying to connect to unavailable servers when Iâm away, but I do need them to start when Iâm on my companyâs network.
When i logon to windows, system work slow for some time after it works okâŠ..
when i press Crtl+Alt+Del Taskmanager, process i see winlogon.exe cpu usage is more usually it should be 0âŠ
pls. give me suggestion
rks
I had a long delay and traced it to my back-up software (BounceBack) which was scanning the hard drive at start-up. I couldnât find a way to prevent the scan, so I uninstalled the softwareâŠPROBLEM SOLVED!!!
this is in answer to Mark who wants to know how to selectivly start services, based on which account is used to login.
Caution: Donât do this unless you understand what you are doing and you keep track of how to undo your changes. otherwise your system may not function properly. Review all of these steps carefully, if there is anything that you donât understand then you should not be attmpting to do this.
I am unaware of any built-in method for doing this. I suppose you could use the hardware config manager to create different profiles. but itâs not granular enough and you must reboot etc.
However, what you can do is to go to the âServiceâ manager. Open up a cmd window side by side with the service manager. You will also need to create a batch file using notepad.
One by One; Stop the service and test that the computer works as expected. Now in the cmd window, type ânet start (service name)â. Verify that the service starts.
If everything is okay then Change the start up mode of that service from âAutomaticâ to âManualâ.
Now in the text/batch file type the same net start command, one per line.
try âhelp net startâ for more info.
=======
When you are done, you will have set all of the services that you donât want, to manual. And you will have a batch file with a bunch of net start commands.
Save the batch file to a good place on your hard disk, my preference is to create a âconfigâ folder and put anything related to my system in there.
Make sure your file has a â.batâ extension. by default notepad gives everything a â.txtâ; if you simply type (somename).bat then notepad will save it as â(somename).bat.txtâ; not what you want. and if your file extensions are hidden (which is the default) you wonât even be able to see this. What you should do is, when you save the file, put the full name in quotes, this will force notepad to not change the extension.
Example: âc:\config\StartServices.batâ
Now put a shortcut to the batch file into the startup menu of the user account that you login with when connecting to your company network.
test test testâŠ. Test your batch file FIRST, with one service, before you go turning off a bunch of other services. And then test it again when you are done, check carefully for typos.
Notes: Some services will refuse to be stopped, this is normal, leave them alone. The service name is not always obvious, that is why you should test it in the cmd window before you add it to your batch file.
The other thing that could bite you, is if the other account does not have the permission needed to start the services.
You can also use this same technique to selectivly stop services that you donât want. You can even make multiple batch files for different configurations.
Keep in mind that when you log out of the account that started the services, they will still be left running.
I think â it is simple questions.
A lot of applications in Windows startup.
We have program to remove idle (_very_ usefull image corrector of printer driver, which loads with Windows and stay in tray).
Visit http://www.absolutestartup.com and download Absolute Startup manager.
P.S.
If you are interesting in free registration â contact me personally ;-)
P.P.S.
Because you have good blog!
POSSIBLE FIX:
Had same problems as all above, synchronization slow (minutes), logon and off slow too.
CFG: Windows Server 2003 sbs, xp Pro client, ADSL router
FIX:
1. turn OFF the DHCP in the router
2. turn ON the DHCP in W2K3 server
3. Added in Server Options (under serverâs DHCP console )the IP of the Router as the DNS server: Server options⊠configure options⊠general options⊠006 DNS⊠add eg 192.168.0.1 and give arbitrary name, like âADSL DNS serverâ save/ok etc.
Now works fine. Hope my fix works for you!
Joe
Hi ,
Actully my problem is when i login to the domain it was taking too much of time
and also if login as a local account it was very fast
even though i check the Router and Cables and Also Viruses and DNS
every thing is working properly
how can i solve this problem
once i get into the cystem it was logging off
I did the trust relationship between NT4.0 Domain and 2003 Domain ,and the problem for âloging slowâ solved by adding the DNS in the client Mechine.
Hi ,
Actully my problem is when i login to the domain it was taking too much of time
and also if login as a local account it was very fast
even though i check the Router and Cables and Also Viruses and DNS
every thing is working properly
how can i solve this problem
Regards,
Raza Ali.
To Sohil: try this MS kb article
http://support.microsoft.com/kb/319127
I know this is kinda late, anywayâŠ.
In a related way- My windows boots up, allows me to access the start menu for a very short while, then freezes the start menu and task bar. I can still start applications via icons on my desktop or task manager via cntrl-alt-del. Eventually the system seems to sort it self out.
Task manager during this period shows no processes except system idle 99%.
Can you help?
Anjum
London
Hi,
I had the same problem when i login my computer ( in domain ) with my useraccount but itâs still fast for the other useraccount in domain when they try to login my computer. I donât know why.
Rgds,
hi..when i i log in to my laptop..before any of my settings load,it logs off..wy??/
i tried to reset my password because it has been haked but when i log into account summary page it takes too long toload.iâve waited for an hour and it still keeps loading.i donât remember the answer to my secret question so this is the only way i can change my password an secret anwer but it never seems to load.what sall i do?iâm tird of waiting.please help me!!!!!
Sounds like your acount is maybe on a roaming profile?
I was curious, I have a slight issue with some PCs in my windows domain, which when logging onto Windows XP with SP3 are slow to login. Now this is not every user and is on a few PCs. My server is not on the internet nor are the PCs. All IPs are static so DHCP is not an issue. I checked the DC settings and the DNS is correct. I am running on a Windows Server R2 2003 Domain with Service Pack 2. The PCs I tested are running with 512 MB of RAM and generally have a 2.8 Ghz P4. The slow login issue is that sometimes the PCs take up to 10, 15 or even 20 mins to login. I checked for malware and nothing comes up with PANDA on a current av update, I have no software firewall configured so the logons are not blocked by a firewall as these are not on the internet. I checked numerous articles on tbe net on this and am at a loss as all tend to indicate that your DNS IP is wrong or that DCHP is blocked or you have a virus. These from what I see are not it at all. One thing which seems to debug it for a bit is to delete a user profile off of the machine and have that user login. (oh, as a side note I am not using roaming profiles as these are login killers but use folder redirection). so that it my question, why some logons work fine (i.e. fast) on a pc and some others donât work fine (i.e. slow). the only thing I could see here is that it seems to be some sort of corruption in the settings files on the PC as even when you have folder redirection the settings still transfer over to the pc. I tried deleting the folders of the profiles that are slow and it seems at first to speed it up. by the fact it happens in the first place is more my q. dig?
when I try to logon my computer no typing shows and after up to 1 hour later, I try again and it excepts my password and then I can logon. This has only happened lately after 18 months trouble free. Very frustration
I am having the same issue on one of the network that I managed.
.
Boots slow and runs slow is a common problem for all Windows user. Itâs not all related with hardware, registry, viruses or spyware!
âNo matter how fast or shiny computers might be when theyâre new, they all seem to get slower over time.â Microsoft claimed that on their technical forum(Windows 7 forum).
In fact, Windows built-in a lot of services and startup item start with system. So if you want a faster computer, you need to disable some of them first.
If you donât know how to disable services safety, Click here to fix Windows SLow by Top5 Windows Optimizers now!
.
We are having a similar issue with our XP machines on our domain since SP3. What happens is this:
The first time a user logs into a particular machine, the login goes through as is should, then it goes to a blue screen. Not a blue screen of death, but the blue screen as in desktop background color. The cursor still works and can be moved around. It sits like this anywhere from one two five minutes, then logs in to the desktop. It only does this the first time a user logs into that machine, after their local account is created, they log in normally. Obviously the blue screen/cursor is showing while the initial account creation is happening. Is there any way to speed up initial user account creation? Is it mapping drives or something before it goes to desktop? What is going on? This started after SP3.
Shaun
Hi
I have a HP tx1000 notebook with Windows 7 installed.
everything was OK, but after I performed Windows Experience Index to rate my notebook, I got a long delay between login screen and showing desktop with a blank screen for about 20 seconds. the same is happened when i want to log out or restart or shutdown.
what can i do for this. please help meâŠ