Remove file from KFM Desktop

Brass Contributor
We currently use OneDrive for Business and activated the Known Folder redirect.
One of the KFM is the 'desktop' folder.
KMF works great, no problem there but we got a problem removing a file from the KFM redirected desktop folder.
When i use cmd.exe and browse to c:\users\fat\onedrive - fatco\desktop
Then run the cmdlet del 'microsoft edge.lnk' nothing happens (probably access denied)
When i use powershell.exe and browse to c:\users\fat\onedrive - fatco\desktop
Then run the cmdlet remove-item 'microsoft edge.lnk' i also get an access denied - unauthorizedexception
When i go with cmd or powershell to c:\users\fat\onedrive - fatco\ and want to delete a file there it gets deleted.
Something must be preventing the delete with cmd or powershell cause when i right click the file and select delete it gets deleted.
Any idea why delete is blocked?
(PS> i also tried to delete the file under system contect but same error applies).
0 Replies