Solved

XP computers very slow loading desktop when logging into domain

Posted on 2008-06-18
10
674 Views
Last Modified: 2013-12-05
I have roughly 50 computers joined to my domain all running Win XP SP2.  The Dell hardware is all fairly new (duo-core processors 1-2GB memory, etc).  Domain is Windows Server 2000 environment with 2 domain controllers, the primary handling DNS and DHCP traffic.

When any user from almost any computer logs into the domain, the desktop background will appear but it takes up to 2-3 minutes for the icons to appear.  The only login script I have is a simple net use map drives that are all available through a gigabit based LAN.

Once the desktop finally loads, everything runs great.  I checked msconfig and disabled some random startup items.  We have Symantec endpoint protection loading at startup but I've disabled that for testing and they still load slow.  Also, it is not every single computer every single time.  The slow load seems to be intermittent and I can't seem to pinpoint any startup services that may be causing it.  Sometimes the desktop will load almost instantly.

Seems to me that it may be the way computers authenticate with the domain controllers, but that area is a little above my head.   Any troubleshooting ideas would be much appreciated.

Thanks,

Kevin
0
Comment
Question by:KevinITadmin
10 Comments
 
LVL 12

Accepted Solution

by:
alikaz3 earned 500 total points
ID: 21814232
I had this problem, and to fix it on most machines, I made links to my domain name, and to the DC, in my HOSTS file on all workstations. My theory was that dns was not resolving the IP of the server, because the LAN card was not online/ready, at the point that the dns request is sent out. I came up with this idea after observing weird activity with the LAN card upon boot. I would log in, wait the 2-3 minutes it took, then once I saw the desktop and taskbar, I would get the "limited or no connectivity" for a split second, then it would right itself. Adding the HOSTS file entries completely wiped this out.

I would also like to note that I did replace our server, and one machine was overlooked in the remove/rejoin process. This made that computer also get the long lag (even longer, 5-10 mins) upon login. The HOSTS file did not help. I then found on the server security logs that there were trust account errors showing up for that machine. Removal/rejoin of the computer to the domain fixed the issue. All my workstations login in less than 15 secs now.
0
 

Author Comment

by:KevinITadmin
ID: 21814259
Sounds like it is worth a try.  Can you please provide instructions on what/how to edit my host file?
0
 
LVL 6

Expert Comment

by:Nyah247
ID: 21814282
I also had this problem and it was resolved by restarting the domain controller off-hours.  When was the last restart?

Do you have any group policy errors on the clients?

Is IPSEC or Auto Enrollment enabled with a GP?

Is DNS correctly resolving the DCs and is the client's DNS info correct on your DNS servers?

Any errors on the DCs?  Are they replicating properly?
0
 
LVL 12

Expert Comment

by:alikaz3
ID: 21814717
the HOSTS file is locatd:

c:\windows\system32\drivers\etc\hosts

note that the file has no extension, open it with notepad. Once you have it open, notice the localhost link on the bottom. You want to add entries just like that, each on their own line, but don't mess with the localhost line. After localhost, type in your domain name, and the primary DC's IP instead of 127.0.0.1 with. Do this on another line, with the server's name this time instead of the domain's name. If you have more servers on your network, add them as well, with their corresponding IPs.
0
 
LVL 12

Expert Comment

by:alikaz3
ID: 21814735
should look like this:

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

127.0.0.1       localhost
192.168.1.2     domainname.local
192.168.1.2     server1
192.168.1.3     printserver
0
Do email signature updates give you a headache?

Constantly trying to correctly format email signatures? Spending all of your time at every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

 
LVL 12

Expert Comment

by:alikaz3
ID: 21814740
Oh BTW adding the other servers is totally optional, but I figure if you are going to do this on all workstations, might as well add it. It may shave some time off file sharing delays/printing delays.
0
 
LVL 2

Expert Comment

by:bkdragon23
ID: 21818401
One other possibility:  I would check the user profiles and see if you have roaming profiles set up on the server. This slowed my network down to a crawl during boot, but once it was up on the network, things worked great.  Shutting down also took forever.  Not to mention I am running a Gigabit network, so if one were to use them on a 10/100 network, I could only imagine how slow it would be.  Hope this helps!
0
 
LVL 12

Expert Comment

by:alikaz3
ID: 21822672
Good call bkdragon, roming profiles of large size REALLY bog the server I/O.
0
 

Author Comment

by:KevinITadmin
ID: 21823861
We are not using roaming profiles at all, I've had bad experiences in the past with them.  I've edited my HOSTS file on a few computers that I will be monitoring over the next few days.  I will post feedback when I know more.

Thanks for the replies.
0
 
LVL 12

Expert Comment

by:alikaz3
ID: 21823913
No prob we'll stay tuned in
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now