Solved

XP machine VERY slow while logging onto domain

Posted on 2010-11-29
17
1,183 Views
Last Modified: 2012-05-10
Hi all,

I have a customer that is complaining of very slow logon times on their XP machines. It would stick at the screen "Applying computer settings" for up to 40 minutes. They can log on by removing their network cable, logging on with a cached profile and then re-plugging in their network cable.

They are running Server 2003, and a mixture of XP, 7 and Vista machines, the 7 and Vista machines are not effected.

What I have done so far is manually assign the server in the client DNS which has resolved the problem and their logon times are back to normal. Obviously this isn't a permanent fix, so I'm looking at the bigger picture with this - I can't have them taking laptops home and then can't access their home broadband.

Any ideas?

Thanks.
0
Comment
Question by:Bruce Skinner
  • 6
  • 5
  • 2
  • +3
17 Comments
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 34231533
Make sure that the clients are only pointing to your Domain Controllers for DNS in their TCP\IP properties. Another issue with laptops is that when they are locally connected to the domain they are still connected to an outside WLAN which gives them a different IP scheme.

So, I would check the binding order go into Network Connections click Advanced Menu then Advance Settings check to make sure Wired LAN is listed first.
0
 
LVL 6

Expert Comment

by:coalnine
ID: 34231545
Disabling the DHCP media sense in XP has helped me in a similar situation. Try this:

Start Registry Editor.
Locate the following registry subkey:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters

Add the following registry entry to the Parameters subkey:
Name: DisableDHCPMediaSense
Data type: REG_DWORD (Boolean)
Value: 1


Kenny
0
 

Author Comment

by:Bruce Skinner
ID: 34231565
Hi dariusg,

I said in the opening question that I have pointed the clients towards the server for DNS, which is what fixed the problem. I can't keep them like this in case they go home, they can't have manually assigned settings.

Thanks though.
0
 

Author Comment

by:Bruce Skinner
ID: 34231589
Hi coalnine,

A registry fix cannot be done on more than 40 PCs,

I need the server to be dealing with DNS and the clients set to obtain automatically,

so when they're taken off site, they'll work with other networks.
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 34231599
What I am saying is that you need to find out why they are not getting the correct DHCP settings with the IP settings pointing to your internal DNS servers. So, you need to find the DHCP server causing the issue. Remove the static IP address ipconfig /release and ipconfig /renew you will then get IP settings see what is wrong with the settings. You can tell what DHCP server leased the IP scheme by looking at the ipconfig /all then go to the DHCP server make the approiate changes.

If your DHCP server is the router I would advise disabling this feature on the router then allow your Windows 2003 Server to be your DHCP server
0
 

Author Comment

by:Bruce Skinner
ID: 34231821
Thanks dariusg,

The DHCP server is the domain controller, and when the customer just allows the delay and waits the 40 minutes, when they eventually get logged in, the ipconfig reveals that the primary DNS server is the domain controller and the secondary is the ISPs DNS server..
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 34231841
The secondary needs to be removed there should not be any external DNS servers listed in the TCP\IP properties of the clients or servers.

Again check the wireless binding order as well or disable the wirless card for testing
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 34231845
Also, make sure you are getting the IP Addresses from the correct DHCP server you could have a rouge DHCP server on the network as well
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 6

Expert Comment

by:ipajones
ID: 34231913
You do need to ensure that the DNS settings inherited by the clients via DHCP is correct as per dariusq's post.  That said assuming your Vista/Win7 clients use the same DHCP servers I think there might be something else going on here.

You said that these machines are laptops and I assume by that they'll all have wireless NICs.  I had some similar problems recently with exactly the symptoms you describe of logging in hanging at the "Apply computer settings" stage.

When I disabled the wireless NIC everything was fine.  This led me to think the problem seemed to be due to Wireless Adapters.  What fixed the problem for me was ensuring Windows Wireless is only set to “infrastructure networks” and not “ad-hoc”.

Unfortunately you might find this problem is with the client machines themselves.  Whilst it often is, it's not always DNS!

Incidentally you can do registry changes to multiple machines using login script commands etc.

Hope this helps.
--IJ
0
 
LVL 6

Expert Comment

by:coalnine
ID: 34231921
oops, didn't read all of your question.. sorry about that.. I am thinking along the same lines as dariusg on this..

Kenny
0
 

Author Comment

by:Bruce Skinner
ID: 34233656
dariusg,

The external DNS server being the secondary DNS server isn't the issue, I have assigned those settings are we're currently up and running for the short term. I need the clients to get the DNS through DHCP so nothing is manually assigned,

Also, just to note, all of the XP machines aren't laptops, only some of them. I'm just using laptops as an example because I can't have them being taken off site with static addresses assigned for obvious reasons.

Thanks for the suggestions, I shall try the wireless NIC settings and DHCP settings tomorrow morning when I get into work.

ipajones,

Same as above, I'll try your wireless NIC suggestions tomorrow. Thanks.

Also, I'm aware I can do the registry fixed through login scripts, but this isn't a viable fix. One day it was working and the next day is not, registry fixes for a problem like this is a bit temperamental in my opinion.
0
 
LVL 59

Expert Comment

by:Darius Ghassem
ID: 34234677
Either way you should never have external DNS servers in the TCP\IP settings of any server or client in a domain environment. Before proceeding you need to remove from DHCP.
0
 
LVL 1

Expert Comment

by:januismer
ID: 34238470
Check out this screenshot too of how the script applied.  Note that there is no percentage for the home directory
Screen-shot-2010-11-30-at-8.14.4.png
0
 
LVL 1

Expert Comment

by:januismer
ID: 34238475
Sorry... Posted to wrong thread above!
0
 
LVL 1

Expert Comment

by:vvramakrishna
ID: 34245939
Have you tried adjusting the network setting of the client to full duplex?
0
 

Accepted Solution

by:
Bruce Skinner earned 0 total points
ID: 34266328
I have resolved this problem myself. It turned out that the connection between Active Directory and DNS required more virtual memory than what was set. The drive in the server only had 1GB of free space so that's all the virtual memory was using, I moved the virtual memory to the D drive, increased it, restarted and all was fine.
0
 

Author Closing Comment

by:Bruce Skinner
ID: 34299303
I have resolved this problem myself. It turned out that the connection between Active Directory and DNS required more virtual memory than what was set. The drive in the server only had 1GB of free space so that's all the virtual memory was using, I moved the virtual memory to the D drive, increased it, restarted and all was fine.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
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…

747 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

11 Experts available now in Live!

Get 1:1 Help Now