How do I fix a permissions problem with MS Distributed File System?

Posted by charlesrandall on Super User See other posts from Super User or by charlesrandall
Published on 2010-05-13T13:35:21Z Indexed on 2010/05/13 13:44 UTC
Read the original article Hit count: 153

I have a computer that is new, Windows 7, that is supposed to have access to particular network resources on a Distributed File System. However, despite all permissions being set correctly, I have consistent trouble accessing them.

For instance, I'm supposed to be able to reach \company.org\main\subdir. All the permissions have been granted, only when I try to access it by name, it tells me I don't have permission to access \main.

This is where the fun starts. If I ping company.org, get the IP, replace company.org by the IP, I can then access \IP\main\subdir without any problems at all. However we have a ton of scripts and build tools that access the network resource by name.

My sysadmin has found that using MS's dfsutil.exe, we can fix it temporary using this sequence of commands:

C:\dfsutil.exe /pktinfo
C:\dfsutil.exe /PktFlush
C:\dfsutil.exe /SpcFlush
C:\dfsutil.exe /PurgeMupCache
C:\dfsutil.exe /pktinfo

After that, everything is great... until I reboot, or until some unspecified time later where suddenly I don't have access to \main\ anymore.

Hoping to find a more permanent solution than waiting for it to break and running a batch file.

© Super User or respective owner

Related posts about windows-7

Related posts about networking