Slow log on to one server / network browsing
Slow log on to one server / network browsing
Author
Discussion

TheAngryDog

Original Poster:

13,326 posts

240 months

Thursday 12th April 2018
quotequote all
Bit of an odd one this. I have one server that when logging on takes a few seconds longer to go through the user profile service and applying settings screens. If you then log off, then log back on, it is quick. Leave it a while and it'll slow down again.

We do not use roaming profiles.

I have also found that the same server is slow to browse other servers via file explorer, i.e. \\server\share.

It is the only server that has this, and it doesn't matter which account I log in as.

I do not think it is a DNS issue.

The authenticating DC is a local server to this one.Tracert's are instant.  Pings are instant.

Any ideas where to look please?

WinstonWolf

72,863 posts

270 months

Thursday 12th April 2018
quotequote all
I'd be starting with dcdiag.

TheAngryDog

Original Poster:

13,326 posts

240 months

Thursday 12th April 2018
quotequote all
Any reason? The server isn't a DC and is authenticating against the same DC as other servers that do not have the issue.

I have run a DCDIAG from two of the DC's and all tests passed however.

xeny

5,560 posts

109 months

Thursday 12th April 2018
quotequote all
you've presumably looked in event viewer?

slower storage/different RAID controller cache settings? - if you log on again immediately, your profile data is still in RAM - it won't be after the machine has been idle for a while.

geeks

11,946 posts

170 months

Thursday 12th April 2018
quotequote all
Assuming MS. Server 08/12/16?

budgie smuggler

6,088 posts

190 months

Thursday 12th April 2018
quotequote all
Capture the connection process in Wireshark to the slow server, and to another working server, then look at the timestamps in the traces and see where the slowdown occurs.

I know you said it's not DNS, but if you have not already tried, it is also worth trying to connect by IP address as well as the name. We had a fault with the reverse DNS entry for a particular system which caused similar delays.

TheAngryDog

Original Poster:

13,326 posts

240 months

Thursday 12th April 2018
quotequote all
xeny said:
you've presumably looked in event viewer?

slower storage/different RAID controller cache settings? - if you log on again immediately, your profile data is still in RAM - it won't be after the machine has been idle for a while.
Its a cloud server, so all hardware is identical to the others.

Yes, logging on immediately after is fine.

geeks said:
Assuming MS. Server 08/12/16?
2012 R2.

budgie smuggler said:
Capture the connection process in Wireshark to the slow server, and to another working server, then look at the timestamps in the traces and see where the slowdown occurs.

I know you said it's not DNS, but if you have not already tried, it is also worth trying to connect by IP address as well as the name. We had a fault with the reverse DNS entry for a particular system which caused similar delays.
I'll WireShark a try.

browsing via IP is still slow. What is also odd is that if I browse to the slow server from another one, it is instant.

buggalugs

9,300 posts

268 months

Thursday 12th April 2018
quotequote all


Also, event viewer, what does it say?

rgw2012

606 posts

174 months

Thursday 12th April 2018
quotequote all
If it isn't DNS then it's worth checking the speed and duplex of the Ethernet connection - if the switch port and network card are auto negotiating it is worth fixing them to full/1000 or whatever they should be working at in your configuration. Had so many problems like this in the past that have been resolved by doing this.

TheAngryDog

Original Poster:

13,326 posts

240 months

Friday 13th April 2018
quotequote all
It is a cloud server so I have no access to the physical network kit. The connection is 10gbps, same as the other machines.

Event viewer is referencing a DNS Client Event warning, but so are servers that do not have this issue.

I do not understand why browsing to this server is fine, but browsing from isn't. And why it takes an age to log on. If the server wasn't in production I would just rebuild it, but it'll be difficult to do that now.

TonyRPH

13,558 posts

199 months

Friday 13th April 2018
quotequote all
It's been a while since I had problems like this (going back to server 2003) and usually it was Computer Browser related.

You could start by trying to determine which of the servers is the master browser for the domain workgroup.

However I'm not even sure if this is still relevant with Server 2012 - but looking at my server, all the nbtstat commands work the same as they did in Server 2003, so I see no reason why not....

In the TCP/IP settings for the network adapter, check if the WINS settings are the same as the servers that work ok.

Are all the servers on the same IP subnet? Ar ethey in the same Workgroup / Domain?

All I could find was this from Microsoft but it refers to Server 2003

https://support.microsoft.com/en-us/help/323388/ho...

I may be way off the mark here, but your symptoms point to what I have seen in the past.

EDIT:

Also check in event viewer for computer browser events - the process as to which machine becomes a master browser works by election and this does sometimes fail.

Addtionally - if you have a Linux Samba box on the same LAN - this too can cause issues, because the Linux box by default tries to become ma master browser, but it doesn't know about the other servers on your LAN so it cannot maintain an up to date browse list.

