You set Word to not compress pictures in a document, but after saving to OneDrive and reopening, the images are compressed again. This happens because OneDrive and Word Online apply their own compression rules when syncing or editing the file in the cloud. This article explains why the setting resets and provides a permanent fix to keep your images at full resolution.
Key Takeaways: Stopping OneDrive From Overriding Your Picture Compression Settings
- File > Options > Advanced > Image Size and Quality > Do not compress image in file: This per-document setting is ignored when Word Online re-saves the file, causing the reset.
- Save the file in .docm or .doc format: Word Online cannot edit these formats, so it cannot change your compression setting.
- Use a local folder outside OneDrive for editing: Edit the document on your local drive, then copy the final version to OneDrive to avoid automatic recompression.
Why Word Picture Compression Resets After Saving to OneDrive
Word includes a per-document setting called Do not compress images in file located under File > Options > Advanced. When you enable this, Word stores images at their original resolution. However, when you save the document to OneDrive and it syncs, Word Online may open the file and re-save it. During this process, Word Online applies its own default compression, which overrides your local setting. The result is that the next time you open the file on your desktop, the images are compressed again, and the checkbox is cleared.
The root cause is that Word Online does not respect the local Do not compress images setting. It always compresses images to reduce storage and bandwidth. Additionally, if the file is shared and another user edits it in Word Online, the same reset occurs. The fix involves preventing Word Online from editing the file or locking the compression setting permanently.
Steps to Prevent Picture Compression From Resetting
Use one of the following methods to stop Word Online from overriding your picture compression setting. Each method works independently; choose the one that fits your workflow.
Method 1: Change the File Format to .docm or .doc
Word Online cannot edit files in the .docm (macro-enabled) or .doc (Word 97-2003) formats. When Word Online cannot edit the file, it cannot change the compression setting. This method is the simplest for most users.
- Open the document in Word on your desktop.
Make sure you have the document open locally, not from the OneDrive web interface. - Go to File > Save As.
Choose a location on your local drive first if the file is currently on OneDrive. - Change the file type.
In the Save as type dropdown, select Word Macro-Enabled Document (docm) or Word 97-2003 Document (doc). - Click Save.
Word will warn about features that might be lost. For most documents with only images, no functionality is lost. - Enable the compression setting again if needed.
Go to File > Options > Advanced. Scroll to Image Size and Quality. For this document, select Do not compress images in file. - Save the file to OneDrive.
Copy or move the .docm or .doc file back to your OneDrive folder. Word Online will display a message that the file cannot be edited online, but it will sync normally.
Method 2: Edit the Document Outside the OneDrive Folder
If you must keep the file in .docx format, edit it in a local folder that is not synced to OneDrive. After you finish editing and set the compression option, copy the final version to OneDrive.
- Create a local working folder.
Use a folder on your C: drive, such as C:\Work\Drafts, that is not inside OneDrive. - Move or copy the document to this folder.
Do not work directly from the OneDrive folder. - Set the compression option.
Open the document, go to File > Options > Advanced. Under Image Size and Quality, select Do not compress images in file for this document. - Save the document locally.
Press Ctrl+S to save the changes to the local copy. - Copy the final document to OneDrive.
After you have finished all edits, copy the file to your OneDrive folder. Do not open or edit the file in Word Online after this step.
Method 3: Use a Registry or Group Policy to Lock the Setting
For IT administrators or advanced users, you can enforce the Do not compress images setting for all documents using Group Policy or the Windows Registry. This prevents Word Online from resetting the option because the setting is locked at the application level.
- Open the Registry Editor.
Press Win+R, type regedit, and press Enter. Back up your registry before making changes. - Navigate to the Word policies key.
Go to HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Word\Options. If the key does not exist, create it. - Create a new DWORD value.
Right-click in the right pane, select New > DWORD (32-bit) Value. Name it DisableAutoCompressPictures. - Set the value to 1.
Double-click the new value, set the base to Hexadecimal, and enter 1. - Restart Word.
Close and reopen Word. The Do not compress images in file checkbox will be grayed out and set to enabled for all new documents.
If Word Still Resets the Compression After the Main Fix
Word Online Re-Saves the File When You Open It on Another Device
If you open the file from OneDrive on a different computer or mobile device, Word Online may open and re-save it. To avoid this, always open the file using the desktop version of Word on the second device, not the browser. If you must use the browser, instruct Word Online to open the file in the desktop app by clicking Open in Desktop App.
Another User Edits the File in Word Online
If you share the document with others and they edit it in Word Online, the compression setting resets. The only sure fix is to use the .docm or .doc format, which prevents online editing entirely. Alternatively, set the sharing permission to View only for users who do not need to edit.
The Setting Resets After a Software Update
A Word or Office update may change the default compression behavior. After an update, verify that your per-document setting or registry policy is still in place. Reapply the setting if necessary.
Word Desktop vs Word Online: Picture Compression Behavior
| Item | Word Desktop | Word Online |
|---|---|---|
| Respects Do not compress images setting | Yes | No |
| Default compression level | 220 ppi (configurable) | 150 ppi (fixed) |
| Can edit .docm files | Yes | No |
| Can edit .doc files | Yes | No |
| Applies compression on save | Only if setting allows | Always |
Word Desktop gives you full control over image compression. Word Online always compresses images regardless of the document setting. To keep images at full resolution, avoid editing the file in Word Online or change the file format to one that Word Online cannot edit.
You can now prevent Word from compressing your images even after saving to OneDrive. Start by converting the file to .docm or .doc format to block Word Online from editing it. If you prefer to keep the .docx format, edit the document in a local folder and copy only the final version to OneDrive. For advanced control, apply the registry key DisableAutoCompressPictures to lock the setting across all documents.