Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows 10 Explorer displays wrong values for total size and free space for WebDAV drive

I am developing a WebDAV connection for a database based ECM system using the IT HIT WebDAV engine and .net 5.

I have mapped WebDAV to a network drive in explorer.

When I list all drives in explorer, the total size and free space of the WebDAV drive incorrectly shows the same values as the C drive.

The responses that the WebDAV server sends back to explorer (Microsoft-WebDAV-MiniRedir/10.0.19042) do not contain any information about total size or free space at all, as far as I have seen. Is it possible to send this data in the WebDAV response (are there any special properties for this)? Or is it possible to make the explorer show, if not the correct values, then rather no values at all?

like image 380
sawie Avatar asked Apr 28 '21 16:04

sawie


People also ask

Does Windows Explorer support WebDAV?

Connecting to your WebDAV directory can be accomplished through Microsoft's Windows Explorer. This mounts the WebDAV folder as a mapped drive and allows you to view, edit, and delete files from the remote web server from your computer.

Why is my Disk Size wrong on Windows 10?

And the size reported by some built-in utilities like Windows Explorer, CHKDSK or Disk Cleanup is also incorrect. This issue has been found in Windows 7, Windows 8.1 and Windows 10. Tip: Hidden files and folders could be taking up hard drive space since these files are associated with system applications.

How to fix hard drive free space showing wrong in Windows 10?

Right-click Windows Start Menu and select Disk Management to open it. Step 2. In the main interface of Disk management, select a target hard drive that shows the wrong free space and right-clicks it to choose Properties. Step 3. In the new window, scroll down to Tools tab and click on Check to continue.

How to fix Windows File Explorer not detecting large files?

Check through the results and see if you see any abnormally large files that Windows File Explorer has not discovered. When you manage to identify your culprits, right-click on the file and choose Delete (no way to undelete!) from the context menu. After the file has been deleted, restart your computer.

How much space does Windows 10 have on the hard drive?

Windows is not showing the drive as empty but in fact is using 7,757,221,888 bytes or 7.22 GB. The 1.81 values shown for total and free space are both rounded down. The free space is little more than 1.81 TB while the total space is closer to 1.82 TB. Rounded down they are both the same.


Video Answer


1 Answers

I have the same behavior with any WebDAV server including the one from IT Hit. The drive mounting on Windows is using the Microsoft Mini-redirector driver to mount the WebDAV file system. This driver always shows the size identical to the drive C:. Unfortunately, it does not request the available and free space from the server, even though the server properly reports the free and used space.

I guess one of the reasons for this behavior is that mini-redirector caches file content on the system drive and is probably limited by system drive size.

like image 115
monstermagnet13 Avatar answered Jan 03 '23 18:01

monstermagnet13