Forum Discussion

MarkPillay's avatar
MarkPillay
Copper Contributor
Jun 23, 2024

".tmp.driveupload"

I am having an issue where my word doc (set to autosave to OneDrive business desktop app) on my PC is suddenly saved in a ".tmp.driveupload" folder online under a different file name (random numbers), with autosave switched off. 

If I do not notice this happening, the change to the document is not saved under the expected folder and file name, resulting in no change made to the file I opened. 

The only workaround I've found is to "save a copy" and overwrite the file I opened in the original folder. This only works if I notice the sudden name change and file save in the tmp folder. If I don't, the changes are lost because the tmp file is deleted (to recycle bin) on exit and the tmp folder is not synced to my PC. I have to go online to the OneDrive business website, guess which file it may be, restore that from the OneDrive recycle bin, and hope it is the file I was looking for. The frequency of this happening means that there are numerous tmp files under pseudo file names to scour through. 

One-hour plus on the phone with MS Office subscription support is of no help.  

  • AlissonCruz's avatar
    AlissonCruz
    Copper Contributor

    Facing the exact same issue on my Personal Laptop for some weeks.

  • abs2310's avatar
    abs2310
    Copper Contributor

    Facing the exact same issue on my Personal Laptop. Now, I see the file name changed in top bar to a number then I manually use Save As option and save the file in my desired directory with the original file name.

     

    On my old Laptop, I never faced this issue but the new Laptop I purchased a month ago, I am facing this issue. Things if they help to troubleshoot, I also have Google Drive mapped to same folder. I'll try turning off Google Drive and see if that resolves the problem.

  • ljpede's avatar
    ljpede
    Copper Contributor

    Plus one on the exact same issue. I'm also syncing my OneDrive to my Google Drive. Could that possibly create a conflict on MSFT side? (New Lenovo laptop running Windows 11.)

  • DanR1580's avatar
    DanR1580
    Copper Contributor

    MarkPillay 

     

    I've chased this problem for a while now. Don't know if you ever got it resolved. The whole "reset/reinstall everything" is a waste of time, because the root cause is crappy handling of sync issues with Office and One Drive/ShitePoint. That's the technical explanation. 🙂 

     

    Don't suppose you figured out another fix? I just do "Save As" on the strangly numbered document, save it to the correct place, overwrite the version there, then sync starts working. 

    • MarkPillay's avatar
      MarkPillay
      Copper Contributor

      DanR1580 

       

      Unresolved, I also use the "save as" fix, and wait for MS to bring back ol Clippy, convinced he'll be more helpful than MS Support.

  • NikolinoDE's avatar
    NikolinoDE
    Gold Contributor

    MarkPillay 

    It appears to be related to the synchronization process where the autosave feature gets disrupted, leading to files being saved temporarily in a different location. Here are several steps you can take to troubleshoot and hopefully resolve this problem:

    1. Update OneDrive and Office Applications

    Ensure that both OneDrive for Business and your Office applications are up-to-date.

    • Update OneDrive:
      • Click the OneDrive icon in the system tray.
      • Go to Help & Settings > Settings > About and click Update OneDrive if an update is available.
    • Update Office Applications:
      • Open any Office application (e.g., Word).
      • Go to File > Account > Update Options > Update Now.

    2. Check OneDrive Sync Settings

    Make sure OneDrive is correctly set up to sync your files.

    • Open OneDrive Settings:
      • Click the OneDrive icon in the system tray.
      • Go to Help & Settings > Settings > Account.
      • Ensure your OneDrive account is properly linked and there are no sync issues.
    • Check Sync Folders:
      • Ensure the folders you expect to sync are selected.
      • Go to Help & Settings > Settings > Account > Choose folders and make sure the relevant folders are selected for syncing.

    3. Reset OneDrive

    Resetting OneDrive can often resolve sync issues.

    • Reset OneDrive:
      • Press Win + R to open the Run dialog.
      • Type %localappdata%\Microsoft\OneDrive\onedrive.exe /reset and press Enter.
      • Wait a few moments for OneDrive to reset. If it doesn’t restart automatically, you can manually start it by typing %localappdata%\Microsoft\OneDrive\onedrive.exe in the Run dialog.

    4. Check File Paths and Names

    Sometimes, issues can arise due to long file paths or special characters in file names.

    • Ensure that file paths are not excessively long.
    • Avoid using special characters in file names.

    5. Configure Autosave and File Collaboration Settings

    Make sure that Autosave is correctly configured and that file collaboration features are properly set.

    • Check Autosave:
      • Open the document in Word.
      • Ensure that the Autosave toggle in the upper-left corner is turned on.
    • Check File Collaboration Settings:
      • Go to File > Options > Save.
      • Ensure that AutoRecover and Autosave options are enabled.
      • Go to File > Options > Advanced and scroll down to the Save section to ensure collaboration options are properly set.

    6. Clear OneDrive Cache

    Clearing the OneDrive cache can sometimes resolve syncing and saving issues.

    • Navigate to the OneDrive cache directory: C:\Users\[Your Username]\AppData\Local\Microsoft\Office\16.0\OfficeFileCache.
    • Delete the contents of the OfficeFileCache folder. (Make sure to close all Office applications before doing this.)

    7. Check for Conflicting Applications

    Ensure that no other applications are interfering with OneDrive.

    • Disable any third-party antivirus or firewall temporarily to see if it resolves the issue.
    • Check if any backup software or other sync tools are conflicting with OneDrive.

    8. Re-link OneDrive Account

    Try unlinking and then re-linking your OneDrive account.

    • Unlink OneDrive:
      • Click the OneDrive icon in the system tray.
      • Go to Help & Settings > Settings > Account > Unlink this PC.
      • Follow the prompts to unlink.
    • Re-link OneDrive:
      • After unlinking, restart your computer.
      • Open OneDrive and sign in with your Microsoft account to re-link.By following these steps, you should be able to troubleshoot and potentially resolve the issue with OneDrive for Business and the ".tmp.driveupload" folder.

    The text and steps were edited with the help of AI.

     

    My answers are voluntary and without guarantee!

     

    Hope this will help you.

    Was the answer useful? Mark as best response and Like it!

    This will help all forum participants.

  • samchevalier's avatar
    samchevalier
    Copper Contributor

    I have a client with the same exact issue. I have tried to unlink the account and reset Onedrive.  I have also undo the backup and select the folders that he wants to save, but that client is losing hours of work as the temp file that is generated becomes orphaned and it will generate a new temp file. MarkPillay 

Resources