Share via

Autosaving as a six-digit number

Rojer Inglis 0 Reputation points
2026-03-03T18:35:00.0966667+00:00

Why are excel and word files autosaving as a six digit number to a file "tmp.driveupload"

Microsoft 365 and Office | Word | For home | Windows
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Stefan Blom 335.2K Reputation points MVP Volunteer Moderator
    2026-03-03T18:54:13.5866667+00:00

    Where are you storing these files? On a network folder? Or are you using OneDrive?

    Generally, Word creates several temporary files as you work with a document. Up until recently, the Microsoft site offered some documentation on how these files are created and used; however, they now seem to have retired that content.

    2 people found this answer helpful.

  2. Q&A Assist
    2026-03-03T18:35:16.3833333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Excel and Word use temporary files and random file names as part of their normal save and AutoSave mechanisms. The six‑digit (or similar random) numbers and the tmp.driveupload location indicate that the apps are writing to a temporary working area rather than directly to the final document name.

    For Excel:

    • When saving, Excel writes the entire workbook to a randomly named temporary file in the destination folder.
    • After the write completes, Excel deletes the original file and renames the temporary file to the real file name.
    • If this process is interrupted (for example, by antivirus, sync tools, or permission issues), the temporary file can remain visible with a random name instead of being renamed.

    For Word:

    • Word also saves to temporary files first, then deletes the previous version and renames the temporary file to the original name.
    • Temporary files may be created in the same folder as the document or in a temp directory, and can appear with random names while Word is working.
    • These temporary files act as a safety net for data integrity and to free memory.

    The tmp.driveupload folder or path is likely used by a sync or cloud‑storage component (for example, a drive upload or sync process) that stages uploads using temporary names. When Office saves, it writes to a temp file; the sync client then also stages that file in its own temp location. If the process completes normally, the file is renamed to the correct document name and the temp artifacts are removed. If it is interrupted, the numbered temp files can remain.

    To reduce visible temp/numbered files:

    1. Ensure stable connectivity and allow saves/uploads to complete before closing apps or shutting down.
    2. Check antivirus or other tools that may lock files during save, as they can disrupt the rename step.
    3. Verify that the account has full Modify and Delete permissions on the folders being used; if Excel or Word cannot delete or rename the temp file, the random‑named file will remain.
    4. If using cloud sync, confirm that the sync client is healthy and up to date.

    The presence of these six‑digit temp files is a side effect of how Office protects data during saves; they are normally transient and safe to ignore or delete once the real document is safely saved and closed.


    References:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.