Friday, March 19, 2010

PC: slow login - DFS refferal to wrong DC -using dfsutil

After a re-IP two sites were experiencing slow logins.  Both sites had a "shared services" network where the DC was placed.  The shared services network is on a different VLAN than the user VLANs on the sites.

Start troubleshooting by logging into the local DC, going to Start\Run and typing \\full.domain.name.com\sysvol.  Once the sysvol window opens, right-click on any blank area and go to Properties/DFS.  The local DC should be set as the active referral ("Yes" next to the DC's name and a little tick on the name).  NOTE:  you can perform this check from any server or desktop on the site.

If the DFS referral is pointing to anything else than the local DC chances are there is a problem with Sites and Services; additionally a cleanup of the DFS cache on the DC might be necessary.
  • Make sure all the subnets at the location are in Sites and Services, INCLUDING the one the DC is in
  • Use dfsutil to clean up the DFS packets and cache
Full details of the dfsutil commands can be found HERE

On the DC run:
  • dfsutil /purgemupcache
  • dfsutil /pktflush
  • dfsutil /spcflush
  • dfsutil /pktinfo (shows which DC the DFS share is referring to)
  • dfsutil /spcinfo (shows the full path to the DFS share)
Typing "dfsutil" from the command prompt will get a list of commands.

Restarting after running these commands.

No comments: