Hard-delete the contents of a folder shortcut when unmounted
Supported on: Supported Windows 10 0 TH 1
Registry
HKLM
SOFTWARE\Policies\Microsoft\OneDrive Value name: AddedFolderHardDeleteOnUnmount
Enabled: AddedFolderHardDeleteOnUnmount = 1
Disabled: AddedFolderHardDeleteOnUnmount = 0
Description
This setting determines the behavior of the Sync client when it encounters a request to unmount a folder shortcut (a folder added to OneDrive via "Add shortcut to OneDrive"). If you enable this setting, when an unmount of a folder shortcut is received, the Sync client will hard-delete all the contents of the folder. If you disable or do not configure this setting, Sync will by default move the contents of the unmounted folder to the recycle bin.