Solved

DFS root folder shown as empty from just one specific workstation

Posted on 2014-03-13
7
4,464 Views
Last Modified: 2014-03-23
Hey all,

Windows 7 workstation is unable to access files via network share if they are accessed via DFS namespace. DFS namespace is hosted on Windows Server 2008 R servers (multiple). Seems to be Workstation issue and not the server-side issue (pls. see below)

- Share can be accessed without any issues if direct link to a server share is used.
E.g. \\server01\share1 can be accessed, but its mapping to \\domain.com\dfsroot\share1 is not accessible, because if you would open \\domain.com\dfsroot it is empty


- Logged on with domain administrator account to the affected PC
No changes.

- Accessed \\domain.com\dfsroot with the same domain administrator account on ANOTHER PC
Got a list of shares, all is fine.

- Tried flushing all caches on affected PC
nbtstat -RR
ipconfig /flushdns
dfsutil /pktflush
dfsutil /spcflush
No changes.

- Tried rebooting the PC
No changes

- Tried running dfsutil /pktinfo
Got a correct entry + the right target share marked as ACTIVE

All ideas to troubleshoot this issue are welcome :)
0
Comment
Question by:thinkbot
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
7 Comments
 
LVL 6

Expert Comment

by:chlebi
ID: 39926783
Did you try to remove the PC from domain and join again?
0
 

Author Comment

by:thinkbot
ID: 39928767
Hi chlebi, thank you for an idea, haven't tried it before, only when you suggested.

This is how it went:

Removed the PC from domain and tried to join, got an error, never seen such before:

---------------------------
Computer Name/Domain Changes
---------------------------
Changing the Primary Domain DNS name of this computer to "" failed. The name will remain "sci.com".
The error was:
The specified server cannot perform the requested operation.
---------------------------
OK  
---------------------------

As suggested by one person here: http://social.technet.microsoft.com/Forums/windows/en-US/2b5a69ee-2aa1-4c04-817f-07b0cad1b005/changing-the-primary-domain-dns-name-of-this-computer-to-failed
I tried marking "Use this connection's DNS suffix in DNS registration". No luck with that.

I have checked that computer account was still present in AD. Removed the computer account, tried to rejoin (after making sure computer account is gone from all DCs which could be contacted). No luck.

Then I have returned the DNS suffix setting to what it was, changed primary DNS server to another one (which is also a DC), renamed the PC to a different name and successfully joined it to domain.

The primary problem of DFS shares not being accessible still remains though. I have tested with my domain admin account, and still the same thing, even \\domain.com\dfsroot is totally empty, no shares, just like before.

Any ideas?
0
 
LVL 6

Expert Comment

by:chlebi
ID: 39929022
Can you access the shares using \\dcname\dfs?
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 

Author Comment

by:thinkbot
ID: 39929138
All DCs (which actually also provide File Services + DFS namespace hosting and thus host the shares) have an empty share if accessed via \\dcname\dfsroot folder. I have tried all our DCs with DFS enabled (have 4, all in different sites).

All of them are accessible just fine via \\dcname\dfsroot folder (you get the complete list of links to shares) from any other PC besides the one which has this issue.

Is there a way to enable some kind of debug level logging on that PC to help pinpoint the issue?
0
 

Author Comment

by:thinkbot
ID: 39934275
I was wrong to say it affects one PC. The thing is that it affects the whole subnet in our data center where we have this "PC" (which is VM with a client OS on a server). It appears that  \\domain.com\dfsroot folder seems empty from all Windows servers in that subnet, as I think they all access the same DC which hosts this DFS namespace.

\\domain.com\dfsroot seems empty even on the very same server which is DC/DFS server, so apparently issue is on that server. DFSUtil /pktinfo run directly on that server seems to return healthy values.

Tried flushing DFS cache

dfsutil cache domain flush

No luck yet.

Any ideas?
0
 

Accepted Solution

by:
thinkbot earned 0 total points
ID: 39936720
Short story  -

It appears there was an issue with DFS Namespace service on one of the servers. Contents of <drive>:\DFSRoots\dfsroot1 folder was empty on that server. Restarted the service and contents reappeared. And everythning started to work just fine.

Long story -

The situation got difficult to troubleshoot because it was very weird that some of the servers (even production systems) which rely on DFS shares continued to operate normally on the same subnet/site from the same DFS/File server. The reason for this was cache. If some share was already in use, it was in cache and thus worked fine.

dfsutil cache domain flush helped to understand that cache was involved as after issuing this command ALL DFS shares stopped working, even those that worked before.
0
 

Author Closing Comment

by:thinkbot
ID: 39948414
This is a functional workaround - restarting service which serves the purpose. Excellent solution would be to pinpoint the reason why restart of the service was needed and what caused that.
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to install and use the NTBackup utility that comes with Windows Server.
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

690 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