Move the OneDriveTemp folder
A hidden folder called 'OneDriveTemp' forces itself on the Root of the user's hard drive. Usually on (C:), but when OneDrive is moved to another drive manually the folder moves with it. Though always to the Root of the drive even if OneDrive's main folder is not.
This is really messy and seems utterly unnecessary. Why does OneDrive get this special attention rather than placing it in AppData/Local or ProgramData folders for example? Or simply inside OneDrive's main folder itself.
Worst of all, I spend a great deal of time keeping my data drive neat and organized. So you can imagine how i feel about a folder that doesn't belong on the root of that drive.
As a fairly advanced user of course i must keep 'hidden' folders visible (but do hide system folders). OneDrive must be on a separate data drive for me because i only have limited space on the SSD that i'm using for Windows.
Gustavo Bevilacqua Furlan commented
Agree with other users. The OneDrive temporary folder (OneDriveTemp) should be placed inside the OneDrive main folder, that one selected by user when signed to OneDrive account on the app, and not on the drive root. I have NTFS file restrictions permissions for other "normal" (standard, non-admin) users on my PC and i only allow modify permissions on the specific user folder, and OneDrive main folder is there, so, it can write to that. Otherwise, i deny access to those user for all other folders, including drive root, so, OneDriveTemp there will not get access for that user and temporary files will be written to system (c: -> SSD) drive, on userprofile\AppDataLocal\Temp. That's why is necessary to place OneDriveTemp folder on OneDrive main folder. Thanks.
I want to move it for space & performance reasons - not so much having to look at it...
Have the same problem. For this very reason I moved my One Drive folder inside of another folder so that these folders go with it. But they sit on the D drive and make a mess with my other folders . Other folders that gets created are $Recycle.bin, SystemVolumeInformation, msvcp.dll etc. Hope Microsoft can come up with a solution to this soon.
Same on OSX , absolutely ridiculous and takes quite a while to track down. I use a separate partition specifically named "local images of cloud data" to keep my backups light and this added 89gb in a hidden directory...finding it is 30 minutes of my life I will never get back
it would be so helpful if I could choose where to put that temp folder, not only fol file organizing but also for space saving. It could also be solved with a new Hidden folders system that can set priority level to a folder that is hidden.
I agree to it.
Agreed. The temp folder should be with other apps' temp files in the system temp folder. Irritating.
[Deleted User] commented
Tried the "attrib +S +H D:\OneDriveTemp" command but it only sticks for a while, then Windows remove the System attribute and the stupid folder becomes visible again!
This is driving me nuts, because like other people here I go to great lengths to keep my folders organized and clean...
Thanks to Ryo and Russ for the hack.
I wish there was such an option in the standard OneDrive settings.
ps ps. The other folders you mention (Gene) are only visible when you disable the option "Hide protected operating system files", which i do have enabled for obvious reasons. The OneDriveTemp folder is a regular 'hidden folder' that is not actually hidden for most people.
Gene, those are all on the system drive .. a lost cause indeed. The problem is that when moving OneDrive to another disk or partition, the OneDriveTemp folder is moved with it. One of the reasons many people prefer a separate partition or drive for their personal data in the first place is to keep things organized. Others who thrive on chaos notwithstanding.
ps. The NVIDIA folder contains only unpacked installation files, it can safely be deleted (after installation is finished and the computer rebooted that is). Don't know about AMD but it's probably the same.
It seems a little **** retentive to get out of joint because of the OneDriveTemp folder. Does the PerfLogs folder ruin your day? Or the Recovery folder? Or AMD or nVidia, if you have a graphics card. The MSOCache folder must be causing catatonic seizures.
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
I hide it :
attrib /s /h "OneDrive Temp"
Michael Kairys commented
Me too! Especially now that I've moved OneDrive to my data partition. I don't want to see that folder!
Friedrich Hanisch commented
This is the reason I don't use OneDrive.
the very same problem is KILLING ME I can't understand how in the **** they've hard coded its location....
at the same time, I have an idea, why not create a symbolic link that points to its location on another folder? I will try that and let you know of my results.
Same problem here! It really breaks organizing of root folders on different drives than C, where it would be acceptable due to many other system folders.