Windows 10 is sort of the elephant in the room here. M$ absolutely could use these methods to determine what copyrighted material you have stored locally. However it's not as easy to say for certain that you've done anything wrong. Cracking down on sharing through their platforms is the low-hanging fruit, scouring your hard drive for known pirated files comes later.