ETA: I found this little utility which saves messing about with nbtstat commands and tells you what the master browser is.

Output looks like this:



Edited by TonyRPH on Friday 13th April 13:18

TheAngryDog

Original Poster:

13,326 posts

240 months

Friday 13th April 2018
quotequote all
Thanks Tony.

Oddly, the server that it thinks is the master browser actually has the reg key set to false.

The servers in cloud, net view doesn't work. System error 6118 occurred. I will need to look into this when I get time.

TonyRPH

13,558 posts

199 months

Friday 13th April 2018
quotequote all
6118 means The list of servers for this workgroup is not currently available which suggests a browser issue.

Could also be firewall related.


TheAngryDog

Original Poster:

13,326 posts

240 months

Tuesday 17th April 2018
quotequote all
TCP ports 135, 137, 139 and 445 are open on the firewalls.

UDP ports 135, 137, 138, 139 and 445 are open on the firewalls.

DNS replicates, AD replicates. Stumped.

WinstonWolf

72,863 posts

270 months

Tuesday 17th April 2018
quotequote all
https://social.technet.microsoft.com/Forums/azure/...

Focus your troubleshooting on the 6118.

TonyRPH

13,558 posts

199 months

Tuesday 17th April 2018
quotequote all
From my rusty memory, in a typical all Windows network, the Computer Browser service will stop on all computers but the master browser (the one that wins the election).

You could check and see if the service is indeed stopped on all the other servers, as I suspect you'll find it has indeed stopped on maybe all but two computers.

You may have to set a key in the registry to force all but one server to be a master browser only, and this may well solve the issue.

In the past I've had to resort to all sorts of cunning tricks to make this work, not least of all setting up LMHOSTS files (pita) but you can usually get away with disabling the Computer Browser service on all but one server.

Following a reboot of all servers, it will take several minutes to establish a browse list (assuming DNS etc. is 100%) but that generally has worked for me.

Another thing I've done is to set the DNS domain name on all machines - "Advances System Settings / Computer Name" click "*More" and set the "Primary DNS suffix of this computer"

  • the full window title for "More" is "DNS Suffix and Netbios Computer Name"
Additionally, in "Network Adaptor" / "Advanced TCP/IP Settings" you can also try setting "DNS Suffix for this connection" and "Append these DNS suffixes" - all / any of which have solved this issue for me in the past.

Perhaps before trying all this, try a TCP/IP reset on the offending machine first?

Finally - if you don't need IPV6 - try turning that off as well.



TheAngryDog

Original Poster:

13,326 posts

240 months

Friday 20th April 2018
quotequote all
WinstonWolf said:
https://social.technet.microsoft.com/Forums/azure/...

Focus your troubleshooting on the 6118.
None of that seems to apply as I have been through that and no issues that I can see. Thanks for your reply though.

TonyRPH said:
From my rusty memory, in a typical all Windows network, the Computer Browser service will stop on all computers but the master browser (the one that wins the election).

TonyRPH said:
You could check and see if the service is indeed stopped on all the other servers, as I suspect you'll find it has indeed stopped on maybe all but two computers.
It was running on a server that the Cloud servers cannot get a ping reply from. It is a Windows 2003 server that I have removed the Default Gateway from. It is our old file server that I am trying to get decommissioned but there is a legacy piece of software on it that we cannot move. I have disabled the browser service on this machine and enabled it on our current file sever. I have made the registry changes, but I suspect I will need to reboot them for the changes to take affect. I removed the DG because I didn't want it open to the internet anymore.

TonyRPH said:
You may have to set a key in the registry to force all but one server to be a master browser only, and this may well solve the issue.

In the past I've had to resort to all sorts of cunning tricks to make this work, not least of all setting up LMHOSTS files (pita) but you can usually get away with disabling the Computer Browser service on all but one server.

Following a reboot of all servers, it will take several minutes to establish a browse list (assuming DNS etc. is 100%) but that generally has worked for me.
TonyRPH said:
Another thing I've done is to set the DNS domain name on all machines - "Advances System Settings / Computer Name" click "*More" and set the "Primary DNS suffix of this computer"

  • the full window title for "More" is "DNS Suffix and Netbios Computer Name"
It is already in there - it gets applied by DHCP Scope options.

TonyRPH said:
Additionally, in "Network Adaptor" / "Advanced TCP/IP Settings" you can also try setting "DNS Suffix for this connection" and "Append these DNS suffixes" - all / any of which have solved this issue for me in the past.
It is already in there - it gets applied by DHCP Scope options.

TonyRPH said:
Perhaps before trying all this, try a TCP/IP reset on the offending machine first?
Done a few times to no avail.

TonyRPH said:
Finally - if you don't need IPV6 - try turning that off as well.
This is turned off on the offending server. I am going to reboot the two servers mentioned above and see how it pans out.