Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Incorrect Disk Free Space information for a DFS client share

View products that this article applies to.


The Disk Free Space information that is reported in Windows Explorer or in a command window on a Distributed File System (DFS) client for a DFS share is always the Disk Free Space of the drive that contains or hosts the DFS root.

↑ Back to the top


This problem occurs because of a limitation in the server message block (SMB) protocol. The only SMB packet that is available to obtain the Disk Free Space information for a volume is TRANS2_QUERY_FS_INFORMATION together with the subcommand SMB_QUERY_FS_SIZE_INFO. Unfortunately, this command uses the Tree ID from the tree connect to determine which volume to query. If you access a mount point through a share on another volume, the tree connect is to the share. Therefore, the Tree ID refers to the volume that has the share and not to the volume to which the mount points.

↑ Back to the top

More Information

The Disk Free Space information that you see in Windows Explorer or that you see by running a command-line command (for example, the DIR command ) on a domain-based DFS client is incorrect. You see disk information about the drive that hosts the SYSVOL share of the domain controller to which you are connected or of the disk that hosts the DFS root folder (that is, the disk that hosts the DFS links). Additionally, "Free space" and "Used Space" information may be displayed incorrectly in Windows Explorer. This problem occurs if you mapped a drive to a share that links to a mounted volume by using NTFS volume mount points or by using symbolic links.

↑ Back to the top


To display the actual free disk space on the destination DFS link folder, follow these steps:
  1. At a command prompt, type the following command, and then press Enter:
    DIR \\\DFSroot\Folder1\Folder2\Folder3
  2. Notice the bytes free summary line that shows the bytes information.

↑ Back to the top


For more information, click the following article number to view the article in the Microsoft Knowledge Base:

205524 How to create and manipulate NTFS junction points

↑ Back to the top

Keywords: kb, kbbillprodsweep, kbbug

↑ Back to the top

Article Info
Article ID : 177127
Revision : 1
Created on : 1/7/2017
Published on : 3/24/2014
Exists online : False
Views : 566