Is there any way to check if a (UNC path) volume is a Windows DedupVolume or not?

Naveen Kedilaya 6 Reputation points
2022-04-06T13:19:34.873+00:00

I wanted to find out if a given volume has Data Deduplication enabled or not.


For a local volume this is straightforward using the WMI query:

select * from MSFT_DedupVolume where Volume='E:\\MountFolder\\DedupVolume'

But for a UNC path as volume name, the WMI query returns nothing (no error, just blank output).

select * from MSFT_DedupVolume where Volume='\\\\windowsMachine\\E$\\MountFolder\\DedupVolume'

In wmi-access-to-unc-paths it is mentioned that

WMI operations are not allowed to access network resources due to security restrictions in Windows.

Is there any other way to find out if a UNC path volume has Data Deduplication configured or not?

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,907 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,580 questions
Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,340 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.