330 votes19 comments · OneDrive on Windows » Desktop (Sync, Files On-Demand) · Flag idea as inappropriate… · Admin →
An error occurred while saving the commentRyo commented
attrib /d /s +s +h "OneDriveTemp"
is the appropriate command assuming you have important system files hidden in view settings
use an elevated command prompt and cd to c:\ before issuing the command