Solved

DFS root folder shown as empty from just one specific workstation

Posted on 2014-03-13
7
4,363 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

739 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