Fix an Oversized OneDrive Window on Surface Pro
Question details
The user needs to make an oversized OneDrive window fit on a Surface Pro display.

- Product
- Microsoft OneDrive
- Device & OS
- Surface Pro; Windows version not provided
- Scenario
- Opening the OneDrive window on a Surface Pro display.
- Observed behavior
- The OneDrive window appears too large to fit on the display, and reinstalling OneDrive may not resolve the issue.
Close the OneDrive window and locate OneDrive.exe in %localappdata%\Microsoft\OneDrive. If you plan to change environment variables, record their names and values first so you can restore them if another app is affected.
Adjust OneDrive's High-DPI Compatibility Settings
Use Windows compatibility settings to change how OneDrive scales on the Surface Pro display.
Press Windows+R, enter %localappdata%\Microsoft\OneDrive, and select OK.
Right-click OneDrive.exe, select Properties, and open the Compatibility tab. Select Change high DPI settings.
Under High DPI scaling override, select Override high DPI scaling behavior and choose System from the Scaling performed by list. If needed, also enable the Program DPI option.
Select OK, then Apply. Quit OneDrive from its system tray icon if it is running, reopen it from the Start menu, and check the window size.

Remove Conflicting QT Environment Variables
Check for QT-related variables if changing OneDrive's DPI settings does not correct the window size.
Work With Office Files in WPS Office
WPS Office is a free, lightweight alternative for working with Office documents. Its familiar interface and format compatibility make it easy to move existing files into your workflow. It does not fix OneDrive window scaling.

Frequently Asked Questions
Where can I find OneDrive.exe to change its DPI settings?
Press Windows+R and open %localappdata%\Microsoft\OneDrive. Right-click OneDrive.exe, select Properties, and open the Compatibility tab. If the file is not there, find OneDrive in Task Manager and use Open file location.
Why does the OneDrive window look blurry after the scaling change?
Choosing System under High DPI scaling override can reduce sharpness. To undo it, open OneDrive.exe Properties, go to Compatibility > Change high DPI settings, and clear the override.
Should I delete every environment variable beginning with QT?
Not without checking what uses it. QT variables can affect other applications. Record each name and value, then remove only variables identified as unnecessary or potentially conflicting in the Environment Variables dialog.
Will resetting OneDrive fix the oversized window?
A reset is not guaranteed to fix the window size and may cause OneDrive to reevaluate files. Try the DPI compatibility settings and check relevant QT environment variables first.




