Wednesday, September 28, 2011

Clearing DFS Cache

"Server cannot find network path of DFS name space"

Ever ran into that before on a Windows 2008 Server? That is a great error that tells you nothing. Love it. Thanks Microsoft. That great descriptive error from Microsoft means that the cache for the DFS name space is either pointing to the wrong location to is corrupt. Read on to learn how to fix this error....
So your cache is brok-ie no work-ie eh? Here is a quick little command that you can run from an elevated (right click and choose run as administrator) command prompt to "flush" the DFS cache on your local server:

dfsutil cache referral flush

So if you run this from your server right now, it will fail and you will be saying - "What happened???" I did like Bob told me to. That's because you haven't installed the tools that you need on the server to support this command. You need to install the "File Services Tools" on the server. Here's how:

Open Server Manager, under Add Feature, Remote Server Administration Tools (RSAT), Role Administration Tools, File Services Tools

Now close and reopen your elevated command prompt and paste the DFS command in again. Now it should work and clear your cache. No reboot needed.

Here is more information
2008 2003

No comments:

Post a Comment