Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SBS 2003 slow logon

Status
Not open for further replies.

kelarson

Technical User
Feb 3, 2003
3
I have a client that has SBS 2003. Startup takes extremely long, as does logon to the desktop. The problem is the DNS settings. The difficulty I am having is getting into the properties to change the DNS to point at itself like it should. Does anyone know of either a free tool or the proper registry keys to change all the necessary DNS settings on the server?


Kevin
 
So, is the preferred DNS pointing to an ISP?
You can try and run the following script to make the change:
Code:
On Error Resume Next

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colNetCards = objWMIService.ExecQuery _
    ("Select * From Win32_NetworkAdapterConfiguration Where IPEnabled = True")

For Each objNetCard in colNetCards
    arrDNSServers = Array("192.168.1.100", "192.168.1.200")
    objNetCard.SetDNSServerSearchOrder(arrDNSServers)
Next

Copy the code into notepad and save as DNS.vbs
Modify the arrDNSServers = Array("192.168.1.100", "192.168.1.200") - The first IP should be that of your DNS server. You don't have to add a second if you only have one DNS server.

Copy the DNS.vbs to the desktop of the server and double-click on it to run. Verfiy the order using IPCONFIG /All from a command prompt. Try to open Network properties.

I would not put the ISP DNS address on any of your internal machines, as they will never use it to authenticate on your domain. You can setup your DNS server to foward Internet requests to your ISP -or- you can use root-hints which are configured in your DNS server by default.

 
Best to ask SBS questions in the SBS forum. forum1584

I agree this is probably a DNS iussue.

DNS Settings

Set all static NIC TCP/IP properties to only list internal the SBS server IP.

In DHCP set the DNS setting to the SBS server IP.

In DNS, configure ISP DNS on the forwarders tab.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top