Forum Discussion

alivedevil's avatar
alivedevil
Copper Contributor
Jan 21, 2021

Windows Runtime StorageLibraryChangeTracker not working

On two Windows 10 Enterprise Multi Session VMs on Azure I am not getting any result using StorageLibraryChangeTracker.ReadChangesAsync() - with latest 20H2 image.

On Windows 10 Pro and Windows 10 Enterprise this does work without any issues.

 

Why is a Windows Runtime API, available since ages, not working on Windows 10 Enterprise Multi Session? As a developer this does not make any sense.

 

Unzip the x64_debug.zip-file and run

Add-AppxPackage -Register -Path AppxManifest.xml

inside a PowerShell window. Run the now installed "alirgh"-App. Copy some files to the Documents-folder, observe that there is no output whatsoever. There should be a list of all changes being registered through StorageLibraryChangeReader printed. There is no indication that this should not work in the Microsoft documentation about this API:

* [https://docs.microsoft.com/uwp/api/windows.storage.storagelibrarychangetracker]

* [https://docs.microsoft.com/uwp/api/windows.storage.storagelibrarychangereader]

 

No RepliesBe the first to reply

Resources