Anonymous
My feedback
-
73 votes3 comments · OneDrive on Windows » Desktop (Sync, Files On-Demand) · Flag idea as inappropriate… · Admin →
Anonymous supported this idea ·
-
180 votes11 comments · OneDrive on Windows » Desktop (Sync, Files On-Demand) · Flag idea as inappropriate… · Admin →
Anonymous supported this idea ·
This is a very annoying issue. I ended up writing a batch file that runs at user logon to work around until Microsoft can implement a fix:
@echo off
if exist "%onedrive%\Desktop" del /f /q "%onedrive%\Desktop\*- Copy.website"
if exist "%onedrive%\Desktop" del /f /q "%onedrive%\Desktop\*- Copy (*).website"
if exist "%onedrive%\Desktop" del /f /q "%onedrive%\Desktop\*- Copy.lnk"
if exist "%onedrive%\Desktop" del /f /q "%onedrive%\Desktop\*- Copy (*).lnk"
if exist "%onedrive%\Desktop\Desktop (1).ini" del /f /q "%onedrive%\Desktop\Desktop (*.ini"